+ );
+}
diff --git a/components/settings/account-archive-settings.tsx b/components/settings/account-archive-settings.tsx
index 15195db31..c1c33b660 100644
--- a/components/settings/account-archive-settings.tsx
+++ b/components/settings/account-archive-settings.tsx
@@ -14,6 +14,24 @@ import { SettingsSection } from './settings-section';
const KNOWN_ERRORS = ['mismatch', 'password_length', 'unlock_failed', 'owner_signin_required', 'https_required'];
+type BackupT = ReturnType;
+
+/** The text for a failed save, restore or delete. */
+export function archiveErrorText(t: BackupT, err: unknown): string {
+ const code = err instanceof Error ? err.message : '';
+ return t(`errors.${KNOWN_ERRORS.includes(code) ? code : 'storage_failed'}`);
+}
+
+/** What a restore did, in one status line. */
+export function restoreSummary(t: BackupT, result: Awaited>): string {
+ return [
+ t(result.waiting ? 'restored' : 'restored_signed_in', result),
+ result.signedIn ? t('signed_in', { count: result.signedIn }) : '',
+ result.signInFailed ? t('sign_in_failed', { count: result.signInFailed }) : '',
+ result.skipped ? t('skipped', { count: result.skipped }) : '',
+ ].join(' ').trim();
+}
+
/** Save this browser's account list, encrypted, under the active account; restore it on another device. */
export function AccountArchiveSettings() {
const t = useTranslations('settings.account.backup');
@@ -53,10 +71,7 @@ export function AccountArchiveSettings() {
open(null);
setMessage({ error: false, text });
}
- catch (err) {
- const code = err instanceof Error ? err.message : '';
- setMessage({ error: true, text: t(`errors.${KNOWN_ERRORS.includes(code) ? code : 'storage_failed'}`) });
- } finally { setBusy(false); }
+ catch (err) { setMessage({ error: true, text: archiveErrorText(t, err) }); } finally { setBusy(false); }
};
const save = () => run(async () => {
@@ -70,13 +85,7 @@ export function AccountArchiveSettings() {
const restore = () => run(async () => {
const envelope = await fetchArchive(owner);
if (!envelope) { setSaved(false); throw new Error('storage_failed'); }
- const result = await restoreArchive(await decryptArchive(owner, envelope, password), rememberMeEnabled);
- return [
- t(result.waiting ? 'restored' : 'restored_signed_in', result),
- result.signedIn ? t('signed_in', { count: result.signedIn }) : '',
- result.signInFailed ? t('sign_in_failed', { count: result.signInFailed }) : '',
- result.skipped ? t('skipped', { count: result.skipped }) : '',
- ].join(' ').trim();
+ return restoreSummary(t, await restoreArchive(await decryptArchive(owner, envelope, password), rememberMeEnabled));
});
const remove = () => {
if (!window.confirm(t('delete_confirm'))) return;
diff --git a/locales/ar/common.json b/locales/ar/common.json
index 9e71b7d94..4eba447ef 100644
--- a/locales/ar/common.json
+++ b/locales/ar/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/ca/common.json b/locales/ca/common.json
index ea9fe96ff..aea828c12 100644
--- a/locales/ca/common.json
+++ b/locales/ca/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/cs/common.json b/locales/cs/common.json
index df339741b..438bbbd77 100644
--- a/locales/cs/common.json
+++ b/locales/cs/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/da/common.json b/locales/da/common.json
index 00fe3b0f9..9105ecac8 100644
--- a/locales/da/common.json
+++ b/locales/da/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/de/common.json b/locales/de/common.json
index 3fe99327e..184557675 100644
--- a/locales/de/common.json
+++ b/locales/de/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Bei {count, plural, one {# Konto} other {# Konten}} mit dem gespeicherten Passwort angemeldet.",
"sign_in_failed": "{count, plural, one {# gespeichertes Passwort wurde} other {# gespeicherte Passwörter wurden}} abgelehnt: Melden Sie sich bei diesen Konten über die Kontoliste an.",
"deleted": "Gespeicherte Liste gelöscht.",
+ "prompt_title": "Weitere Konten wiederherstellen?",
+ "prompt_description": "Für {account} ist eine Kontenliste gespeichert. Gib das Backup-Passwort ein, um die Konten in diesem Browser hinzuzufügen, oder mach es später in den Einstellungen.",
+ "prompt_not_now": "Nicht jetzt",
+ "prompt_done": "Fertig",
"errors": {
"mismatch": "Die Passwörter stimmen nicht überein.",
"password_length": "Verwenden Sie mindestens 10 Zeichen.",
diff --git a/locales/en/common.json b/locales/en/common.json
index b9d547a9c..69f8632a7 100644
--- a/locales/en/common.json
+++ b/locales/en/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/es/common.json b/locales/es/common.json
index 305b43674..93852fa54 100644
--- a/locales/es/common.json
+++ b/locales/es/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Sesión iniciada en {count, plural, one {# cuenta} other {# cuentas}} con la contraseña guardada.",
"sign_in_failed": "{count, plural, one {# contraseña guardada fue rechazada} other {# contraseñas guardadas fueron rechazadas}}: inicia sesión en esas cuentas desde la lista de cuentas.",
"deleted": "Lista guardada eliminada.",
+ "prompt_title": "¿Restaurar tus otras cuentas?",
+ "prompt_description": "Hay una lista de cuentas guardada para {account}. Introduce la contraseña de la copia para añadirlas a este navegador, o hazlo más tarde desde Ajustes.",
+ "prompt_not_now": "Ahora no",
+ "prompt_done": "Listo",
"errors": {
"mismatch": "Las contraseñas no coinciden.",
"password_length": "Usa al menos 10 caracteres.",
diff --git a/locales/et/common.json b/locales/et/common.json
index a8cb1e362..ee08f7f40 100644
--- a/locales/et/common.json
+++ b/locales/et/common.json
@@ -1762,6 +1762,10 @@
"signed_in": "Salvestatud parooliga logiti sisse {count, plural, one {# kontosse} other {# kontosse}}.",
"sign_in_failed": "{count, plural, one {# salvestatud parool lükati tagasi} other {# salvestatud parooli lükati tagasi}}: logi neisse kontodesse kontode nimekirjast sisse.",
"deleted": "Salvestatud nimekiri kustutatud.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "Paroolid ei kattu.",
"password_length": "Kasuta vähemalt 10 märki.",
diff --git a/locales/fa/common.json b/locales/fa/common.json
index 15f0843c5..073d78a33 100644
--- a/locales/fa/common.json
+++ b/locales/fa/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/fr/common.json b/locales/fr/common.json
index 0bd1ee8b6..18fa76142 100644
--- a/locales/fr/common.json
+++ b/locales/fr/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Connecté à {count, plural, one {# compte} other {# comptes}} avec le mot de passe enregistré.",
"sign_in_failed": "{count, plural, one {# mot de passe enregistré a été refusé} other {# mots de passe enregistrés ont été refusés}} : connectez-vous à ces comptes depuis la liste des comptes.",
"deleted": "Liste enregistrée supprimée.",
+ "prompt_title": "Restaurer vos autres comptes ?",
+ "prompt_description": "Une liste de comptes est enregistrée pour {account}. Saisissez le mot de passe de la sauvegarde pour les ajouter à ce navigateur, ou faites-le plus tard dans les Paramètres.",
+ "prompt_not_now": "Plus tard",
+ "prompt_done": "Terminé",
"errors": {
"mismatch": "Les mots de passe ne correspondent pas.",
"password_length": "Utilisez au moins 10 caractères.",
diff --git a/locales/he/common.json b/locales/he/common.json
index f7323b901..8046eeade 100644
--- a/locales/he/common.json
+++ b/locales/he/common.json
@@ -1739,6 +1739,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/hu/common.json b/locales/hu/common.json
index aa004a92e..80da31b97 100644
--- a/locales/hu/common.json
+++ b/locales/hu/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/it/common.json b/locales/it/common.json
index 528d5f530..38d1b9074 100644
--- a/locales/it/common.json
+++ b/locales/it/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Accesso fatto a {count, plural, one {# account} other {# account}} con la password salvata.",
"sign_in_failed": "{count, plural, one {# password salvata è stata rifiutata} other {# password salvate sono state rifiutate}}: accedi a quegli account dall'elenco account.",
"deleted": "Elenco salvato eliminato.",
+ "prompt_title": "Ripristinare gli altri account?",
+ "prompt_description": "Per {account} è salvato un elenco di account. Inserisci la password del backup per aggiungerli a questo browser, oppure fallo più tardi dalle Impostazioni.",
+ "prompt_not_now": "Non ora",
+ "prompt_done": "Fatto",
"errors": {
"mismatch": "Le password non coincidono.",
"password_length": "Usa almeno 10 caratteri.",
diff --git a/locales/ja/common.json b/locales/ja/common.json
index 0d90ce2aa..6fc41dbb7 100644
--- a/locales/ja/common.json
+++ b/locales/ja/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/ko/common.json b/locales/ko/common.json
index 2f9f59c95..5f44db81f 100644
--- a/locales/ko/common.json
+++ b/locales/ko/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/lv/common.json b/locales/lv/common.json
index 8784a9859..82795ceef 100644
--- a/locales/lv/common.json
+++ b/locales/lv/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/mn/common.json b/locales/mn/common.json
index 9bd741777..31b8b9a98 100644
--- a/locales/mn/common.json
+++ b/locales/mn/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/nb/common.json b/locales/nb/common.json
index a5800c956..51bf271a8 100644
--- a/locales/nb/common.json
+++ b/locales/nb/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/nl/common.json b/locales/nl/common.json
index a48711b70..b5566c650 100644
--- a/locales/nl/common.json
+++ b/locales/nl/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/pl/common.json b/locales/pl/common.json
index 296afebe8..5d6512899 100644
--- a/locales/pl/common.json
+++ b/locales/pl/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/pt/common.json b/locales/pt/common.json
index d624dcf1f..f9220ba25 100644
--- a/locales/pt/common.json
+++ b/locales/pt/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/ro/common.json b/locales/ro/common.json
index e3390e866..9bef3509f 100644
--- a/locales/ro/common.json
+++ b/locales/ro/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/ru/common.json b/locales/ru/common.json
index 1fa117545..5755edfbb 100644
--- a/locales/ru/common.json
+++ b/locales/ru/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/sk/common.json b/locales/sk/common.json
index 090c74190..f46c7c87c 100644
--- a/locales/sk/common.json
+++ b/locales/sk/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/tr/common.json b/locales/tr/common.json
index b669457e3..31a527d69 100644
--- a/locales/tr/common.json
+++ b/locales/tr/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/uk/common.json b/locales/uk/common.json
index 02bc6fffe..898f6e7ba 100644
--- a/locales/uk/common.json
+++ b/locales/uk/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/zh-TW/common.json b/locales/zh-TW/common.json
index 865e600b2..992040bfc 100644
--- a/locales/zh-TW/common.json
+++ b/locales/zh-TW/common.json
@@ -1777,6 +1777,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",
diff --git a/locales/zh/common.json b/locales/zh/common.json
index fc53f5be2..d055db660 100644
--- a/locales/zh/common.json
+++ b/locales/zh/common.json
@@ -1774,6 +1774,10 @@
"signed_in": "Signed in to {count, plural, one {# account} other {# accounts}} with the saved password.",
"sign_in_failed": "{count, plural, one {# saved password was} other {# saved passwords were}} refused: sign in to those accounts from the account list.",
"deleted": "Saved list deleted.",
+ "prompt_title": "Restore your other accounts?",
+ "prompt_description": "A list of accounts is saved for {account}. Enter its backup password to add them to this browser, or do it later from Settings.",
+ "prompt_not_now": "Not now",
+ "prompt_done": "Done",
"errors": {
"mismatch": "The passwords do not match.",
"password_length": "Use at least 10 characters.",