diff --git a/assets/translations/en.json b/assets/translations/en.json index 1b2a5d12f1d0fe141edfa74b6ee1630d6e927a72..3bdc2a69dac4b4bdf8a10048915ed072de7ef80d 100644 --- a/assets/translations/en.json +++ b/assets/translations/en.json @@ -51,7 +51,11 @@ "confirmPayment": "Confirm payment", "clickHereToConfirmIdentity": "Click here to confirm\nyour new identity", "geckoGenerateYourWalletFromMnemonic": "Ğecko builds your wallet from a **restoration sentence**. It is a bit like the blueprint that builds your wallet.", - "keepThisMnemonicSecure": "Keep this sentence carefully, because without it Ğecko will not be able to rebuild your wallets the day you change your phone." + "keepThisMnemonicSecure": "Keep this sentence carefully, because without it Ğecko will not be able to rebuild your wallets the day you change your phone.", + "geckoGeneratedYourMnemonicKeepItSecret": "Ğecko generated your mnemonic successfully! Keep it secret, because anyone who knows it can access all your wallets.", + "newWallet": "New Wallet", + "itsTimeToUseAPenAndPaper": "Il est temps de vous munir d’**un papier et d’un crayon** afin de pouvoir noter votre phrase de restauration." + } \ No newline at end of file diff --git a/assets/translations/fr.json b/assets/translations/fr.json index a305096ac7448bc8252e36e7e027a0af26313056..1140dc81f1df4a551ebcc8074d56ba50e8827c46 100644 --- a/assets/translations/fr.json +++ b/assets/translations/fr.json @@ -52,5 +52,12 @@ "confirmPayment": "Confirmer le paiement", "clickHereToConfirmIdentity": "Cliquez ici pour confirmer\nvotre nouvelle identité", "geckoGenerateYourWalletFromMnemonic": "Ğecko fabrique votre portefeuille à partir d’une **phrase de restauration**. Elle est un peu comme le plan qui permet de construire votre portefeuille.", - "keepThisMnemonicSecure": "Conservez cette phrase précieusement, car sans elle Ğecko ne pourra pas reconstruire vos portefeuilles le jour où vous changez de téléphone." + "keepThisMnemonicSecure": "Conservez cette phrase précieusement, car sans elle Ğecko ne pourra pas reconstruire vos portefeuilles le jour où vous changez de téléphone.", + "geckoGeneratedYourMnemonicKeepItSecret": "Gecko a généré votre phrase de restauration ! Tâchez de la garder bien secrète, car elle permet à quiconque la connaît d’accéder à tous vos portefeuilles.", + "newWallet": "Nouveau portefeuille", + "itsTimeToUseAPenAndPaper": "Il est temps de vous munir d’**un papier et d’un crayon** afin de pouvoir noter votre phrase de restauration." + + + + } \ No newline at end of file diff --git a/lib/screens/onBoarding/1.dart b/lib/screens/onBoarding/1.dart index 338c7a1abd1abc92de3bf98026a3cf774f10e94d..2550f47957e342c3e733264795c413adaebda69b 100644 --- a/lib/screens/onBoarding/1.dart +++ b/lib/screens/onBoarding/1.dart @@ -17,11 +17,11 @@ class OnboardingStepOne extends StatelessWidget { backgroundColor: backgroundColor, appBar: AppBar( toolbarHeight: 60 * ratio, - title: const SizedBox( + title: SizedBox( height: 22, child: Text( - 'Nouveau portefeuille', - style: TextStyle(fontWeight: FontWeight.w600), + 'newWallet'.tr(), + style: const TextStyle(fontWeight: FontWeight.w600), ), ), ), diff --git a/lib/screens/onBoarding/4.dart b/lib/screens/onBoarding/4.dart index c8a6c0176898f97911caf87942b145114f6e3f61..837de465f084220c74576c5d36c522dd4d7c737a 100644 --- a/lib/screens/onBoarding/4.dart +++ b/lib/screens/onBoarding/4.dart @@ -1,5 +1,6 @@ // ignore_for_file: file_names +import 'package:easy_localization/easy_localization.dart'; import 'package:flutter/services.dart'; import 'package:flutter/material.dart'; import 'package:gecko/globals.dart'; @@ -30,7 +31,7 @@ class OnboardingStepFor extends StatelessWidget { body: SafeArea( child: common.infoIntro( context, - 'Il est temps de vous munir d’**un papier et d’un crayon** afin de pouvoir noter votre phrase de restauration.', + 'itsTimeToUseAPenAndPaper'.tr(), 'gecko-oublie-aussi.png', '>', const OnboardingStepFive(), diff --git a/lib/screens/onBoarding/5.dart b/lib/screens/onBoarding/5.dart index e0381f911284fe0df62557fe1b4b280beb52eacf..896113658e3ec9e71c21458e7b87c9c2053670f5 100644 --- a/lib/screens/onBoarding/5.dart +++ b/lib/screens/onBoarding/5.dart @@ -53,7 +53,7 @@ class _ChooseChestState extends State<OnboardingStepFive> { common.buildProgressBar(4), SizedBox(height: isTall ? 40 : 20), common.buildText( - 'Gecko a généré votre phrase de restauration ! Tâchez de la garder bien secrète, car elle permet à quiconque la connaît d’accéder à tous vos portefeuilles.'), + 'geckoGeneratedYourMnemonicKeepItSecret'.tr()), SizedBox(height: 35 * ratio), sentanceArray(context), SizedBox(height: 17 * ratio),