Browse Source

docs(translations): 更新en_us和zh_hk语言文件,添加缺失的翻译项并修正部分翻译

newdev_shunjiawei
lxm 9 months ago
parent
commit
6d37f01806
  1. 35
      lib/core/translations/language/en_us.dart
  2. 867
      lib/core/translations/language/zh_hk.dart

35
lib/core/translations/language/en_us.dart

@ -989,6 +989,12 @@ const Map<String, String> enUS = {
'smsPermissionDetailDesc': 'SMS functionality requires SMS permission', 'smsPermissionDetailDesc': 'SMS functionality requires SMS permission',
'alarmPermissionDetailDesc': 'alarmPermissionDetailDesc':
'This permission is required to set exact alarms and ensure reminders trigger on time', 'This permission is required to set exact alarms and ensure reminders trigger on time',
'calendarWritePermissionDetailDesc':
'Creating calendar events requires calendar write permission',
'calendarFullAccessPermissionDetailDesc':
'Managing calendar events requires full calendar permission',
'locationPermissionDetailDesc':
'Getting location information requires location permission',
'contactsPermissionDesc': 'Used for accessing contact information', 'contactsPermissionDesc': 'Used for accessing contact information',
'contactsPermissionDetailDesc': 'contactsPermissionDetailDesc':
'Phone call and SMS functionality requires contacts permission to select contacts', 'Phone call and SMS functionality requires contacts permission to select contacts',
@ -1005,12 +1011,6 @@ const Map<String, String> enUS = {
'notificationPermissionDesc': 'Used for sending notification messages', 'notificationPermissionDesc': 'Used for sending notification messages',
'notificationPermissionDetailDesc': 'notificationPermissionDetailDesc':
'App needs notification permission to send you important alerts and messages', 'App needs notification permission to send you important alerts and messages',
'calendarWritePermissionDetailDesc':
'Creating calendar events requires calendar write permission',
'calendarFullAccessPermissionDetailDesc':
'Managing calendar events requires full calendar permission',
'locationPermissionDetailDesc':
'Getting location information requires location permission',
'appNeedsPermissionForFullFunction': 'appNeedsPermissionForFullFunction':
'App needs this permission to provide full functionality', 'App needs this permission to provide full functionality',
'permanentDenialText': 'permanentDenialText':
@ -1030,6 +1030,8 @@ const Map<String, String> enUS = {
'Bluetooth scan permission has been permanently denied, please go to settings to enable it manually.', 'Bluetooth scan permission has been permanently denied, please go to settings to enable it manually.',
'bluetoothConnectPermanentDenial': 'bluetoothConnectPermanentDenial':
'Bluetooth connect permission has been permanently denied, please go to settings to enable it manually.', 'Bluetooth connect permission has been permanently denied, please go to settings to enable it manually.',
'locationPermanentDenial':
'Location permission has been permanently denied, please go to settings to enable it manually.',
'notificationPermission': 'Notification', 'notificationPermission': 'Notification',
'locationPermission': 'Location', 'locationPermission': 'Location',
'notificationPermissionExplanation': 'notificationPermissionExplanation':
@ -1196,21 +1198,20 @@ const Map<String, String> enUS = {
// 翻译主页 (translation_view.dart) // 翻译主页 (translation_view.dart)
"translationHistory": "Translation History", "translationHistory": "Translation History",
"historyRecords": "History Records",
"enableRecording": "Enable Recording", "enableRecording": "Enable Recording",
"viewAudioFiles": "View Audio Files", "viewAudioFiles": "View Audio Files",
"headsetUser": "Headset User", "headsetUser": "Headset User",
"phoneUser": "Phone User", "phoneUser": "Phone User",
"selectSourceLanguage": "Select Source Language", "selectSourceLanguage": "Select Source Language",
"selectTargetLanguage": "Select Target Language", "selectTargetLanguage": "Select Target Language",
"me": "Me", //我 "me": "Me",
"counterPart": "Counterpart", //对方 "counterPart": "Counterpart",
"bluetoothCallStateError": "bluetoothCallStateError":
"Please make sure the Bluetooth headset is connected to the phone and in a call state", //请确保蓝牙耳机已连接到手机并处于通话状态 "Please make sure the Bluetooth headset is connected to the phone and in a call state",
// 通用对话按钮与选项(用于统一语言选择弹窗等) // 通用对话按钮与选项(用于统一语言选择弹窗等)
// 翻译键代表的中文文本内容:取消/确认/自动检测 // 以下翻译键的中文文本内容如注释所示
"autoDetect": "Auto Detect", "autoDetect": "Auto Detect", // 自动检测
// Text translation & language detection // Text translation & language detection
"languageDetectionFailed": "Language detection failed", "languageDetectionFailed": "Language detection failed",
"translationFailed": "Translation failed", "translationFailed": "Translation failed",
@ -1219,6 +1220,7 @@ const Map<String, String> enUS = {
// 翻译历史页 // 翻译历史页
"noTranslationHistory": "No translation history", "noTranslationHistory": "No translation history",
"historyRecords": "History Records",
"clearResults": "Clear Results", "clearResults": "Clear Results",
"clearHistory": "Clear History", "clearHistory": "Clear History",
"clearHistoryConfirm": "clearHistoryConfirm":
@ -1429,9 +1431,12 @@ const Map<String, String> enUS = {
"retryConnection": "Retry Connection", "retryConnection": "Retry Connection",
"ota_updateNow": "Update Now", "ota_updateNow": "Update Now",
"otaVersionInfoFailed": "Failed to get version info. Please try again later.", "otaVersionInfoFailed": "Failed to get version info. Please try again later.",
"otaDeviceInfoUnavailable": "Unable to get device info. Please check the connection and retry.", "otaDeviceInfoUnavailable":
"otaProductInfoUnavailable": "Unable to identify the device. Please reconnect and retry.", "Unable to get device info. Please check the connection and retry.",
"otaFirmwareVersionInvalid": "Firmware version is abnormal. Please reconnect and retry.", "otaProductInfoUnavailable":
"Unable to identify the device. Please reconnect and retry.",
"otaFirmwareVersionInvalid":
"Firmware version is abnormal. Please reconnect and retry.",
"keepConnectedDontClose": "keepConnectedDontClose":
"Please keep device connected, do not close the app", "Please keep device connected, do not close the app",
"doNotDisconnect": "Do not disconnect", "doNotDisconnect": "Do not disconnect",

867
lib/core/translations/language/zh_hk.dart

File diff suppressed because it is too large
Loading…
Cancel
Save