From b1fabe1828f9516e7b3bb23f31f12b21fdfbc344 Mon Sep 17 00:00:00 2001 From: Javier Date: Fri, 2 Dec 2016 14:36:14 -0300 Subject: [PATCH] fix translate labels --- i18n/po/template.pot | 75 +++++--------------------- src/js/controllers/feedback/send.js | 4 +- www/views/add.html | 8 +-- www/views/addresses.html | 4 +- www/views/backup.html | 2 +- www/views/bitpayCardIntro.html | 2 +- www/views/preferencesDeleteWallet.html | 2 +- www/views/tab-home.html | 8 +-- 8 files changed, 28 insertions(+), 77 deletions(-) diff --git a/i18n/po/template.pot b/i18n/po/template.pot index 48ba7210c..afd374d04 100644 --- a/i18n/po/template.pot +++ b/i18n/po/template.pot @@ -22,10 +22,6 @@ msgstr "" msgid "5-star ratings help us get BitPay into more hands, and more users means more resources can be committed to the app!" msgstr "" -#: www/views/bitpayCardIntro.html:23 -msgid "Get local cash anywhere you go, from any Visa® compatible ATM. ATM bank fees may apply." -msgstr "" - #: src/js/controllers/feedback/send.js:27 #: www/views/feedback/complete.html:17 msgid "A member of the team will review your feedback as soon as possible." @@ -339,10 +335,8 @@ msgstr "" msgid "Browser unsupported" msgstr "" -#: www/views/tab-home.html:117 -msgid "" -"Buy & Sell Bitcoin\n" -" " +#: www/views/tab-home.html:118 +msgid "Buy & Sell Bitcoin" msgstr "" #: www/views/tab-send.html:15 @@ -657,9 +651,7 @@ msgid "Create new wallet" msgstr "" #: www/views/add.html:22 -msgid "" -"Create shared wallet\n" -" " +msgid "Create shared wallet" msgstr "" #: www/views/tab-create-shared.html:133 @@ -841,14 +833,7 @@ msgid "Enter the recovery phrase (BIP39)" msgstr "" #: www/views/backup.html:62 -msgid "" -"Enter your password\n" -" \n" -" " +msgid "Enter your password" msgstr "" #: www/views/includes/password.html:8 @@ -1110,7 +1095,7 @@ msgstr "" msgid "German" msgstr "" -#: www/views/bitpayCardIntro.html:24 +#: www/views/bitpayCardIntro.html:23 msgid "Get local cash anywhere you go, from any Visa® compatible ATM. ATM bank fees may apply." msgstr "" @@ -1177,10 +1162,6 @@ msgstr "" msgid "Hide advanced options" msgstr "" -#: src/js/controllers/feedback/send.js:62 -msgid "Hmm..." -msgstr "" - #: src/js/controllers/feedback/send.js:55 #: src/js/controllers/feedback/send.js:59 #: src/js/controllers/feedback/send.js:63 @@ -1293,9 +1274,7 @@ msgid "Import backup" msgstr "" #: www/views/add.html:38 -msgid "" -"Import wallet\n" -" " +msgid "Import wallet" msgstr "" #: src/js/services/onGoingProcess.js:23 @@ -1407,16 +1386,11 @@ msgstr "" msgid "Join my {{appName}} Wallet. Here is the invitation code: {{secret}} You can download {{appName}} for your phone or desktop at {{appUrl}}" msgstr "" +#: www/views/add.html:30 #: www/views/join.html:5 msgid "Join shared wallet" msgstr "" -#: www/views/add.html:30 -msgid "" -"Join shared wallet\n" -" " -msgstr "" - #: src/js/services/onGoingProcess.js:24 msgid "Joining Wallet..." msgstr "" @@ -1540,16 +1514,11 @@ msgid "New address could not be generated. Please try again." msgstr "" #: www/views/add.html:14 -msgid "" -"New personal wallet\n" -" " +msgid "New personal wallet" msgstr "" -#: www/views/tab-home.html:145 -msgid "" -"Next steps\n" -" \n" -" " +#: www/views/tab-home.html:146 +msgid "Next steps" msgstr "" #: www/views/onboarding/collectEmail.html:27 @@ -1677,10 +1646,6 @@ msgstr "" msgid "Order the BitPay Card" msgstr "" -#: src/js/controllers/feedback/send.js:54 -msgid "Ouch!" -msgstr "" - #: www/views/tab-import-file.html:18 #: www/views/tab-import-phrase.html:36 msgid "Password" @@ -2565,10 +2530,8 @@ msgstr "" msgid "Unsent transactions" msgstr "" -#: www/views/addresses.html:34 -msgid "" -"Unused Addresses\n" -" " +#: www/views/addresses.html:35 +msgid "Unused Addresses" msgstr "" #: www/views/addresses.html:41 @@ -2792,20 +2755,8 @@ msgstr "" #: src/js/controllers/modals/txpDetails.js:126 #: src/js/controllers/modals/txpDetails.js:143 #: src/js/controllers/preferencesDelete.js:10 -msgid "Warning!" -msgstr "" - #: www/views/preferencesDeleteWallet.html:9 -msgid "" -"Warning!\n" -"
\n" -"

\n" -" Permanently delete this wallet.\n" -"

\n" -"

\n" -" THIS ACTION CANNOT BE REVERSED\n" -"

\n" -"
" +msgid "Warning!" msgstr "" #: www/views/modals/txp-details.html:47 diff --git a/src/js/controllers/feedback/send.js b/src/js/controllers/feedback/send.js index 6410ea02c..aef8df948 100644 --- a/src/js/controllers/feedback/send.js +++ b/src/js/controllers/feedback/send.js @@ -51,7 +51,7 @@ angular.module('copayApp.controllers').controller('sendController', function($sc switch ($scope.score) { case 1: - $scope.reaction = gettextCatalog.getString("Ouch!"); + $scope.reaction = "Ouch!"; $scope.comment = gettextCatalog.getString("There's obviously something we're doing wrong.") + ' ' + gettextCatalog.getString("How could we improve your experience?"); break; case 2: @@ -59,7 +59,7 @@ angular.module('copayApp.controllers').controller('sendController', function($sc $scope.comment = gettextCatalog.getString("There's obviously something we're doing wrong.") + ' ' + gettextCatalog.getString("How could we improve your experience?"); break; case 3: - $scope.reaction = gettextCatalog.getString("Hmm..."); + $scope.reaction = "Hmm..."; $scope.comment = gettextCatalog.getString("We'd love to do better.") + ' ' + gettextCatalog.getString("How could we improve your experience?"); break; case 4: diff --git a/www/views/add.html b/www/views/add.html index 999adf042..6721477bd 100644 --- a/www/views/add.html +++ b/www/views/add.html @@ -11,7 +11,7 @@ - New personal wallet + New personal wallet @@ -19,7 +19,7 @@ - Create shared wallet + Create shared wallet @@ -27,7 +27,7 @@ - Join shared wallet + Join shared wallet @@ -35,7 +35,7 @@ - Import wallet + Import wallet diff --git a/www/views/addresses.html b/www/views/addresses.html index a4a3b6962..a113812fd 100644 --- a/www/views/addresses.html +++ b/www/views/addresses.html @@ -31,8 +31,8 @@
-
- Unused Addresses +
+ Unused Addresses
diff --git a/www/views/backup.html b/www/views/backup.html index d93429161..0137ea459 100644 --- a/www/views/backup.html +++ b/www/views/backup.html @@ -59,7 +59,7 @@ ## STEP 3 -->
-
Enter your password +
Enter your password