Translate the secret-key field aria-label in onboarding

The nsec reveal input in the onboarding 'Save your key' step carried a
hardcoded English aria-label. Route it through
onboarding.secure.secretKeyAriaLabel and translate across all locales.

This was the last untranslated user-facing string in the verifier
create-account flow.
This commit is contained in:
lemon
2026-06-14 17:26:01 -07:00
parent d1e579dda3
commit 5375466e15
17 changed files with 33 additions and 17 deletions
+1 -1
View File
@@ -717,7 +717,7 @@ function SecureStep({ nsec, showKey, onToggleShow, onContinue }: SecureStepProps
value={nsec}
readOnly
className="pr-10 font-mono text-sm"
aria-label="Secret key"
aria-label={t('onboarding.secure.secretKeyAriaLabel')}
/>
<Button
type="button"
+2 -1
View File
@@ -128,7 +128,8 @@
"permanenceBody": "لا إعادة تعيين، ولا خطّ دعم، ولا استعادة عبر البريد الإلكتروني. احفظه قبل المتابعة.",
"button": "تنزيل ومتابعة",
"downloadFailedTitle": "فشل التنزيل",
"downloadFailedDescription": "تعذّر تنزيل ملف المفتاح. يرجى نسخه يدويًّا."
"downloadFailedDescription": "تعذّر تنزيل ملف المفتاح. يرجى نسخه يدويًّا.",
"secretKeyAriaLabel": "المفتاح السري"
},
"profile": {
"title": "اجعله ملفك",
+2 -1
View File
@@ -138,7 +138,8 @@
"permanenceBody": "No reset, no support line, no email recovery. Save it before continuing.",
"button": "Download & continue",
"downloadFailedTitle": "Download failed",
"downloadFailedDescription": "Could not download the key file. Please copy it manually."
"downloadFailedDescription": "Could not download the key file. Please copy it manually.",
"secretKeyAriaLabel": "Secret key"
},
"profile": {
"title": "Make it yours",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "Sin restablecimiento, sin soporte, sin recuperación por correo. Guárdala antes de continuar.",
"button": "Descargar y continuar",
"downloadFailedTitle": "Error al descargar",
"downloadFailedDescription": "No se pudo descargar el archivo de la clave. Por favor, cópiala manualmente."
"downloadFailedDescription": "No se pudo descargar el archivo de la clave. Por favor, cópiala manualmente.",
"secretKeyAriaLabel": "Clave secreta"
},
"profile": {
"title": "Hazlo tuyo",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "نه بازنشانی، نه پشتیبانی، نه بازیابی از طریق ایمیل. پیش از ادامه آن را ذخیره کنید.",
"button": "دانلود و ادامه",
"downloadFailedTitle": "دانلود ناموفق بود",
"downloadFailedDescription": "فایل کلید دانلود نشد. لطفاً آن را به‌صورت دستی کپی کنید."
"downloadFailedDescription": "فایل کلید دانلود نشد. لطفاً آن را به‌صورت دستی کپی کنید.",
"secretKeyAriaLabel": "کلید مخفی"
},
"profile": {
"title": "آن را از آن خود کنید",
+2 -1
View File
@@ -131,7 +131,8 @@
"permanenceBody": "Aucune réinitialisation, aucun service d'assistance, aucune récupération par e-mail. Enregistrez-la avant de continuer.",
"button": "Télécharger et continuer",
"downloadFailedTitle": "Échec du téléchargement",
"downloadFailedDescription": "Impossible de télécharger le fichier de clé. Veuillez le copier manuellement."
"downloadFailedDescription": "Impossible de télécharger le fichier de clé. Veuillez le copier manuellement.",
"secretKeyAriaLabel": "Clé secrète"
},
"profile": {
"title": "Personnalisez-le",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "न रीसेट, न सपोर्ट लाइन, न ईमेल से रिकवरी। आगे बढ़ने से पहले इसे सहेज लें।",
"button": "डाउनलोड करें और आगे बढ़ें",
"downloadFailedTitle": "डाउनलोड विफल",
"downloadFailedDescription": "चाबी की फ़ाइल डाउनलोड नहीं हो सकी। कृपया इसे मैन्युअली कॉपी करें।"
"downloadFailedDescription": "चाबी की फ़ाइल डाउनलोड नहीं हो सकी। कृपया इसे मैन्युअली कॉपी करें।",
"secretKeyAriaLabel": "गुप्त कुंजी"
},
"profile": {
"title": "इसे अपना बनाएँ",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "Tidak ada reset, tidak ada saluran dukungan, tidak ada pemulihan lewat email. Simpan sebelum melanjutkan.",
"button": "Unduh & lanjutkan",
"downloadFailedTitle": "Unduh gagal",
"downloadFailedDescription": "Tidak dapat mengunduh berkas kunci. Silakan salin secara manual."
"downloadFailedDescription": "Tidak dapat mengunduh berkas kunci. Silakan salin secara manual.",
"secretKeyAriaLabel": "Kunci rahasia"
},
"profile": {
"title": "Jadikan milik Anda",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "គ្មានការកំណត់ឡើងវិញ គ្មានបណ្តាញជំនួយ គ្មានការស្តារតាមអ៊ីមែលឡើយ។ សូមរក្សាទុកវាមុនពេលបន្ត។",
"button": "ទាញយក និងបន្ត",
"downloadFailedTitle": "ការទាញយកបរាជ័យ",
"downloadFailedDescription": "មិនអាចទាញយកឯកសារកូនសោបានទេ។ សូមចម្លងវាដោយដៃ។"
"downloadFailedDescription": "មិនអាចទាញយកឯកសារកូនសោបានទេ។ សូមចម្លងវាដោយដៃ។",
"secretKeyAriaLabel": "សោសម្ងាត់"
},
"profile": {
"title": "ធ្វើឱ្យវាក្លាយជារបស់អ្នក",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "نه بیا تنظیمول، نه د مرستې کرښه، نه د بریښنالیک له لارې بیرته راګرځول. د دوام له مخه یې وساتئ.",
"button": "ډاونلوډ او دوام",
"downloadFailedTitle": "ډاونلوډ پاتې راغی",
"downloadFailedDescription": "د کلي فایل ډاونلوډ نه شو. مهرباني وکړئ په لاسي ډول یې کاپي کړئ."
"downloadFailedDescription": "د کلي فایل ډاونلوډ نه شو. مهرباني وکړئ په لاسي ډول یې کاپي کړئ.",
"secretKeyAriaLabel": "پټ کیلي"
},
"profile": {
"title": "خپل یې کړئ",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "Sem redefinição, sem suporte, sem recuperação por e-mail. Salve-a antes de continuar.",
"button": "Baixar e continuar",
"downloadFailedTitle": "Falha no download",
"downloadFailedDescription": "Não foi possível baixar o arquivo da chave. Por favor, copie-a manualmente."
"downloadFailedDescription": "Não foi possível baixar o arquivo da chave. Por favor, copie-a manualmente.",
"secretKeyAriaLabel": "Chave secreta"
},
"profile": {
"title": "Deixe do seu jeito",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "Нет сброса, нет службы поддержки, нет восстановления по email. Сохраните его, прежде чем продолжить.",
"button": "Скачать и продолжить",
"downloadFailedTitle": "Не удалось скачать",
"downloadFailedDescription": "Не удалось скачать файл ключа. Пожалуйста, скопируйте его вручную."
"downloadFailedDescription": "Не удалось скачать файл ключа. Пожалуйста, скопируйте его вручную.",
"secretKeyAriaLabel": "Секретный ключ"
},
"profile": {
"title": "Сделайте его своим",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "Hapana kuireseta, hapana nhare yerubatsiro, hapana kudzoswa neemail. Ichengete usati waenderera mberi.",
"button": "Daunirodha & enderera mberi",
"downloadFailedTitle": "Kudaunirodha kwakundikana",
"downloadFailedDescription": "Hatina kukwanisa kudaunirodha faira rekiyi. Ndapota ikope nemaoko."
"downloadFailedDescription": "Hatina kukwanisa kudaunirodha faira rekiyi. Ndapota ikope nemaoko.",
"secretKeyAriaLabel": "Kiyi yakavanzika"
},
"profile": {
"title": "Ita seyako",
+2 -1
View File
@@ -131,7 +131,8 @@
"permanenceBody": "Hakuna kuweka upya, hakuna huduma ya msaada, hakuna urejeshaji kwa barua pepe. Uhifadhi kabla ya kuendelea.",
"button": "Pakua na uendelee",
"downloadFailedTitle": "Upakuaji umeshindikana",
"downloadFailedDescription": "Haikuweza kupakua faili la ufunguo. Tafadhali inakili mwenyewe."
"downloadFailedDescription": "Haikuweza kupakua faili la ufunguo. Tafadhali inakili mwenyewe.",
"secretKeyAriaLabel": "Ufunguo wa siri"
},
"profile": {
"title": "Uifanye yako",
+2 -1
View File
@@ -131,7 +131,8 @@
"permanenceBody": "Sıfırlama yok, destek hattı yok, e-posta kurtarma yok. Devam etmeden önce kaydedin.",
"button": "İndir ve devam et",
"downloadFailedTitle": "İndirme başarısız",
"downloadFailedDescription": "Anahtar dosyası indirilemedi. Lütfen elle kopyalayın."
"downloadFailedDescription": "Anahtar dosyası indirilemedi. Lütfen elle kopyalayın.",
"secretKeyAriaLabel": "Gizli anahtar"
},
"profile": {
"title": "Profilinizi kişiselleştirin",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "沒有重設、沒有客服、也無法透過電子郵件找回。請先妥善保存,再繼續下一步。",
"button": "下載並繼續",
"downloadFailedTitle": "下載失敗",
"downloadFailedDescription": "無法下載金鑰檔案。請手動複製。"
"downloadFailedDescription": "無法下載金鑰檔案。請手動複製。",
"secretKeyAriaLabel": "私鑰"
},
"profile": {
"title": "打造你的個人資料",
+2 -1
View File
@@ -132,7 +132,8 @@
"permanenceBody": "没有重置、没有客服热线,也无法通过邮箱恢复。请先保存好,再继续。",
"button": "下载并继续",
"downloadFailedTitle": "下载失败",
"downloadFailedDescription": "无法下载密钥文件。请手动复制保存。"
"downloadFailedDescription": "无法下载密钥文件。请手动复制保存。",
"secretKeyAriaLabel": "私钥"
},
"profile": {
"title": "打造属于你的个人资料",