diff --git a/lain_chikita/assets/language/labels_en.json b/lain_chikita/assets/language/labels_en.json index fd09bf5..6c399f7 100644 --- a/lain_chikita/assets/language/labels_en.json +++ b/lain_chikita/assets/language/labels_en.json @@ -24,5 +24,10 @@ "do-not-leave-the-application": "Do not leave the application", "completed": "Completed", "progress": "Progress", - "thank-you-for-installing": "Thank you for installing lain_chikita, kind senior" + "thank-you-for-installing": "Thank you for installing lain_chikita, kind senior", + "backup": "Backup", + "paste-backup-data": "Paste your backup data", + "backup-completed": "Backup completed", + "press-and-hold-button-to-see-more": "Press and hold the button to see more options", + "restart-your-app": "Restart your app" } \ No newline at end of file diff --git a/lain_chikita/assets/language/labels_es.json b/lain_chikita/assets/language/labels_es.json index 3257dbe..4f1e80f 100644 --- a/lain_chikita/assets/language/labels_es.json +++ b/lain_chikita/assets/language/labels_es.json @@ -24,5 +24,10 @@ "do-not-leave-the-application": "No salgas de la aplicación", "completed": "Completado", "progress": "Progreso", - "thank-you-for-installing": "Gracias por instalar lain_chikita, amable senior" + "thank-you-for-installing": "Gracias por instalar lain_chikita, amable senior", + "backup": "Backup", + "paste-backup-data": "Pega la data de tu backup", + "backup-completed": "Backup completada", + "press-and-hold-button-to-see-more": "Mantén pulsado el botón para ver más opciones", + "restart-your-app": "Reinicia tu aplicación" } \ No newline at end of file diff --git a/lain_chikita/lib/global_vars.dart b/lain_chikita/lib/global_vars.dart index b27094c..6a98a59 100644 --- a/lain_chikita/lib/global_vars.dart +++ b/lain_chikita/lib/global_vars.dart @@ -20,7 +20,7 @@ Cada vez que se haga un add, delete o update a unlockedInventory se debe aumenta como cuando se agrega una nueva skin a la app o se quita u modifica una; también cuando modificas algo de los inventarios en general) */ -int inventoryVersion = 5; +int inventoryVersion = 6; List> inventory = [ {'name': 'null', 'by': 'NULLUSER'}, diff --git a/lain_chikita/lib/screens/encryption_screen.dart b/lain_chikita/lib/screens/encryption_screen.dart index 944d80a..1672ed1 100644 --- a/lain_chikita/lib/screens/encryption_screen.dart +++ b/lain_chikita/lib/screens/encryption_screen.dart @@ -88,7 +88,7 @@ class MyWidgetState extends State { // Copiar la data ya encriptada al clipboard Clipboard.setData(ClipboardData(text: encryptedData)); setState(() { - _informativeText = languageDataManager.getLabel('clipboard-is-copied'); + _informativeText = "${languageDataManager.getLabel('clipboard-is-copied')}\n(${languageDataManager.getLabel('press-and-hold-button-to-see-more')})"; hideInformativeText(2); }); } @@ -139,7 +139,7 @@ class MyWidgetState extends State { inventoryVersion = inventoryVersionD; inventory = inventoryD; unlockedInventory = unlockedInventoryD; - _informativeText = languageDataManager.getLabel('BACKUP EXITOSA'); + _informativeText = "${languageDataManager.getLabel('backup-completed')}\n${languageDataManager.getLabel('restart-your-app')}"; _updateUI(); }); } catch (e) { @@ -167,14 +167,14 @@ class MyWidgetState extends State { child: Column(children: [ ElevatedButton( style: ElevatedButton.styleFrom( - minimumSize: const Size(190, 80), + minimumSize: const Size(380, 80), backgroundColor: appColors.secondaryBtn, padding: const EdgeInsets.all(20.0)), onPressed: _backupMyData, onLongPress: () => setState(() { _showBackupTextBox = true; }), - child: Text(languageDataManager.getLabel('BACKUP'), + child: Text(languageDataManager.getLabel('backup'), style: const TextStyle( fontSize: 34.0, ), @@ -197,7 +197,7 @@ class MyWidgetState extends State { }, icon: const Icon(Icons.done), color: appColors.userInputText), - labelText: languageDataManager.getLabel('YOUR BACKUP DATA'), + labelText: languageDataManager.getLabel('paste-backup-data'), labelStyle: TextStyle(color: appColors.primaryText, fontSize: 20), floatingLabelAlignment: FloatingLabelAlignment.center, focusedBorder: UnderlineInputBorder(borderSide: BorderSide(color: appColors.focusItem)), @@ -211,7 +211,7 @@ class MyWidgetState extends State { ), ElevatedButton( style: ElevatedButton.styleFrom( - minimumSize: const Size(340, 80), + minimumSize: const Size(380, 80), backgroundColor: appColors.primaryBtn, padding: const EdgeInsets.all(20.0)), onPressed: () => _encryptImages(), @@ -221,7 +221,7 @@ class MyWidgetState extends State { const SizedBox(height: 16), ElevatedButton( style: ElevatedButton.styleFrom( - minimumSize: const Size(340, 80), + minimumSize: const Size(380, 80), backgroundColor: appColors.primaryBtn, padding: const EdgeInsets.all(20.0)), onPressed: () => _dencryptImages(), diff --git a/lain_chikita/pubspec.yaml b/lain_chikita/pubspec.yaml index 64e8252..e91d993 100644 --- a/lain_chikita/pubspec.yaml +++ b/lain_chikita/pubspec.yaml @@ -20,7 +20,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # Update version:A.B.C+X # A.B.C represents the versionName such as 1.0.0 # X (the number after the +) represents the versionCode such as 1, 2, 3, etc. (Only int types) -version: 1.5.1+1 +version: 2.0.0+1 environment: sdk: '>=2.19.6 <3.0.0'