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

whats_new: localize the dialog title #146

Merged
merged 1 commit into from
Dec 4, 2024
Merged
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
1 change: 1 addition & 0 deletions assets/localization/app_cs.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"@@locale": "cs",
"@@comment": "(c) searchwork.org",
"appTitle": "Čtení NWT",
"whatsNewDialogTitle": "Novinky v NWT Reading",
"whatsNewDialogPlans": "Můžeš používat více plánů čtení Bible současně.",
"whatsNewDialogOpenSource": "NWT Reading je nyní open source. Najdi nás na GitHubu a přispěj.",
"whatsNewDialogLaterButtonText": "Později",
Expand Down
1 change: 1 addition & 0 deletions assets/localization/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"@@locale": "de",
"@@comment": "(c) searchwork.org",
"appTitle": "NWT Lesen",
"whatsNewDialogTitle": "Neues in NWT Reading",
"whatsNewDialogPlans": "Du kannst mehrere Bibellesepläne parallel verwenden.",
"whatsNewDialogOpenSource": "NWT Reading ist jetzt Open Source. Finde uns auf GitHub und mach mit.",
"whatsNewDialogLaterButtonText": "Später",
Expand Down
12 changes: 8 additions & 4 deletions assets/localization/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,25 @@
"@appTitle": {
"description": "The title of the application"
},
"whatsNewDialogTitle": "What''s New in NWT Reading",
"@whatsNewDialogTitle": {
"description": "The title of the what's new dialog"
},
"whatsNewDialogPlans": "You can use multiple Bible reading plans in parallel.",
"@whatsNewDialogPlans": {
"description": "The description on the what's new page"
"description": "The description on the what's new dialog"
},
"whatsNewDialogOpenSource": "NWT Reading is now open source. Find us on GitHub and contribute.",
"@whatsNewDialogOpenSource": {
"description": "The description on the what's new page. Must contain the word GitHub, which will be rendered as a link"
"description": "The description on the what's new dialog. Must contain the word GitHub, which will be rendered as a link"
},
"whatsNewDialogLaterButtonText": "Later",
"@whatsNewDialogLaterButtonText": {
"description": "The label of the button on the what's new page"
"description": "The label of the button on the what's new dialog"
},
"whatsNewDialogGotItButtonText": "Got It",
"@whatsNewDialogGotItButtonText": {
"description": "The label of the button on the what's new page"
"description": "The label of the button on the what's new dialog"
},
"plansPageTitle": "Bible Reading Plans",
"@plansPageTitle": {
Expand Down
1 change: 1 addition & 0 deletions assets/localization/app_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"@@locale": "es",
"@@comment": "(c) searchwork.org",
"appTitle": "Lectura NWT",
"whatsNewDialogTitle": "Novedades en NWT Reading",
"whatsNewDialogPlans": "Puedes usar varios planes de lectura de la Biblia en paralelo.",
"whatsNewDialogOpenSource": "NWT Reading ahora es de código abierto. Encuéntranos en GitHub y contribuye.",
"whatsNewDialogLaterButtonText": "Más tarde",
Expand Down
1 change: 1 addition & 0 deletions assets/localization/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"@@locale": "fr",
"@@comment": "(c) searchwork.org",
"appTitle": "Lecture NWT",
"whatsNewDialogTitle": "Nouveautés dans NWT Reading",
"whatsNewDialogPlans": "Tu peux utiliser plusieurs plans de lecture de la Bible en parallèle.",
"whatsNewDialogOpenSource": "NWT Reading est maintenant open source. Trouve-nous sur GitHub et contribue.",
"whatsNewDialogLaterButtonText": "Plus tard",
Expand Down
1 change: 1 addition & 0 deletions assets/localization/app_hu.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"@@locale": "hu",
"@@comment": "(c) searchwork.org",
"appTitle": "NWT Olvasás",
"whatsNewDialogTitle": "Újdonságok a NWT Reading-ben",
"whatsNewDialogPlans": "Több bibliaolvasási tervet is használhatsz párhuzamosan.",
"whatsNewDialogOpenSource": "A NWT Reading most már nyílt forráskódú. Találj meg minket a GitHubon és járulj hozzá.",
"whatsNewDialogLaterButtonText": "Később",
Expand Down
1 change: 1 addition & 0 deletions assets/localization/app_it.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"@@locale": "it",
"@@comment": "(c) searchwork.org",
"appTitle": "Lettura NWT",
"whatsNewDialogTitle": "Novità in NWT Reading",
"whatsNewDialogPlans": "Puoi usare più piani di lettura della Bibbia in parallelo.",
"whatsNewDialogOpenSource": "NWT Reading è ora open source. Trova noi su GitHub e contribuisci.",
"whatsNewDialogLaterButtonText": "Più tardi",
Expand Down
1 change: 1 addition & 0 deletions assets/localization/app_pl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"@@locale": "pl",
"@@comment": "(c) searchwork.org",
"appTitle": "Czytanie NWT",
"whatsNewDialogTitle": "Nowości w NWT Reading",
"whatsNewDialogPlans": "Możesz używać wielu planów czytania Biblii równolegle.",
"whatsNewDialogOpenSource": "NWT Reading jest teraz open source. Znajdź nas na GitHubie i przyczyń się.",
"whatsNewDialogLaterButtonText": "Później",
Expand Down
1 change: 1 addition & 0 deletions assets/localization/app_pt.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"@@locale": "pt",
"@@comment": "(c) searchwork.org",
"appTitle": "Leitura NWT",
"whatsNewDialogTitle": "Novidades no NWT Reading",
"whatsNewDialogPlans": "Você pode usar vários planos de leitura da Bíblia em paralelo.",
"whatsNewDialogOpenSource": "NWT Reading agora é open source. Encontre-nos no GitHub e contribua.",
"whatsNewDialogLaterButtonText": "Mais tarde",
Expand Down
1 change: 1 addition & 0 deletions assets/localization/app_ro.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"@@locale": "ro",
"@@comment": "(c) searchwork.org",
"appTitle": "Citire NWT",
"whatsNewDialogTitle": "Ce e nou în NWT Reading",
"whatsNewDialogPlans": "Poți folosi mai multe planuri de citire a Bibliei în paralel.",
"whatsNewDialogOpenSource": "NWT Reading este acum open source. Găsește-ne pe GitHub și contribuie.",
"whatsNewDialogLaterButtonText": "Mai târziu",
Expand Down
1 change: 1 addition & 0 deletions assets/localization/app_ru.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"@@locale": "ru",
"@@comment": "(c) searchwork.org",
"appTitle": "Чтение NWT",
"whatsNewDialogTitle": "Что нового в NWT Reading",
"whatsNewDialogPlans": "Ты можешь использовать несколько планов чтения Библии параллельно.",
"whatsNewDialogOpenSource": "NWT Reading теперь с открытым исходным кодом. Найди нас на GitHub и внеси свой вклад.",
"whatsNewDialogLaterButtonText": "Позже",
Expand Down
2 changes: 1 addition & 1 deletion lib/src/whats_new/presentations/whats_new_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void showWhatsNewDialog(
builder: (BuildContext context) {
return AlertDialog(
key: const Key('whats-new-dialog'),
title: Text("What's New in NWT Reading"),
title: Text(context.loc.whatsNewDialogTitle),
content: SingleChildScrollView(
child: Column(children: [
Image(image: AssetImage('assets/images/whats_new/plans.png')),
Expand Down
Loading