From 83764194e7a1ba0bae7b1080f5d0cac0a512e534 Mon Sep 17 00:00:00 2001 From: poka Date: Thu, 2 Feb 2023 19:59:11 +0100 Subject: [PATCH] fix: french typo --- assets/translations/fr.json | 2 +- integration_test/scenarios/gecko_complete.dart | 10 +++++----- integration_test/scenarios/identity_revocation.dart | 4 ++-- .../scenarios/migrate_cesium_identity.dart | 2 +- lib/main.dart | 1 - lib/screens/home.dart | 1 - 6 files changed, 9 insertions(+), 11 deletions(-) diff --git a/assets/translations/fr.json b/assets/translations/fr.json index 026a382..cfd6814 100644 --- a/assets/translations/fr.json +++ b/assets/translations/fr.json @@ -164,7 +164,7 @@ "amount": "Montant:", "choiceOfSourceWallet": "Choix du portefeuille source", "extrinsicInProgress": "{} en cours", - "extrinsicValidated": "{} validé !", + "extrinsicValidated": "{} validée !", "fromMinus": "de", "toMinus": "vers", "deleteThisWallet": "Supprimer ce portefeuille", diff --git a/integration_test/scenarios/gecko_complete.dart b/integration_test/scenarios/gecko_complete.dart index f8dd7d2..b4c7934 100644 --- a/integration_test/scenarios/gecko_complete.dart +++ b/integration_test/scenarios/gecko_complete.dart @@ -51,7 +51,7 @@ Future payTest2() async { await tapKey(keyConfirmPayment); spawnBlock(duration: 500); - await waitFor('validé !', timeout: const Duration(seconds: 1)); + await waitFor('validée !', timeout: const Duration(seconds: 1)); await tapKey(keyCloseTransactionScreen, duration: 0); await waitFor('12.14'); spawnBlock(duration: 500); @@ -64,7 +64,7 @@ Future certifyTest5() async { await tapKey(keyCertify); await tapKey(keyConfirm); spawnBlock(duration: 500); - await waitFor('validé !', timeout: const Duration(seconds: 1)); + await waitFor('validée !', timeout: const Duration(seconds: 1)); await tapKey(keyCloseTransactionScreen); await waitFor('Identité créée'); @@ -77,7 +77,7 @@ Future certifyTest5() async { await enterText(keyEnterIdentityUsername, test5.name); await tapKey(keyConfirm); spawnBlock(duration: 500); - await waitFor('validé !', timeout: const Duration(seconds: 1)); + await waitFor('validée !', timeout: const Duration(seconds: 1)); await tapKey(keyCloseTransactionScreen); await waitFor('Identité confirmée'); humanRead(2); @@ -103,7 +103,7 @@ Future certifyTest5() async { await tapKey(keyCertify); await tapKey(keyConfirm); spawnBlock(duration: 500); - await waitFor('validé !', timeout: const Duration(seconds: 1)); + await waitFor('validée !', timeout: const Duration(seconds: 1)); await tapKey(keyCloseTransactionScreen); await waitFor('2'); @@ -118,7 +118,7 @@ Future certifyTest5() async { await tapKey(keyCertify); await tapKey(keyConfirm); spawnBlock(duration: 500); - await waitFor('validé !', timeout: const Duration(seconds: 1)); + await waitFor('validée !', timeout: const Duration(seconds: 1)); await tapKey(keyCloseTransactionScreen); await waitFor('Vous devez attendre'); diff --git a/integration_test/scenarios/identity_revocation.dart b/integration_test/scenarios/identity_revocation.dart index 8fff4c7..544239b 100644 --- a/integration_test/scenarios/identity_revocation.dart +++ b/integration_test/scenarios/identity_revocation.dart @@ -39,7 +39,7 @@ void main() async { await tapKey(keyRevokeIdty); await tapKey(keyConfirm); spawnBlock(duration: 2000); - await waitFor('validé !', timeout: const Duration(seconds: 4)); + await waitFor('validée !', timeout: const Duration(seconds: 4)); await tapKey(keyCloseTransactionScreen, duration: 0); await waitFor('Aucune identité', exactMatch: true); await sleep(); @@ -60,7 +60,7 @@ void main() async { // await waitForButtonEnabled(keyConfirm); // await tapKey(keyConfirm, duration: 500); // await spawnBlock(duration: 2000); - // await waitFor('validé !'); + // await waitFor('validée !'); // await tapKey(keyCloseTransactionScreen, duration: 0); // await sleep(5000); }, timeout: testTimeout()); diff --git a/integration_test/scenarios/migrate_cesium_identity.dart b/integration_test/scenarios/migrate_cesium_identity.dart index 79d6ea4..739ff21 100644 --- a/integration_test/scenarios/migrate_cesium_identity.dart +++ b/integration_test/scenarios/migrate_cesium_identity.dart @@ -43,7 +43,7 @@ void main() async { await waitForButtonEnabled(keyConfirm); await tapKey(keyConfirm); spawnBlock(duration: 2000); - await waitFor('validé !'); + await waitFor('validée !'); await tapKey(keyCloseTransactionScreen, duration: 0); await tapKey(keyOpenWallet(test6.address), duration: 300); diff --git a/lib/main.dart b/lib/main.dart index 6bf7538..28db6e3 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -15,7 +15,6 @@ import 'dart:async'; import 'dart:io'; - import 'package:flutter/services.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart'; import 'package:gecko/globals.dart'; diff --git a/lib/screens/home.dart b/lib/screens/home.dart index ffb7378..6bceec8 100644 --- a/lib/screens/home.dart +++ b/lib/screens/home.dart @@ -24,7 +24,6 @@ import 'package:gecko/screens/onBoarding/1.dart'; import 'package:gecko/screens/search.dart'; import 'package:gecko/screens/settings.dart'; import 'package:hive_flutter/hive_flutter.dart'; - import 'package:provider/provider.dart'; import 'package:gecko/screens/my_contacts.dart';