Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui_auth, ui_localizations): add localization label (#229) #249

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ class _EmailVerificationBadgeState extends State<_EmailVerificationBadge> {
if (state != EmailVerificationState.sent)
LoadingButton(
isLoading: state == EmailVerificationState.sending,
label: 'Send verification email',
label: l.sentVerificationEmailLabel,
onTap: () {
service.sendVerificationEmail(
platform,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ abstract class FirebaseUILocalizationLabels {
/// Used as an error text of the PasswordInput when provided password is empty
/// or is not correct.
String get wrongOrNoPasswordErrorText;

/// Sent verification Email button on profile screen
String get sentVerificationEmailLabel;
}

class DefaultLocalizations extends EnLocalizations {
Expand Down
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/ar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -340,4 +340,7 @@ class ArLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "ارسل ايميل التفعيل";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -337,4 +337,7 @@ class DeLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Senden Sie E-Mail-Verifizierung";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -333,4 +333,7 @@ class EnLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Send verification email";
}
4 changes: 4 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/es.dart
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,8 @@ class EsLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel =>
"Envia un correo electronico de verificación";
}
4 changes: 4 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/es_419.dart
Original file line number Diff line number Diff line change
Expand Up @@ -339,4 +339,8 @@ class Es419Localizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel =>
"Envia un correo electronico de verificación";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/fr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -343,4 +343,7 @@ class FrLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Envoyer email de vérification";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/he.dart
Original file line number Diff line number Diff line change
Expand Up @@ -333,4 +333,7 @@ class HeLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Send verification email";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/hi.dart
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,7 @@ class HiLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "सत्यापन ईमेल भेजें";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/hu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,7 @@ class HuLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Küldj megerősítő e-mailt";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/id.dart
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,7 @@ class IdLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Kirim email verifikasi";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/it.dart
Original file line number Diff line number Diff line change
Expand Up @@ -337,4 +337,7 @@ class ItLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Invia email di verifica";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/ja.dart
Original file line number Diff line number Diff line change
Expand Up @@ -330,4 +330,7 @@ class JaLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "確認メールを送信";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/ko.dart
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,7 @@ class KoLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "확인 이메일 보내기";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/nb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -333,4 +333,7 @@ class NbLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Ja, slett";

@override
String get sentVerificationEmailLabel => "Send bekreftelses-e-post";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/nl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,7 @@ class NlLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Verificatie-e-mail verzenden";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/pl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,7 @@ class PlLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Wyślij email weryfikacyjny";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/pt.dart
Original file line number Diff line number Diff line change
Expand Up @@ -337,4 +337,7 @@ class PtLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Enviar e-mail de verificação";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/ro.dart
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,7 @@ class RoLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Trimite emailul de verificare";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/ru.dart
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,7 @@ class RuLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Отправить письмо с подтверждением";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/th.dart
Original file line number Diff line number Diff line change
Expand Up @@ -333,4 +333,7 @@ class ThLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "ส่งอีเมลยืนยันแล้ว";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/tr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,7 @@ class TrLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Doğrulama e-postası gönderildi";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/uk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,7 @@ class UkLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "Send verification email";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/zh.dart
Original file line number Diff line number Diff line change
Expand Up @@ -326,4 +326,7 @@ class ZhLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "已发送验证电子邮件";
}
3 changes: 3 additions & 0 deletions packages/firebase_ui_localizations/lib/src/lang/zh_tw.dart
Original file line number Diff line number Diff line change
Expand Up @@ -326,4 +326,7 @@ class ZhTWLocalizations extends FirebaseUILocalizationLabels {

@override
String get confirmDeleteAccountButtonLabel => "Yes, delete";

@override
String get sentVerificationEmailLabel => "已發送驗證電子郵件";
}
Loading