chore: 更新国际化翻译及 UI 组件优化

This commit is contained in:
zl-q
2026-03-30 09:07:30 +08:00
parent 0f3175e303
commit 60318b7aaa
28 changed files with 1360 additions and 66 deletions
+16 -1
View File
@@ -68,6 +68,7 @@
"homeStopRequested": "Stop requested",
"homeNoValidSpeech": "No valid speech detected. Please move closer to the microphone and retry.",
"agentStageRouting": "Analyzing intent",
"agentStageRequesting": "Requesting server",
"agentStageExecution": "Executing task",
"agentStageMemory": "Loading memory",
"agentStageProcessing": "Processing task",
@@ -159,7 +160,14 @@
}
},
"uiSchemaActionFallback": "Action",
"uiSchemaStatusInfo": "Info",
"uiSchemaStatusSuccess": "Completed",
"uiSchemaStatusWarning": "Warning",
"uiSchemaStatusError": "Failed",
"uiSchemaStatusPending": "In progress",
"uiSchemaActionNotImplemented": "This action is not available yet",
"uiSchemaUrlInvalid": "Invalid URL",
"uiSchemaUrlOpenFailed": "Unable to open URL",
"uiSchemaNavigationInvalidParams": "Invalid navigation params",
"uiSchemaNavigationInvalidPath": "Invalid navigation path",
"notificationSnoozeMinutes": "{minutes} min",
@@ -771,5 +779,12 @@
"title": {}
}
},
"messagesCalendarCardDeletedWithoutTitle": "Calendar event deleted"
"messagesCalendarCardDeletedWithoutTitle": "Calendar event deleted",
"calendarDetailSubscribers": "Subscribers ({count})",
"@calendarDetailSubscribers": {
"placeholders": {
"count": {"type": "int"}
}
},
"calendarOwnerBadge": "Owner"
}
+60
View File
@@ -464,6 +464,12 @@ abstract class AppLocalizations {
/// **'意图识别中'**
String get agentStageRouting;
/// No description provided for @agentStageRequesting.
///
/// In zh, this message translates to:
/// **'网络请求中'**
String get agentStageRequesting;
/// No description provided for @agentStageExecution.
///
/// In zh, this message translates to:
@@ -836,12 +842,54 @@ abstract class AppLocalizations {
/// **'操作'**
String get uiSchemaActionFallback;
/// No description provided for @uiSchemaStatusInfo.
///
/// In zh, this message translates to:
/// **'提示'**
String get uiSchemaStatusInfo;
/// No description provided for @uiSchemaStatusSuccess.
///
/// In zh, this message translates to:
/// **'已完成'**
String get uiSchemaStatusSuccess;
/// No description provided for @uiSchemaStatusWarning.
///
/// In zh, this message translates to:
/// **'提醒'**
String get uiSchemaStatusWarning;
/// No description provided for @uiSchemaStatusError.
///
/// In zh, this message translates to:
/// **'失败'**
String get uiSchemaStatusError;
/// No description provided for @uiSchemaStatusPending.
///
/// In zh, this message translates to:
/// **'进行中'**
String get uiSchemaStatusPending;
/// No description provided for @uiSchemaActionNotImplemented.
///
/// In zh, this message translates to:
/// **'该操作暂未接入'**
String get uiSchemaActionNotImplemented;
/// No description provided for @uiSchemaUrlInvalid.
///
/// In zh, this message translates to:
/// **'链接无效'**
String get uiSchemaUrlInvalid;
/// No description provided for @uiSchemaUrlOpenFailed.
///
/// In zh, this message translates to:
/// **'无法打开链接'**
String get uiSchemaUrlOpenFailed;
/// No description provided for @uiSchemaNavigationInvalidParams.
///
/// In zh, this message translates to:
@@ -3408,6 +3456,18 @@ abstract class AppLocalizations {
/// In zh, this message translates to:
/// **'日历事件已删除'**
String get messagesCalendarCardDeletedWithoutTitle;
/// No description provided for @calendarDetailSubscribers.
///
/// In zh, this message translates to:
/// **'已订阅 ({count}人)'**
String calendarDetailSubscribers(int count);
/// No description provided for @calendarOwnerBadge.
///
/// In zh, this message translates to:
/// **'所有者'**
String get calendarOwnerBadge;
}
class _AppLocalizationsDelegate
+32
View File
@@ -209,6 +209,9 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get agentStageRouting => 'Analyzing intent';
@override
String get agentStageRequesting => 'Requesting server';
@override
String get agentStageExecution => 'Executing task';
@@ -411,9 +414,30 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get uiSchemaActionFallback => 'Action';
@override
String get uiSchemaStatusInfo => 'Info';
@override
String get uiSchemaStatusSuccess => 'Completed';
@override
String get uiSchemaStatusWarning => 'Warning';
@override
String get uiSchemaStatusError => 'Failed';
@override
String get uiSchemaStatusPending => 'In progress';
@override
String get uiSchemaActionNotImplemented => 'This action is not available yet';
@override
String get uiSchemaUrlInvalid => 'Invalid URL';
@override
String get uiSchemaUrlOpenFailed => 'Unable to open URL';
@override
String get uiSchemaNavigationInvalidParams => 'Invalid navigation params';
@@ -1837,4 +1861,12 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get messagesCalendarCardDeletedWithoutTitle =>
'Calendar event deleted';
@override
String calendarDetailSubscribers(int count) {
return 'Subscribers ($count)';
}
@override
String get calendarOwnerBadge => 'Owner';
}
+32
View File
@@ -198,6 +198,9 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get agentStageRouting => '意图识别中';
@override
String get agentStageRequesting => '网络请求中';
@override
String get agentStageExecution => '任务执行中';
@@ -397,9 +400,30 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get uiSchemaActionFallback => '操作';
@override
String get uiSchemaStatusInfo => '提示';
@override
String get uiSchemaStatusSuccess => '已完成';
@override
String get uiSchemaStatusWarning => '提醒';
@override
String get uiSchemaStatusError => '失败';
@override
String get uiSchemaStatusPending => '进行中';
@override
String get uiSchemaActionNotImplemented => '该操作暂未接入';
@override
String get uiSchemaUrlInvalid => '链接无效';
@override
String get uiSchemaUrlOpenFailed => '无法打开链接';
@override
String get uiSchemaNavigationInvalidParams => '导航参数无效';
@@ -1790,4 +1814,12 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get messagesCalendarCardDeletedWithoutTitle => '日历事件已删除';
@override
String calendarDetailSubscribers(int count) {
return '已订阅 ($count人)';
}
@override
String get calendarOwnerBadge => '所有者';
}
+16 -1
View File
@@ -68,6 +68,7 @@
"homeStopRequested": "已请求停止",
"homeNoValidSpeech": "未识别到有效语音,请靠近麦克风并连续说话后重试",
"agentStageRouting": "意图识别中",
"agentStageRequesting": "网络请求中",
"agentStageExecution": "任务执行中",
"agentStageMemory": "记忆提取中",
"agentStageProcessing": "任务处理中",
@@ -159,7 +160,14 @@
}
},
"uiSchemaActionFallback": "操作",
"uiSchemaStatusInfo": "提示",
"uiSchemaStatusSuccess": "已完成",
"uiSchemaStatusWarning": "提醒",
"uiSchemaStatusError": "失败",
"uiSchemaStatusPending": "进行中",
"uiSchemaActionNotImplemented": "该操作暂未接入",
"uiSchemaUrlInvalid": "链接无效",
"uiSchemaUrlOpenFailed": "无法打开链接",
"uiSchemaNavigationInvalidParams": "导航参数无效",
"uiSchemaNavigationInvalidPath": "导航路径无效",
"notificationSnoozeMinutes": "{minutes} 分钟",
@@ -771,5 +779,12 @@
"title": {}
}
},
"messagesCalendarCardDeletedWithoutTitle": "日历事件已删除"
"messagesCalendarCardDeletedWithoutTitle": "日历事件已删除",
"calendarDetailSubscribers": "已订阅 ({count}人)",
"@calendarDetailSubscribers": {
"placeholders": {
"count": {"type": "int"}
}
},
"calendarOwnerBadge": "所有者"
}