diff --git a/README.md b/README.md index 94d7ed2..df91efb 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/lib/l10n/app_sp.arb b/lib/l10n/app_es.arb similarity index 97% rename from lib/l10n/app_sp.arb rename to lib/l10n/app_es.arb index b7002f9..1c479fd 100644 --- a/lib/l10n/app_sp.arb +++ b/lib/l10n/app_es.arb @@ -1,5 +1,5 @@ { - "@@locale": "sp", + "@@locale": "es", "createWallet": "Crear cartera", "importWallet": "Importar Cartera", "welcomeTitle_1": "Privado y seguro", @@ -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", @@ -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" } \ No newline at end of file diff --git a/lib/l10n/app_it.arb b/lib/l10n/app_it.arb index 21bf529..86f79cb 100644 --- a/lib/l10n/app_it.arb +++ b/lib/l10n/app_it.arb @@ -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" } \ No newline at end of file diff --git a/lib/model/config_modal.dart b/lib/model/config_modal.dart index 928d37a..acc3cf2 100644 --- a/lib/model/config_modal.dart +++ b/lib/model/config_modal.dart @@ -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 netWorks = ["MainNet", "TestNet"]; diff --git a/pubspec.yaml b/pubspec.yaml index ab76acb..3770b46 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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'