Skip to content

Commit

Permalink
fix(literals): Add missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
enrique-lozano committed Oct 24, 2023
1 parent 138cd3c commit e149b2e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 2 additions & 3 deletions lib/app/settings/settings.page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class _SettingsPageState extends State<SettingsPage> {
createSettingItem(context,
title: t.general.categories,
subtitle: t.settings.general.categories_descr,
icon: Icons.sell_outlined, onTap: () {
icon: Icons.category_rounded, onTap: () {
Navigator.push(
context,
MaterialPageRoute(
Expand All @@ -106,8 +106,7 @@ class _SettingsPageState extends State<SettingsPage> {
}),
createSettingItem(context,
title: t.currencies.currency_manager,
subtitle:
'Configura tu divisa y sus tipos de cambio con otras',
subtitle: t.currencies.currency_manager_descr,
icon: Icons.currency_exchange, onTap: () {
Navigator.push(
context,
Expand Down
1 change: 1 addition & 0 deletions lib/i18n/strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@
"currency-converter": "Currency converter",
"currency": "Currency",
"currency-manager": "Currency manager",
"currency-manager.descr": "Configura tu divisa y sus tipos de cambio con otras",
"preferred-currency": "Preferred/base currency",
"change-preferred-currency-title": "Change preferred currency",
"change-preferred-currency-msg": "All stats and budgets will be displayed in this currency from now on. Accounts and transactions will keep the currency they had. All saved exchange rates will be deleted if you execute this action. Do you wish to continue?",
Expand Down
1 change: 1 addition & 0 deletions lib/i18n/strings_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@
"CURRENCIES": {
"currency-converter": "Conversor de divisas",
"currency-manager": "Administrador de divisas",
"currency-manager.descr": "Configura tu divisa y sus tipos de cambio con otras",
"currency": "Divisa",
"preferred-currency": "Divisa predeterminada/base",
"change-preferred-currency-title": "Cambiar divisa predeterminada",
Expand Down
8 changes: 6 additions & 2 deletions lib/i18n/translations.g.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
/// To regenerate, run: `dart run slang`
///
/// Locales: 2
/// Strings: 918 (459 per locale)
/// Strings: 920 (460 per locale)
///
/// Built on 2023-10-24 at 14:18 UTC
/// Built on 2023-10-24 at 17:18 UTC
// coverage:ignore-file
// ignore_for_file: type=lint
Expand Down Expand Up @@ -395,6 +395,7 @@ class _TranslationsCurrenciesEn {
String get currency_converter => 'Currency converter';
String get currency => 'Currency';
String get currency_manager => 'Currency manager';
String get currency_manager_descr => 'Configura tu divisa y sus tipos de cambio con otras';
String get preferred_currency => 'Preferred/base currency';
String get change_preferred_currency_title => 'Change preferred currency';
String get change_preferred_currency_msg => 'All stats and budgets will be displayed in this currency from now on. Accounts and transactions will keep the currency they had. All saved exchange rates will be deleted if you execute this action. Do you wish to continue?';
Expand Down Expand Up @@ -1481,6 +1482,7 @@ class _TranslationsCurrenciesEs implements _TranslationsCurrenciesEn {
// Translations
@override String get currency_converter => 'Conversor de divisas';
@override String get currency_manager => 'Administrador de divisas';
@override String get currency_manager_descr => 'Configura tu divisa y sus tipos de cambio con otras';
@override String get currency => 'Divisa';
@override String get preferred_currency => 'Divisa predeterminada/base';
@override String get change_preferred_currency_title => 'Cambiar divisa predeterminada';
Expand Down Expand Up @@ -2620,6 +2622,7 @@ extension on _TranslationsEn {
case 'currencies.currency_converter': return 'Currency converter';
case 'currencies.currency': return 'Currency';
case 'currencies.currency_manager': return 'Currency manager';
case 'currencies.currency_manager_descr': return 'Configura tu divisa y sus tipos de cambio con otras';
case 'currencies.preferred_currency': return 'Preferred/base currency';
case 'currencies.change_preferred_currency_title': return 'Change preferred currency';
case 'currencies.change_preferred_currency_msg': return 'All stats and budgets will be displayed in this currency from now on. Accounts and transactions will keep the currency they had. All saved exchange rates will be deleted if you execute this action. Do you wish to continue?';
Expand Down Expand Up @@ -3114,6 +3117,7 @@ extension on _TranslationsEs {
case 'account.select.all': return 'Todas las cuentas';
case 'currencies.currency_converter': return 'Conversor de divisas';
case 'currencies.currency_manager': return 'Administrador de divisas';
case 'currencies.currency_manager_descr': return 'Configura tu divisa y sus tipos de cambio con otras';
case 'currencies.currency': return 'Divisa';
case 'currencies.preferred_currency': return 'Divisa predeterminada/base';
case 'currencies.change_preferred_currency_title': return 'Cambiar divisa predeterminada';
Expand Down

0 comments on commit e149b2e

Please sign in to comment.