From 01ce736212b782b157525480e895085ae0a44ea8 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Fri, 11 Dec 2015 18:06:13 -0300 Subject: [PATCH 1/3] Missing translations in some strings --- public/views/backup.html | 13 +++++++------ public/views/walletHome.html | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/public/views/backup.html b/public/views/backup.html index db84af5be..08efd6c1c 100644 --- a/public/views/backup.html +++ b/public/views/backup.html @@ -31,7 +31,7 @@
-
Write your wallet seed
+
Write your wallet seed
To restore this {{index.m}}-{{index.n}} shared wallet you will need @@ -111,8 +111,8 @@
-
Confirm your wallet seed
-

+

Confirm your wallet seed
+

Please tap the words in order to confirm your backup phrase is correctly written.

@@ -143,8 +143,8 @@
-
Enter your passphrase
-

+

Enter your passphrase
+

In order to verify your wallet backup, please type your passphrase:

@@ -200,7 +200,8 @@
-
Backup failed +
+
Backup failed

Failed to verify backup. Please check your information

diff --git a/public/views/walletHome.html b/public/views/walletHome.html index ba4cfe192..fe0bfa1f3 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -312,7 +312,7 @@
-
Backup Needed
+
Backup Needed

Before receiving funds, it is highly recommended you backup your wallet. If you lose this device, it is impossible to access your funds without a backup.

From 98973826cbdbc45415fec5b02b085529e665d41b Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Fri, 11 Dec 2015 18:08:44 -0300 Subject: [PATCH 2/3] Adds translation --- src/js/routes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/routes.js b/src/js/routes.js index fb2bfe569..156acca66 100644 --- a/src/js/routes.js +++ b/src/js/routes.js @@ -478,7 +478,7 @@ angular url: '/cordova/:status/:fromHome/:fromDisclaimer/:secondBackButtonPress', views: { 'main': { - controller: function($rootScope, $state, $stateParams, $timeout, go, isCordova) { + controller: function($rootScope, $state, $stateParams, $timeout, go, isCordova, gettextCatalog) { switch ($stateParams.status) { case 'resume': @@ -493,7 +493,7 @@ angular if ($stateParams.secondBackButtonPress == 'true') { navigator.app.exitApp(); } else { - window.plugins.toast.showShortBottom('Press again to exit'); + window.plugins.toast.showShortBottom(gettextCatalog.getString('Press again to exit')); } } else { $rootScope.$emit('closeModal'); From 0003748f1d373d85d2261d83c758ed485127bffc Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Fri, 11 Dec 2015 18:08:56 -0300 Subject: [PATCH 3/3] Updates pot file --- i18n/po/template.pot | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/i18n/po/template.pot b/i18n/po/template.pot index 8c5e0542f..21850f9dd 100644 --- a/i18n/po/template.pot +++ b/i18n/po/template.pot @@ -180,6 +180,14 @@ msgstr "" msgid "Backup" msgstr "" +#: public/views/backup.html +msgid "Backup failed" +msgstr "" + +#: public/views/walletHome.html +msgid "Backup Needed" +msgstr "" + #: public/views/walletHome.html msgid "Backup now" msgstr "" @@ -300,10 +308,18 @@ msgstr "" msgid "Confirm" msgstr "" +#: public/views/backup.html +msgid "Confirm your wallet seed" +msgstr "" + #: public/views/modals/tx-details.html msgid "Confirmations" msgstr "" +#: public/views/backup.html +msgid "Congratulations!" +msgstr "" + #: public/views/create.html msgid "Connecting to {{create.hwWallet}} Wallet..." msgstr "" @@ -573,6 +589,10 @@ msgstr "" msgid "Enter the seed words (BIP39)" msgstr "" +#: public/views/backup.html +msgid "Enter your passphrase" +msgstr "" + #: public/views/includes/password.html msgid "Enter your password" msgstr "" @@ -747,6 +767,10 @@ msgstr "" msgid "In no event shall the authors of the software, employees and affiliates of Bitpay, copyright holders, or BitPay, Inc. be held liable for any claim, damages or other liability, whether in an action of contract, tort, or otherwise, arising from, out of or in connection with the software." msgstr "" +#: public/views/backup.html +msgid "In order to verify your wallet backup, please type your passphrase:" +msgstr "" + #: public/views/export.html msgid "Include address book and history cache" msgstr "" @@ -1116,6 +1140,10 @@ msgstr "" msgid "Please enter the wallet seed" msgstr "" +#: public/views/backup.html +msgid "Please tap the words in order to confirm your backup phrase is correctly written." +msgstr "" + #: src/js/services/bwsError.js msgid "Please upgrade Copay to perform this action" msgstr "" @@ -1132,6 +1160,10 @@ msgstr "" msgid "Preparing backup..." msgstr "" +#: src/js/routes.js +msgid "Press again to exit" +msgstr "" + #: src/js/services/feeService.js msgid "Priority" msgstr "" @@ -1600,10 +1632,6 @@ msgstr "" msgid "Updating Wallet..." msgstr "" -#: public/views/walletHome.html -msgid "Updating..." -msgstr "" - #: public/views/preferencesGlobal.html msgid "Use Unconfirmed Funds" msgstr "" @@ -1766,6 +1794,10 @@ msgstr "" msgid "While the software has undergone beta testing and continues to be improved by feedback from the open-source user and developer community, we cannot guarantee that there will be no bugs in the software." msgstr "" +#: public/views/backup.html +msgid "Write your wallet seed" +msgstr "" + #: src/js/controllers/import.js msgid "Wrong number of seed words:" msgstr ""