feat: UI text internationalization in MD editor.

dev
DebuggerX 3 years ago
parent a2553e1419
commit cacb14cac4

@ -20,10 +20,10 @@ class SchemeApplyUtil implements SchemeApplyUtilStub {
'EOF', 'EOF',
]; ];
cmd.add('zenity' cmd.add('zenity'
' --title=${LocaleKeys.info_apply_scheme_success.tr()}' ' --title="${LocaleKeys.info_apply_scheme_success.tr()}"'
' --question' ' --question'
' --no-wrap' ' --no-wrap'
' --text=${LocaleKeys.info_apply_scheme_description.tr()}' ' --text="${LocaleKeys.info_apply_scheme_description.tr()}"'
' --ok-label=${LocaleKeys.info_apply_scheme_logout_immediately.tr()}' ' --ok-label=${LocaleKeys.info_apply_scheme_logout_immediately.tr()}'
' --cancel-label=${LocaleKeys.str_cancel.tr()}' ' --cancel-label=${LocaleKeys.str_cancel.tr()}'
' && ${deepinLogoutCommands.join(' ')}'); ' && ${deepinLogoutCommands.join(' ')}');

@ -166,7 +166,7 @@
}, },
"apply_scheme": { "apply_scheme": {
"success": "Apply success", "success": "Apply success",
"description": "The gesture scheme will take effect after logout, pay attention to the save work data", "description": "The gesture scheme will take effect after logout, pay attention to the save work data~",
"logout_immediately": "Logout", "logout_immediately": "Logout",
"commands_copied_title": "Commands copied!", "commands_copied_title": "Commands copied!",
"commands_copied_description": "Please open the terminal and paste the command to execute" "commands_copied_description": "Please open the terminal and paste the command to execute"

@ -166,7 +166,7 @@
}, },
"apply_scheme": { "apply_scheme": {
"success": "设置成功", "success": "设置成功",
"description": "手势方案需注销后才能生效,注销前注意保存工作进度", "description": "手势方案需注销后才能生效,注销前注意保存工作进度~",
"logout_immediately": "立即注销", "logout_immediately": "立即注销",
"commands_copied_title": "命令复制成功!", "commands_copied_title": "命令复制成功!",
"commands_copied_description": "请打开终端后粘贴命令并执行" "commands_copied_description": "请打开终端后粘贴命令并执行"

Loading…
Cancel
Save