Fix translate attrs

This commit is contained in:
Gustavo Maximiliano Cortez 2015-09-13 00:10:02 -03:00
commit 4533365107
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
9 changed files with 24 additions and 33 deletions

View file

@ -12,6 +12,15 @@ msgstr ""
msgid "{{fee}} will be discounted for bitcoin networking fees" msgid "{{fee}} will be discounted for bitcoin networking fees"
msgstr "" msgstr ""
#: public/views/copayers.html
#: public/views/walletHome.html
msgid "{{index.m}}-of-{{index.n}}"
msgstr ""
#: public/views/includes/sidebar.html
msgid "{{item.m}}-of-{{item.n}}"
msgstr ""
#: src/js/controllers/importLegacy.js #: src/js/controllers/importLegacy.js
msgid "{{len}} wallets imported. Funds scanning in progress. Hold on to see updated balance" msgid "{{len}} wallets imported. Funds scanning in progress. Hold on to see updated balance"
msgstr "" msgstr ""
@ -252,10 +261,6 @@ msgstr ""
msgid "Confirmations" msgid "Confirmations"
msgstr "" msgstr ""
#: public/views/preferencesInformation.html
msgid "Copayer {{$index}}"
msgstr ""
#: src/js/services/bwsError.js #: src/js/services/bwsError.js
msgid "Copayer already in this wallet" msgid "Copayer already in this wallet"
msgstr "" msgstr ""
@ -460,7 +465,7 @@ msgid "Economy"
msgstr "" msgstr ""
#: public/views/preferencesEmail.html #: public/views/preferencesEmail.html
msgid "email for wallet notifications" msgid "Email for wallet notifications"
msgstr "" msgstr ""
#: public/views/preferences.html #: public/views/preferences.html
@ -800,21 +805,6 @@ msgstr ""
msgid "Note" msgid "Note"
msgstr "" msgstr ""
#: public/views/copayers.html
#: public/views/walletHome.html
#: public/views/includes/sidebar.html
msgid "of"
msgstr ""
#: public/views/includes/alert.html
#: public/views/includes/password.html
msgid "OK"
msgstr ""
#: public/views/modals/tx-status.html
msgid "OKAY"
msgstr ""
#: public/views/preferencesInformation.html #: public/views/preferencesInformation.html
msgid "Only Main (not change) addresses are shown. The addresses on this list were not verified locally at this time." msgid "Only Main (not change) addresses are shown. The addresses on this list were not verified locally at this time."
msgstr "" msgstr ""

View file

@ -30,7 +30,7 @@
<h4 class="title oh m0"> <h4 class="title oh m0">
<span translate>Waiting for copayers</span> <span translate>Waiting for copayers</span>
<span class="text-gray right"> <span class="text-gray right">
[ {{index.m}} <span translate>of</span> {{index.n}} ] [ <span translate>{{index.m}}-of-{{index.n}}</span> ]
</span> </span>
</h4> </h4>
<div class="p10 line-b" ng-include="'views/includes/copayers.html'"></div> <div class="p10 line-b" ng-include="'views/includes/copayers.html'"></div>

View file

@ -8,7 +8,7 @@
{{index.showAlert.msg|translate}} {{index.showAlert.msg|translate}}
</div> </div>
<div class="text-center m20t" ng-click="index.showAlert.close()"> <div class="text-center m20t" ng-click="index.showAlert.close()">
<a class="button outline light-gray round tiny small-4" translate>OK</a> <a class="button outline light-gray round tiny small-4">OK</a>
</div> </div>
</div> </div>
</div> </div>

View file

@ -29,15 +29,15 @@
<div class="small-6 columns"> <div class="small-6 columns">
<button class="round expand" ng-click="pass.set(index.askPassword.isSetup, index.askPassword.callback)" ng-disabled="!pass.password" <button class="round expand" ng-click="pass.set(index.askPassword.isSetup, index.askPassword.callback)" ng-disabled="!pass.password"
ng-style="{'background-color':index.backgroundColor}"> ng-style="{'background-color':index.backgroundColor}">
<span translate ng-if="index.askPassword.isSetup" translate>SET</span> <span ng-if="index.askPassword.isSetup" translate>SET</span>
<span translate ng-if="!index.askPassword.isSetup" translate>OK</span> <span ng-if="!index.askPassword.isSetup">OK</span>
</button> </button>
</div> </div>
</div> </div>
<p class="text-warning size-12 columns m20t text-center" ng-show="index.askPassword.isSetup"> <p class="text-warning size-12 columns m20t text-center" ng-show="index.askPassword.isSetup">
<i class="fi-alert"></i> <i class="fi-alert"></i>
<span translate ng-show="!pass.error"> Password cannot be recovered. Be sure to write it down</span> <span translate ng-show="!pass.error">Password cannot be recovered. Be sure to write it down</span>
<span ng-show="pass.error">{{pass.error|translate}}</span> <span ng-show="pass.error">{{pass.error|translate}}</span>
</p> </p>

View file

@ -12,7 +12,7 @@
<div class="avatar-wallet" <div class="avatar-wallet"
ng-style="{'background-color':item.color}">{{(item.name || item.id) | limitTo: 1}}</div> ng-style="{'background-color':item.color}">{{(item.name || item.id) | limitTo: 1}}</div>
<div class="name-wallet" ng-class="{'m8t':item.n == 1}">{{item.name || item.id}}</div> <div class="name-wallet" ng-class="{'m8t':item.n == 1}">{{item.name || item.id}}</div>
<div class="size-12" ng-show="item.n > 1">{{item.m}} <span translate>of</span> {{item.n}}</div> <div class="size-12" ng-show="item.n > 1" translate>{{item.m}}-of-{{item.n}}</div>
</a> </a>
</li> </li>
<li> <li>

View file

@ -5,7 +5,7 @@
<span translate>Payment Sent</span> <span translate>Payment Sent</span>
</div> </div>
<div class="text-center"> <div class="text-center">
<a class="button outline round white tiny small-4" ng-click="cancel()" translate>OKAY</a> <a class="button outline round white tiny small-4" ng-click="cancel()">OKAY</a>
</div> </div>
</div> </div>
@ -16,7 +16,7 @@
<span translate>Payment Proposal Created</span> <span translate>Payment Proposal Created</span>
</div> </div>
<div class="text-center"> <div class="text-center">
<a class="button outline round light-gray tiny small-4" ng-click="cancel()" translate>OKAY</a> <a class="button outline round light-gray tiny small-4" ng-click="cancel()">OKAY</a>
</div> </div>
</div> </div>
@ -28,7 +28,7 @@
<span translate>Payment Accepted</span> <span translate>Payment Accepted</span>
</div> </div>
<div class="text-center"> <div class="text-center">
<a class="button outline round light-gray tiny small-4" ng-click="cancel()" translate>OKAY</a> <a class="button outline round light-gray tiny small-4" ng-click="cancel()">OKAY</a>
</div> </div>
</div> </div>
@ -38,6 +38,6 @@
<span translate>Payment Rejected</span> <span translate>Payment Rejected</span>
</div> </div>
<div class="text-center"> <div class="text-center">
<a class="button outline light-gray round tiny small-4" ng-click="cancel()" translate>OKAY</a> <a class="button outline light-gray round tiny small-4" ng-click="cancel()">OKAY</a>
</div> </div>
</div> </div>

View file

@ -29,7 +29,7 @@
</span> </span>
</div> </div>
<label translate>email for wallet notifications</label> <label translate>Email for wallet notifications</label>
<input type="email" id="email" name="email" ng-model="prefEmail.email" required> <input type="email" id="email" name="email" ng-model="prefEmail.email" required>
<input type="submit" class="button expand black round" value="{{'Save'|translate}}" <input type="submit" class="button expand black round" value="{{'Save'|translate}}"
ng-style="{'background-color':index.backgroundColor}" ng-disabled="emailForm.$invalid && !index.preferences.email"> ng-style="{'background-color':index.backgroundColor}" ng-disabled="emailForm.$invalid && !index.preferences.email">

View file

@ -55,7 +55,7 @@
<h4 class="title m0" translate>Extended Public Keys</h4> <h4 class="title m0" translate>Extended Public Keys</h4>
<li class="line-b p10" ng-repeat="pk in pubKeys"> <li class="line-b p10" ng-repeat="pk in pubKeys">
<div class="row"> <div class="row">
<div class="small-3 columns" translate>Copayer</span> {{$index}} <div class="small-3 columns">Copayer {{$index}}
</div> </div>
<div class="small-9 columns oh enable_text_select text-gray" style="text-overflow:ellipsis"> <div class="small-9 columns oh enable_text_select text-gray" style="text-overflow:ellipsis">

View file

@ -123,7 +123,8 @@
{{(index.alias || index.walletName)}} {{(index.alias || index.walletName)}}
</p> </p>
<div class="size-12 text-gray"> <div class="size-12 text-gray">
<span translate>Multisignature wallet</span> ({{index.m}} <span translate>of</span> {{index.n}}) <span translate>Multisignature wallet</span>
(<span translate>{{index.m}}-of-{{index.n}}</span>)
<span ng-if="index.network != 'livenet'">- Testnet</span> <span ng-if="index.network != 'livenet'">- Testnet</span>
<span ng-if="!index.canSign"> - <span translate>No Private key</span></span> <span ng-if="!index.canSign"> - <span translate>No Private key</span></span>
</div> </div>