Skip to content
Snippets Groups Projects
Commit 72502674 authored by poka's avatar poka
Browse files

fix forget safe wording

parent 2ad1e257
Branches
Tags duniter4j-1.5.4
No related merge requests found
......@@ -30,7 +30,7 @@
"changePassword": "Change my password",
"createDerivation": "Create a new derivation",
"createCustomDerivation": "Create a new custom derivation",
"deleteChest": "Delete this safe",
"forgetSafe": "Forget this safe",
"openThisChest": "Open this safe",
"createChest": "Create a new safe",
"importChest": "Import a safe",
......
......@@ -30,7 +30,7 @@
"changePassword": "Cambiar mi contraseña",
"createDerivation": "Crear una nueva derivación",
"createCustomDerivation": "Crear una nueva derivación personalizada",
"deleteChest": "Borrar este cofre",
"forgetSafe": "Olvida este cofre",
"openThisChest": "Abrir este cofre",
"createChest": "Crear un nuevo cofre",
"importChest": "Importar un cofre",
......
......@@ -30,7 +30,7 @@
"changePassword": "Changer mon code secret",
"createDerivation": "Créer une autre dérivation",
"createCustomDerivation": "Créer une dérivation personnalisé",
"deleteChest": "Supprimer ce coffre",
"forgetSafe": "Oublier ce coffre",
"openThisChest": "Ouvrir ce coffre",
"createChest": "Créer un nouveau coffre",
"importChest": "Importer un coffre",
......
......@@ -29,7 +29,7 @@
"changePassword": "Cambia la mia password",
"createDerivation": "Crea una nuova derivazione",
"createCustomDerivation": "Crea una nuova derivazione personalizzata",
"deleteChest": "Elimina questo scrigno",
"forgetSafe": "Olvida questo scrigno",
"openThisChest": "Apri questo scrigno",
"createChest": "Crea un nuovo scrigno",
"importChest": "Importa uno scrigno",
......
......@@ -14,7 +14,7 @@ class ChestProvider with ChangeNotifier {
notifyListeners();
}
Future deleteChest(context, ChestData chest) async {
Future forgetSafe(context, ChestData chest) async {
final bool? answer = await (_confirmDeletingChest(context, chest.name));
final sub = Provider.of<SubstrateSdk>(context, listen: false);
if (answer ?? false) {
......
......@@ -184,7 +184,7 @@ class ChestOptionsContent extends StatelessWidget {
onTap: () async {
if (!await myWalletProvider.askPinCode(force: true)) return;
await chestProvider.deleteChest(context, currentChest);
await chestProvider.forgetSafe(context, currentChest);
},
child: Container(
padding: EdgeInsets.symmetric(horizontal: scaleSize(16), vertical: scaleSize(12)),
......@@ -198,7 +198,7 @@ class ChestOptionsContent extends StatelessWidget {
ScaledSizedBox(width: 16),
Expanded(
child: Text(
'deleteChest'.tr(),
'forgetSafe'.tr(),
style: scaledTextStyle(
fontSize: 16,
color: const Color(0xffD80000),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment