Skip to content

Commit 8adc39b

Browse files
authored
fix(ui_auth, ui_localizations): add invalid verification SMS code error label (#102)
1 parent 88c31a3 commit 8adc39b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+224
-24
lines changed

Diff for: packages/firebase_ui_auth/lib/src/widgets/error_text.dart

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ String? localizedErrorText(
2525
case 'credential-already-in-use':
2626
return labels.credentialAlreadyInUseErrorText;
2727
case 'invalid-verification-code':
28-
// TODO(@lesnitsky): localization
29-
return 'The code you entered is invalid. Please try again.';
28+
return labels.invalidVerificationCodeErrorText;
3029

3130
default:
3231
return null;

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_ar.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "ar",
3-
"@@last_modified": "2023-09-01T13:12:06.522803",
3+
"@@last_modified": "2023-09-06T14:33:29.121119",
44
"accessDisabledErrorText": "تم إيقاف إذن الوصول إلى هذا الحساب مؤقتًا.",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_de.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "de",
3-
"@@last_modified": "2023-09-01T13:12:06.516313",
3+
"@@last_modified": "2023-09-06T14:33:29.117252",
44
"accessDisabledErrorText": "Der Zugriff auf dieses Konto wurde vorübergehend gesperrt",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_en.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "en",
3-
"@@last_modified": "2023-09-01T13:12:06.523448",
3+
"@@last_modified": "2023-09-06T14:33:29.127088",
44
"accessDisabledErrorText": "Access to this account has been temporarily disabled",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_es.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "es",
3-
"@@last_modified": "2023-09-01T13:12:06.492378",
3+
"@@last_modified": "2023-09-06T14:33:29.096563",
44
"accessDisabledErrorText": "Se ha inhabilitado temporalmente al acceso a esta cuenta",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_es_419.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "es_419",
3-
"@@last_modified": "2023-09-01T13:12:06.522080",
3+
"@@last_modified": "2023-09-06T14:33:29.119589",
44
"accessDisabledErrorText": "Se inhabilitó temporalmente el acceso a la cuenta",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_fr.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "fr",
3-
"@@last_modified": "2023-09-01T13:12:06.525671",
3+
"@@last_modified": "2023-09-06T14:33:29.125523",
44
"accessDisabledErrorText": "L'accès à ce compte a été temporairement désactivé",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_he.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "he",
3-
"@@last_modified": "2023-09-01T13:12:06.520582",
3+
"@@last_modified": "2023-09-06T14:33:29.118845",
44
"accessDisabledErrorText": "הגישה לחשבון זה הושבתה באופן זמני",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_hi.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "hi",
3-
"@@last_modified": "2023-09-01T13:12:06.526288",
3+
"@@last_modified": "2023-09-06T14:33:29.126505",
44
"accessDisabledErrorText": "इस खाते के ऐक्सेस पर, कुछ समय के लिए रोक लगा दी गई है",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_hu.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "hu",
3-
"@@last_modified": "2023-09-01T13:12:06.501369",
3+
"@@last_modified": "2023-09-06T14:33:29.105442",
44
"accessDisabledErrorText": "A fiók átmenetileg le van tiltva",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_id.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "id",
3-
"@@last_modified": "2023-09-01T13:12:06.512030",
3+
"@@last_modified": "2023-09-06T14:33:29.113412",
44
"accessDisabledErrorText": "Akses ke akun ini telah dinonaktifkan untuk sementara waktu",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_it.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "it",
3-
"@@last_modified": "2023-09-01T13:12:06.506104",
3+
"@@last_modified": "2023-09-06T14:33:29.114337",
44
"accessDisabledErrorText": "L'accesso a questo account è stato temporaneamente disabilitato",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_ja.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "ja",
3-
"@@last_modified": "2023-09-01T13:12:06.524530",
3+
"@@last_modified": "2023-09-06T14:33:29.124970",
44
"accessDisabledErrorText": "このアカウントへのアクセスが一時的に無効になっています",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_ko.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "ko",
3-
"@@last_modified": "2023-09-01T13:12:06.509561",
3+
"@@last_modified": "2023-09-06T14:33:29.109589",
44
"accessDisabledErrorText": "이 계정의 액세스가 일시적으로 중지되었습니다.",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_nl.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "nl",
3-
"@@last_modified": "2023-09-01T13:12:06.518202",
3+
"@@last_modified": "2023-09-06T14:33:29.123028",
44
"accessDisabledErrorText": "De toegang tot dit account is tijdelijk uitgezet",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_pl.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "pl",
3-
"@@last_modified": "2023-09-01T13:12:06.521431",
3+
"@@last_modified": "2023-09-06T14:33:29.124271",
44
"accessDisabledErrorText": "Dostęp do tego konta został tymczasowo wyłączony",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_pt.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "pt",
3-
"@@last_modified": "2023-09-01T13:12:06.514305",
3+
"@@last_modified": "2023-09-06T14:33:29.112429",
44
"accessDisabledErrorText": "O acesso a esta conta foi desativado temporariamente",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_ru.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "ru",
3-
"@@last_modified": "2023-09-01T13:12:06.525039",
3+
"@@last_modified": "2023-09-06T14:33:29.126015",
44
"accessDisabledErrorText": "Доступ к этому аккаунту временно заблокирован.",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_th.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "th",
3-
"@@last_modified": "2023-09-01T13:12:06.510999",
3+
"@@last_modified": "2023-09-06T14:33:29.122025",
44
"accessDisabledErrorText": "มีการปิดใช้สิทธิ์เข้าถึงบัญชีนี้ชั่วคราว",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_tr.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "tr",
3-
"@@last_modified": "2023-09-01T13:12:06.517141",
3+
"@@last_modified": "2023-09-06T14:33:29.120257",
44
"accessDisabledErrorText": "Bu hesaba erişim geçici olarak devre dışı bırakıldı",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

Diff for: packages/firebase_ui_localizations/lib/l10n/firebase_ui_uk.arb

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@@locale": "uk",
3-
"@@last_modified": "2023-09-01T13:12:06.513079",
3+
"@@last_modified": "2023-09-06T14:33:29.116420",
44
"accessDisabledErrorText": "Доступ до цього облікового запису тимчасово вимкнено",
55
"@accessDisabledErrorText": {
66
"description": "Used as an error message when account is blocked and user tries to perform some actions with the account (e.g. unlinking a credential).",
@@ -483,5 +483,10 @@
483483
"@doneButtonLabel": {
484484
"description": "Done button label",
485485
"placeholders": {}
486+
},
487+
"invalidVerificationCodeErrorText": "The code you entered is invalid. Please try again.",
488+
"@invalidVerificationCodeErrorText": {
489+
"description": "Error text indicating that entered SMS code is invalid",
490+
"placeholders": {}
486491
}
487492
}

0 commit comments

Comments
 (0)