From 2d38569b38e710b3f5f7e657ebfa63cc83a17a0d Mon Sep 17 00:00:00 2001 From: Natsumi Date: Sun, 20 Aug 2023 18:40:13 +1200 Subject: [PATCH] Localization lint --- html/src/app.js | 2 +- html/src/localization/strings/en.json | 4 ++-- html/src/localization/strings/fr.json | 2 +- html/src/localization/strings/ja.json | 2 +- html/src/localization/strings/vi.json | 12 ++++++------ html/src/localization/strings/zh_CN.json | 2 +- html/src/localization/strings/zh_TW.json | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index df4b0012..e256c562 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -7134,7 +7134,7 @@ speechSynthesis.getVoices(); this.twoFactorAuthDialogVisible = true; this.$prompt($t('prompt.otp.description'), $t('prompt.otp.header'), { distinguishCancelAndClose: true, - cancelButtonText: $t('prompt.otp.use_otp'), + cancelButtonText: $t('prompt.otp.use_totp'), confirmButtonText: $t('prompt.otp.verify'), inputPlaceholder: $t('prompt.otp.input_placeholder'), inputPattern: /^[a-z0-9]{4}-[a-z0-9]{4}$/, diff --git a/html/src/localization/strings/en.json b/html/src/localization/strings/en.json index 73b2c948..82e3e729 100644 --- a/html/src/localization/strings/en.json +++ b/html/src/localization/strings/en.json @@ -1195,10 +1195,10 @@ "input_placeholder": "Code", "input_error": "Invalid Code" }, - "use_totp": { + "otp": { "header": "Two-factor Authentication", "description": "Enter one of your saved recovery codes", - "use_otp": "Use TOTP", + "use_totp": "Use TOTP", "verify": "Verify", "input_placeholder": "Code", "input_error": "Invalid Code" diff --git a/html/src/localization/strings/fr.json b/html/src/localization/strings/fr.json index 2a85d531..ea2c2a64 100644 --- a/html/src/localization/strings/fr.json +++ b/html/src/localization/strings/fr.json @@ -1164,7 +1164,7 @@ "otp": { "header": "Authentification à double facteur", "description": "Saisissez l'un des codes de récupération que vous avez enregistrés", - "use_otp": "Utiliser un mot de passe à usage unique basé sur le temps (TOTP)", + "use_totp": "Utiliser un mot de passe à usage unique basé sur le temps (TOTP)", "verify": "Vérifier", "input_placeholder": "Code", "input_error": "Code incorrect" diff --git a/html/src/localization/strings/ja.json b/html/src/localization/strings/ja.json index 4870b7f9..3f362c8d 100644 --- a/html/src/localization/strings/ja.json +++ b/html/src/localization/strings/ja.json @@ -1190,7 +1190,7 @@ "otp": { "header": "2段階認証", "description": "保存したリカバリーコードのどれか一つを入力してください。", - "use_otp": "TOTPを使う", + "use_totp": "TOTPを使う", "verify": "認証", "input_placeholder": "コード", "input_error": "無効なコードです。" diff --git a/html/src/localization/strings/vi.json b/html/src/localization/strings/vi.json index 98660faf..149429ea 100644 --- a/html/src/localization/strings/vi.json +++ b/html/src/localization/strings/vi.json @@ -145,7 +145,7 @@ "export_friend_list": "Xuất dữ liệu danh sách bạn bè", "export_own_avatars": "Xuất dữ liệu avatar cá nhân", "discord_names": "Tên Discord", - "export_notes": "Xuất dữ liệu ghi chú", + "export_notes": "Xuất dữ liệu ghi chú" }, "game_info": { "header": "Thông tin trò chơi", @@ -556,7 +556,7 @@ "edit_bio": "Bio", "report_hacking": "Báo cáo Hack", "unfriend": "Bỏ bạn", - "logout": "Đang xuất", + "logout": "Đang xuất" }, "info": { "header": "Thông tin", @@ -742,7 +742,7 @@ "version": "Phiên bản", "platform": "Nền tảng", "memo": "Ghi nhớ", - "memo_placeholder": "Bấm để tạo ghi nhớ", + "memo_placeholder": "Bấm để tạo ghi nhớ" }, "json": { "header": "JSON", @@ -812,7 +812,7 @@ "sorting": { "user_id": "User ID (Tăng dần)", "joined_at_asc": "Joined At (Tăng dần)", - "joined_at_desc": "Joined At (Giảm dần)", + "joined_at_desc": "Joined At (Giảm dần)" }, "filter": "Lọc:", "filters": { @@ -839,7 +839,7 @@ "header": "Mời", "select_placeholder": "Chọn bạn bè", "invite_with_message": "Mời với tin nhắn", - "invite": "Mời", + "invite": "Mời" }, "social_status": { "header": "Social Status", @@ -1198,7 +1198,7 @@ "otp": { "header": "Xác thực hai bước (TfA)", "description": "Nhập mã xác thực từ mã đã phục hồi của bạn", - "use_otp": "Sử dụng OTP", + "use_totp": "Sử dụng OTP", "verify": "Xác thực", "input_placeholder": "Mã", "input_error": "Sai mã" diff --git a/html/src/localization/strings/zh_CN.json b/html/src/localization/strings/zh_CN.json index 8a48a035..3786897b 100644 --- a/html/src/localization/strings/zh_CN.json +++ b/html/src/localization/strings/zh_CN.json @@ -1156,7 +1156,7 @@ "header": "双重认证", "description": "输入你保存的其中一个备用验证码", "cancel": "取消", - "use_otp": "使用验证码", + "use_totp": "使用验证码", "verify": "验证", "input_placeholder": "备用验证码", "input_error": "无效的验证码" diff --git a/html/src/localization/strings/zh_TW.json b/html/src/localization/strings/zh_TW.json index e009f54c..6b37f916 100644 --- a/html/src/localization/strings/zh_TW.json +++ b/html/src/localization/strings/zh_TW.json @@ -1141,7 +1141,7 @@ "otp": { "header": "雙重認證", "description": "輸入你儲存的其中一個備份驗證碼", - "use_otp": "使用驗證碼", + "use_totp": "使用驗證碼", "verify": "驗證", "input_placeholder": "備份驗證碼", "input_error": "無效的代碼"