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',
];
cmd.add('zenity'
' --title=${LocaleKeys.info_apply_scheme_success.tr()}'
' --title="${LocaleKeys.info_apply_scheme_success.tr()}"'
' --question'
' --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()}'
' --cancel-label=${LocaleKeys.str_cancel.tr()}'
' && ${deepinLogoutCommands.join(' ')}');

@ -166,7 +166,7 @@
},
"apply_scheme": {
"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",
"commands_copied_title": "Commands copied!",
"commands_copied_description": "Please open the terminal and paste the command to execute"

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

Loading…
Cancel
Save