feat: UI text internationalization in MD editor.

This commit is contained in:
2022-01-20 18:35:28 +08:00
parent a2553e1419
commit cacb14cac4
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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(' ')}');
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -166,7 +166,7 @@
},
"apply_scheme": {
"success": "设置成功",
"description": "手势方案需注销后才能生效,注销前注意保存工作进度",
"description": "手势方案需注销后才能生效,注销前注意保存工作进度~",
"logout_immediately": "立即注销",
"commands_copied_title": "命令复制成功!",
"commands_copied_description": "请打开终端后粘贴命令并执行"