瀏覽代碼

Add or correct missing i18n keys

'save_account_to_publish' isn't used anywhere, so I assume that
'save_account_to_publish_website' is supposed to use that.
Sam Atkins 1 年之前
父節點
當前提交
29b3b4ecba
共有 2 個文件被更改,包括 5 次插入1 次删除
  1. 1 1
      src/UI/UIWindow.js
  2. 4 0
      src/i18n/translations/en.js

+ 1 - 1
src/UI/UIWindow.js

@@ -1956,7 +1956,7 @@ async function UIWindow(options) {
                                     if (window.user.is_temp &&
                                         !await UIWindowSaveAccount({
                                             send_confirmation_code: true,
-                                            message: i18n('save_account_to_publish_website'),
+                                            message: i18n('save_account_to_publish'),
                                             window_options: {
                                                 backdrop: true,
                                                 close_on_backdrop_click: false,

+ 4 - 0
src/i18n/translations/en.js

@@ -34,6 +34,7 @@ const en = {
         cancel: 'Cancel',
         center: 'Center',
         change_desktop_background: 'Change desktop background…',
+        change_email: "Change Email",
         change_language: "Change Language",
         change_password: "Change Password",
         change_username: "Change Username",
@@ -47,6 +48,7 @@ const en = {
         confirm_open_apps_log_out: 'You have open apps. Are you sure you want to log out?',
         confirm_new_password: "Confirm New Password",
         confirm_delete_user: "Are you sure you want to delete your account? All your files and data will be permanently deleted. This action cannot be undone.",
+        confirm_delete_user_title: "Delete Account?",
         contact_us: "Contact Us",
         contain: 'Contain',
         continue: "Continue",
@@ -86,6 +88,7 @@ const en = {
         feedback: "Feedback",
         feedback_c2a: "Please use the form below to send us your feedback, comments, and bug reports.",
         feedback_sent_confirmation: "Thank you for contacting us. If you have an email associated with your account, you will hear back from us as soon as possible.",
+        fit: "Fit",
         forgot_pass_c2a: "Forgot password?",
         from: "From",
         general: "General",
@@ -94,6 +97,7 @@ const en = {
         hide_all_windows: "Hide All Windows",
         html_document: 'HTML document',
         image: 'Image',
+        incorrect_password: "Incorrect password",
         invite_link: "Invite Link",
         item: 'item',
         items_in_trash_cannot_be_renamed: `This item can't be renamed because it's in the trash. To rename this item, first drag it out of the Trash.`,