Update template.pot. Enables auto-detect languages
This commit is contained in:
parent
80d305fe80
commit
f7b1074941
10 changed files with 1141 additions and 1040 deletions
|
|
@ -59,11 +59,6 @@ msgstr ""
|
||||||
msgid "Available Balance"
|
msgid "Available Balance"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/create.html
|
|
||||||
#: public/views/join.html
|
|
||||||
msgid "BIP32 master extended private key"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: public/views/includes/topbar.html
|
#: public/views/includes/topbar.html
|
||||||
msgid "Back"
|
msgid "Back"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
@ -92,18 +87,6 @@ msgstr ""
|
||||||
msgid "Bitcoin address"
|
msgid "Bitcoin address"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/preferences.html
|
|
||||||
msgid "Bitcore Wallet Service"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: public/views/preferencesBwsUrl.html
|
|
||||||
msgid "Bitcore Wallet Service URL"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: public/views/modals/tx-details.html
|
|
||||||
msgid "Blockchain"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: public/views/modals/txp-details.html
|
#: public/views/modals/txp-details.html
|
||||||
msgid "Broadcast Transaction"
|
msgid "Broadcast Transaction"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
@ -175,6 +158,14 @@ msgstr ""
|
||||||
msgid "Could not connect to Wallet Service"
|
msgid "Could not connect to Wallet Service"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/history.html
|
||||||
|
msgid "Could not fetch transaction history"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/walletHome.html
|
||||||
|
msgid "Could not update Wallet"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/create.html
|
#: public/views/create.html
|
||||||
#: public/views/walletHome.html
|
#: public/views/walletHome.html
|
||||||
msgid "Create"
|
msgid "Create"
|
||||||
|
|
@ -249,10 +240,6 @@ msgstr ""
|
||||||
msgid "Generate new address"
|
msgid "Generate new address"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/receive.html
|
|
||||||
msgid "Generating a new address..."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: public/views/history.html
|
#: public/views/history.html
|
||||||
msgid "Getting transactions..."
|
msgid "Getting transactions..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
@ -266,6 +253,14 @@ msgstr ""
|
||||||
msgid "Hide"
|
msgid "Hide"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/create.html
|
||||||
|
msgid "If not given, a random key will be generated"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/join.html
|
||||||
|
msgid "If not given, a secure key will be generated"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/importLegacy.html
|
#: public/views/importLegacy.html
|
||||||
msgid "Import"
|
msgid "Import"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
@ -350,18 +345,26 @@ msgstr ""
|
||||||
msgid "More"
|
msgid "More"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/history.html
|
||||||
|
msgid "Moved"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/walletHome.html
|
#: public/views/walletHome.html
|
||||||
msgid "Multisignature wallet"
|
msgid "Multisignature wallet"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/receive.html
|
#: public/views/receive.html
|
||||||
msgid "My Bitcoin address:"
|
msgid "My Bitcoin address"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/walletHome.html
|
#: public/views/walletHome.html
|
||||||
msgid "No pending spend proposals at the moment."
|
msgid "No pending spend proposals at the moment."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/history.html
|
||||||
|
msgid "No transactions yet"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/send.html
|
#: public/views/send.html
|
||||||
#: public/views/modals/address-book.html
|
#: public/views/modals/address-book.html
|
||||||
msgid "Not valid"
|
msgid "Not valid"
|
||||||
|
|
@ -401,7 +404,7 @@ msgid "Paste backup plain text code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/join.html
|
#: public/views/join.html
|
||||||
msgid "Paste wallet secret here"
|
msgid "Paste invitation here"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/modals/tx-status.html
|
#: public/views/modals/tx-status.html
|
||||||
|
|
@ -432,6 +435,10 @@ msgstr ""
|
||||||
msgid "QR-Scanner"
|
msgid "QR-Scanner"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/history.html
|
||||||
|
msgid "Received"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/walletHome.html
|
#: public/views/walletHome.html
|
||||||
msgid "Recreate"
|
msgid "Recreate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
@ -445,15 +452,11 @@ msgid "Reject"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/modals/txp-details.html
|
#: public/views/modals/txp-details.html
|
||||||
msgid "Remove"
|
msgid "Remove transaction"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/backup.html
|
#: public/views/backup.html
|
||||||
#: public/views/includes/password.html
|
#: public/views/includes/password.html
|
||||||
msgid "Repeat Password"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: public/views/backup.html
|
|
||||||
msgid "Repeat password"
|
msgid "Repeat password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
@ -479,6 +482,10 @@ msgstr ""
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/walletHome.html
|
||||||
|
msgid "Scan status finished with error"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/walletHome.html
|
#: public/views/walletHome.html
|
||||||
msgid "Scanning Wallet funds..."
|
msgid "Scanning Wallet funds..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
@ -515,28 +522,32 @@ msgstr ""
|
||||||
msgid "Send by email"
|
msgid "Send by email"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/history.html
|
||||||
|
msgid "Sent"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/importLegacy.html
|
#: public/views/importLegacy.html
|
||||||
msgid "Server"
|
msgid "Server"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/includes/password.html
|
|
||||||
msgid "Set up a Password"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: public/views/backup.html
|
#: public/views/backup.html
|
||||||
msgid "Set up a Password for your backup"
|
msgid "Set up a Password for your backup"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/includes/password.html
|
||||||
|
msgid "Set up a password"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/receive.html
|
#: public/views/receive.html
|
||||||
msgid "Share address"
|
msgid "Share address"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/copayers.html
|
#: public/views/copayers.html
|
||||||
msgid "Share secret"
|
msgid "Share invitation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/copayers.html
|
#: public/views/copayers.html
|
||||||
msgid "Share this secret with your copayers"
|
msgid "Share this invitation with your copayers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/receive.html
|
#: public/views/receive.html
|
||||||
|
|
@ -564,6 +575,15 @@ msgstr ""
|
||||||
msgid "Spend proposals"
|
msgid "Spend proposals"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/history.html
|
||||||
|
#: public/views/walletHome.html
|
||||||
|
msgid "Tap to retry"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: public/views/modals/txp-details.html
|
||||||
|
msgid "The transaction was removed by creator"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/backup.html
|
#: public/views/backup.html
|
||||||
msgid "This wallet have its private key encrypted. Exporting a backup will keep the private key encrypted on the backup."
|
msgid "This wallet have its private key encrypted. Exporting a backup will keep the private key encrypted on the backup."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
@ -672,11 +692,11 @@ msgid "Waiting..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/join.html
|
#: public/views/join.html
|
||||||
msgid "Wallet Secret"
|
msgid "Wallet Invitation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/join.html
|
#: public/views/join.html
|
||||||
msgid "Wallet Secret is not valid!"
|
msgid "Wallet Invitation is not valid!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: public/views/copayers.html
|
#: public/views/copayers.html
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
name="password" ng-model="backup.password">
|
name="password" ng-model="backup.password">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label for="password" translate>Repeat Password</label>
|
<label for="password" translate>Repeat password</label>
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<input type="password" class="form-control"
|
<input type="password" class="form-control"
|
||||||
placeholder="{{'Repeat password'|translate}}"
|
placeholder="{{'Repeat password'|translate}}"
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
<small translate>If not given, a random key will be generated</small>
|
<small translate>If not given, a random key will be generated</small>
|
||||||
<input id="ext-master"
|
<input id="ext-master"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="{{'BIP32 master extended private key'|translate}}"
|
placeholder="BIP32 master extended private key"
|
||||||
name="privateKey" ng-model="privateKey">
|
name="privateKey" ng-model="privateKey">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@
|
||||||
<span ng-if="index.updatingTxHistory" class="text-gray animated flash infinite" translate>Getting transactions...</span>
|
<span ng-if="index.updatingTxHistory" class="text-gray animated flash infinite" translate>Getting transactions...</span>
|
||||||
<span ng-if="!index.updatingTxHistory">
|
<span ng-if="!index.updatingTxHistory">
|
||||||
<span ng-show="index.txHistoryError && !index.notAuthorized" ng-click='index.openWallet()'>
|
<span ng-show="index.txHistoryError && !index.notAuthorized" ng-click='index.openWallet()'>
|
||||||
Could not fetch transaction history
|
<span translate>Could not fetch transaction history</span>
|
||||||
<br> [Tap to retry]
|
<br> [<span translate>Tap to retry</span>]
|
||||||
</span>
|
</span>
|
||||||
<span ng-if="!index.txHistoryError">
|
<span ng-if="!index.txHistoryError" translate>
|
||||||
No transactions yet
|
No transactions yet
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -21,9 +21,9 @@
|
||||||
class="row collapse last-transactions-content">
|
class="row collapse last-transactions-content">
|
||||||
<div class="large-3 medium-3 small-3 columns">
|
<div class="large-3 medium-3 small-3 columns">
|
||||||
<span class="label tu radius" ng-show="btx.action == 'received'"
|
<span class="label tu radius" ng-show="btx.action == 'received'"
|
||||||
ng-style="{'background-color':index.backgroundColor}">Received</span>
|
ng-style="{'background-color':index.backgroundColor}" translate>Received</span>
|
||||||
<span class="label tu gray radius" ng-show="btx.action == 'sent'">Sent</span>
|
<span class="label tu gray radius" ng-show="btx.action == 'sent'" translate>Sent</span>
|
||||||
<span class="label tu gray radius" ng-show="btx.action == 'moved'">Moved</span>
|
<span class="label tu gray radius" ng-show="btx.action == 'moved'" translate>Moved</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="large-5 medium-5 small-5 columns">
|
<div class="large-5 medium-5 small-5 columns">
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
>
|
>
|
||||||
<div class="columns m20t">
|
<div class="columns m20t">
|
||||||
<label class="size-14 text-center" for="password" ng-if="index.askPassword.isSetup">
|
<label class="size-14 text-center" for="password" ng-if="index.askPassword.isSetup">
|
||||||
<span ng-show="!pass.isVerification" translate>Set up a Password</span>
|
<span ng-show="!pass.isVerification" translate>Set up a password</span>
|
||||||
<span ng-show="pass.isVerification" translate>Repeat Password</span>
|
<span ng-show="pass.isVerification" translate>Repeat password</span>
|
||||||
</label>
|
</label>
|
||||||
<label class="size-14 text-center" for="password" ng-if="!index.askPassword.isSetup">
|
<label class="size-14 text-center" for="password" ng-if="!index.askPassword.isSetup">
|
||||||
<span translate>Enter your password</span>
|
<span translate>Enter your password</span>
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
<small translate>If not given, a secure key will be generated</small>
|
<small translate>If not given, a secure key will be generated</small>
|
||||||
<input id="ext-master"
|
<input id="ext-master"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="{{'BIP32 master extended private key'|translate}}"
|
placeholder="BIP32 master extended private key"
|
||||||
name="privateKey" ng-model="privateKey">
|
name="privateKey" ng-model="privateKey">
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="line-b p20" ng-click="$root.go('preferencesBwsUrl')">
|
<li class="line-b p20" ng-click="$root.go('preferencesBwsUrl')">
|
||||||
<span translate>Bitcore Wallet Service</span>
|
<span>Bitcore Wallet Service</span>
|
||||||
<span class="text-gray db">
|
<span class="text-gray db">
|
||||||
<i class="icon-arrow-right3 size-24 right"></i>
|
<i class="icon-arrow-right3 size-24 right"></i>
|
||||||
{{preferences.bwsurl}}
|
{{preferences.bwsurl}}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="preferences m20t columns" ng-controller="preferencesBwsUrlController as prefBwsUrl">
|
<div class="preferences m20t columns" ng-controller="preferencesBwsUrlController as prefBwsUrl">
|
||||||
<form name="settingsBwsUrlForm" ng-submit="prefBwsUrl.save()" class="m20t">
|
<form name="settingsBwsUrlForm" ng-submit="prefBwsUrl.save()" class="m20t">
|
||||||
<label translate>Bitcore Wallet Service URL</label>
|
<label>Bitcore Wallet Service URL</label>
|
||||||
<input type="text" id="bwsurl" type="text" name="bwsurl" ng-model="prefBwsUrl.bwsurl">
|
<input type="text" id="bwsurl" type="text" name="bwsurl" ng-model="prefBwsUrl.bwsurl">
|
||||||
<input type="submit" class="button expand black radius" value="{{'Save'|translate}}"
|
<input type="submit" class="button expand black radius" value="{{'Save'|translate}}"
|
||||||
ng-style="{'background-color':index.backgroundColor}">
|
ng-style="{'background-color':index.backgroundColor}">
|
||||||
|
|
|
||||||
|
|
@ -418,19 +418,19 @@ angular
|
||||||
.run(function($rootScope, $state, $log, gettextCatalog, uriHandler, isCordova, amMoment, profileService) {
|
.run(function($rootScope, $state, $log, gettextCatalog, uriHandler, isCordova, amMoment, profileService) {
|
||||||
|
|
||||||
// Auto-detect browser language
|
// Auto-detect browser language
|
||||||
// Commented for now (default: English)
|
// (default: English)
|
||||||
//var userLang, androidLang;
|
var userLang, androidLang;
|
||||||
//
|
|
||||||
//if (navigator && navigator.userAgent && (androidLang = navigator.userAgent.match(/android.*\W(\w\w)-(\w\w)\W/i))) {
|
|
||||||
// userLang = androidLang[1];
|
|
||||||
//} else {
|
|
||||||
// // works for iOS and Android 4.x
|
|
||||||
// userLang = navigator.userLanguage || navigator.language;
|
|
||||||
//}
|
|
||||||
|
|
||||||
//userLang = userLang ? (userLang.split('-', 1)[0] || 'en') : 'en';
|
if (navigator && navigator.userAgent && (androidLang = navigator.userAgent.match(/android.*\W(\w\w)-(\w\w)\W/i))) {
|
||||||
//gettextCatalog.setCurrentLanguage(userLang);
|
userLang = androidLang[1];
|
||||||
//amMoment.changeLocale(userLang);
|
} else {
|
||||||
|
// works for iOS and Android 4.x
|
||||||
|
userLang = navigator.userLanguage || navigator.language;
|
||||||
|
}
|
||||||
|
|
||||||
|
userLang = userLang ? (userLang.split('-', 1)[0] || 'en') : 'en';
|
||||||
|
gettextCatalog.setCurrentLanguage(userLang);
|
||||||
|
amMoment.changeLocale(userLang);
|
||||||
|
|
||||||
// Register URI handler, not for mobileApp
|
// Register URI handler, not for mobileApp
|
||||||
if (!isCordova) {
|
if (!isCordova) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue