Skip to content

Commit

Permalink
fix: sp to es
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingCoding committed Apr 16, 2023
1 parent a0e14a2 commit d73b156
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
## Window Note
* No support for ARM and x86 Windows devices, only for x64 devices.
## add language
* app_[locale].arb
* app_[locale].arb,example: app_zh.arb
* flutter gen-l10n
* change `lib/model/config_modal.dart` langs
* [localization](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry)


8 changes: 5 additions & 3 deletions lib/l10n/app_sp.arb → lib/l10n/app_es.arb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@@locale": "sp",
"@@locale": "es",
"createWallet": "Crear cartera",
"importWallet": "Importar Cartera",
"welcomeTitle_1": "Privado y seguro",
Expand Down Expand Up @@ -78,7 +78,8 @@
"review_Privacy_Policy":"Revise la Política de privacidad y los Términos de servicio de XDAG-Pro.",
"accepted_Privacy_Policy":"He leído y acepto la Política de privacidad y los Términos de servicio.",
"snapshot":"Instantánea",
"walletAddress":"Dirección de cartera", "to":"To",
"walletAddress":"Dirección de cartera",
"to":"To",
"amount": "Monto",
"all": "Todo",
"send_Success": "Enviado con éxito",
Expand Down Expand Up @@ -120,5 +121,6 @@
"no_contacts": "Cualquier contacto",
"tips": "Consejos",
"wallet_tips": "Desliza el elemento hacia la derecha para eliminar la billetera.",
"hide_balance": "Ocultar saldo"
"hide_balance": "Ocultar saldo",
"contact_address_repeat": "La dirección del contacto ya existe"
}
4 changes: 3 additions & 1 deletion lib/l10n/app_it.arb
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,7 @@
"contact_tips": "Si prega di notare che i contatti sono conservati solo localmente su questo dispositivo. Se si elimina l'app, i contatti verranno persi in modo permanente e non saranno recuperabili.",
"no_contacts": "Nessun contatto",
"tips": "Suggerimenti",
"wallet_tips": "Scorri l'elemento verso destra per eliminare il portafoglio"
"wallet_tips": "Scorri l'elemento verso destra per eliminare il portafoglio",
"hide_balance": "Nascondi saldo",
"contact_address_repeat": "L'indirizzo del contatto è già stato aggiunto"
}
2 changes: 2 additions & 0 deletions lib/model/config_modal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class ConfigModal extends ChangeNotifier {
LangItem('Français', const Locale('fr', 'FR')),
LangItem('Русский', const Locale('ru', 'RU')),
LangItem('Deutsch', const Locale('de', 'DE')),
LangItem('Spanish', const Locale('es', 'ES')),
LangItem('Italy', const Locale('it', 'IT')),
];
static final List<String> netWorks = ["MainNet", "TestNet"];

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.9+10
version: 1.0.10+11

environment:
sdk: '>=2.19.2 <3.0.0'
Expand Down

0 comments on commit d73b156

Please sign in to comment.