Update translation. Removed old files

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-22 15:19:08 -03:00
commit 93e61b66df
29 changed files with 358 additions and 703 deletions

View file

@ -4,7 +4,7 @@
<i class="fi-alert"></i>
</div>
<div class="dr-notification-content">
<h3 class="dr-notification-title">Wallet Service Error</h3>
<h3 class="dr-notification-title" translate>Wallet Service Error</h3>
<div class="dr-notification-text ellipsis">
{{index.clientError.error || index.clientError.message || index.clientError}}
</div>

View file

@ -1,6 +0,0 @@
<div class="loading-screen">
<div class="loading-screen-content">
<img src="img/ajax-loader.gif" alt="Loading...">
<div class="text-gray size-12" ng-show="title">{{title|translate}}...</div>
</div>
</div>

View file

@ -1 +0,0 @@
<span class="photo-container"><i class="fi-torso size-42"></i></span>

View file

@ -1,54 +0,0 @@
<div ng-controller="pinController as pin" ng-init="pin.init(confirmPin, testPin)">
<h3 class="text-center text-white">
<span ng-show="pin.askForPin == 1">Setup a PIN</span>
<span ng-show="pin.askForPin == 2">Repeat PIN</span>
</h3>
<div class="text-center size-12 text-warning" ng-show="pin.error || cp.error">
{{(pin.error || cp.error)|translate}}
</div>
<div class="pin" ng-show="!pin.error && !cp.error">
<div class="pin-box">
<i class="icon-circle" ng-show="!pin.defined[0]"></i>
<i class="icon-circle-active" ng-show="pin.defined[0]"></i>
</div>
<div class="pin-box">
<i class="icon-circle" ng-show="!pin.defined[1]"></i>
<i class="icon-circle-active" ng-show="pin.defined[1]"></i>
</div>
<div class="pin-box">
<i class="icon-circle" ng-show="!pin.defined[2]"></i>
<i class="icon-circle-active" ng-show="pin.defined[2]"></i>
</div>
<div class="pin-box">
<i class="icon-circle" ng-show="!pin.defined[3]"></i>
<i class="icon-circle-active" ng-show="pin.defined[3]"></i>
</div>
</div>
<div class="pin-numbers">
<div class="pin-button-bar">
<a class="pin-button" ng-click="pin.press(1)">1</a>
<a class="pin-button" ng-click="pin.press(2)">2</a>
<a class="pin-button" ng-click="pin.press(3)">3</a>
</div>
<div class="pin-button-bar">
<a class="pin-button" ng-click="pin.press(4)">4</a>
<a class="pin-button" ng-click="pin.press(5)">5</a>
<a class="pin-button" ng-click="pin.press(6)">6</a>
</div>
<div class="pin-button-bar">
<a class="pin-button" ng-click="pin.press(7)">7</a>
<a class="pin-button" ng-click="pin.press(8)">8</a>
<a class="pin-button" ng-click="pin.press(9)">9</a>
</div>
<div class="pin-button-bar">
<a class="pin-button" ng-click="pin.skip()">
<i class="text-primary size-16 vm" translate>Skip</i>
</a>
<a class="pin-button" ng-click="pin.press(0)">0</a>
<a class="pin-button" ng-click="pin.clear()"><i class="fi-arrow-left"></i></a>
</div>
</div>
</div>

View file

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

View file

@ -2,7 +2,7 @@
ng-class="{'text-gray':!tx.pendingForUs}"
ng-click="openTxModal(tx, index.copayers)">
<div class="m5b size-12 text-gray">
<time>{{ (tx.ts || tx.createdTs ) | amTimeAgo}}</time>
<time>{{ (tx.ts || tx.createdOn ) * 1000 | amTimeAgo}}</time>
</div>
<div class="row collapse">
<div class="ellipsis small-8 columns size-14">

View file

@ -1,82 +0,0 @@
<nav class="tab-bar text-right hide-for-large-up">
<span ng-click="close()" class="p10 text-white" translate>Close</span>
</nav>
<div class="modal-mobile">
<h1 ng-show="!showForm" translate>Address Book</h1>
<h1 ng-show="showForm" translate>Add a new entry</h1>
<p translate class="text-gray m15b" ng-show="!showForm && !hasEntry()" translate>
Empty. Create an alias for your addresses
</p>
<div class="box-notification" ng-show="success">
<span class="size-14 text-success">
{{success|translate}}
</span>
</div>
<table class="addressbook line-t" ng-show="!showForm && hasEntry()">
<thead class="show-for-large-up">
<tr>
<th translate>Entry</th>
<th class="show-for-large-up" ng-class="{'hide-for-small-only' : $root.wallet.isShared()}" ng-show="$root.wallet.isShared()" translate>Creator</th>
<th class="show-for-large-up" translate>Date</th>
<th class="show-for-large-up" translate>Visible</th>
</tr>
</thead>
<tbody>
<tr
ng-repeat="(addr, info) in addressBook"
ng-class="{'addressbook-disabled': info.hidden}">
<td ng-click="copyToSend(addr)">
<b>{{info.label}}</b><br>
<small class="address-size">{{::addr}}</small>
</td>
<td class="show-for-large-up" ng-click="copyToSend(addr)" ng-show="$root.wallet.isShared()">{{$root.wallet.publicKeyRing.nicknameForCopayer(info.copayerId)}}</td>
<td ng-click="copyToSend(addr)" class="show-for-large-up"><time>{{::info.createdTs | amCalendar}}</time></td>
<td class="show-for-large-up text-center">
<a ng-click="toggleAddressBookEntry(addr)" title="{{ info.hidden ? 'Enable' : 'Disable'}} address">
<i class="fi-checkbox size-21"
ng-class="{'text-success':!info.hidden, 'text-gray':info.hidden}"></i>
</a>
</td>
</tr>
</tbody>
</table>
<form ng-show="showForm" class="m0" name="addressBookForm"
ng-disabled="loading"
ng-submit="submitAddressBook(addressBookForm)" novalidate>
<div class="box-notification" ng-show="error">
<span class="size-14 text-warning">
{{error|translate}}
</span>
</div>
<div class="row collapse">
<label for="newaddress" class="left"><span translate>Address</span>
<small translate ng-hide="!addressBookForm.newaddress.$pristine || newaddress">Required</small>
</label>
<span class="has-error right size-12" ng-show="addressBookForm.newaddress.$invalid && newaddress">
<span class="icon-input"><i class="fi-x"></i></span>
<span translate>Not valid</span>
</span>
<small class="icon-input right" ng-show="!addressBookForm.newaddress.$invalid && newaddress"><i class="fi-check"></i></small>
</div>
<div class="input">
<input type="text" name="newaddress"
placeholder="{{'Address'|translate}}" ng-model="newaddress" valid-address required>
</div>
<label for="newlabel"><span translate>Label</span>
<small translate ng-hide="!addressBookForm.newlabel.$pristine || newlabel">Required</small>
<div class="input">
<input type="text" name="newlabel"
placeholder="{{'Label'|translate}}" ng-model="newlabel" required>
</div>
</label>
<a translate class="button secondary default" ng-show="!loading" ng-click="cancel(addressBookForm)">Cancel</a>
<button class="primary right"
ng-disabled="addressBookForm.$invalid || loading"
ng-click="submitAddressBook(addressBookForm)">{{'Add'|translate}}</button>
</form>
<a ng-show="!showForm" class="button primary expand" ng-disabled="loading" ng-click="toggleForm()">
<i class="fi-plus"></i> <span translate>Add entry</span>
</a>
<a class="close-reveal-modal show-for-large-up" ng-click="close()"><i class="fi-x size-18"></i></a>
</div>

View file

@ -24,24 +24,24 @@
<div class="line-b m10v"></div>
<div class="ellipsis m10v">
<i translate>To:</i> {{paypro.domain}}
<i translate>To</i>: {{paypro.domain}}
</div>
<div class="m10v">
<i translate>Certified by:</i>
<i translate>Certified by</i>:
<span ng-show="paypro.verified"><i class="fi-lock color-greeni"></i> {{paypro.verifyData.caName}}</span>
<span ng-show="!paypro.verified"><i class="fi-unlock color-yellowi"></i> <span translate>Untrusted</span></span>
</div>
<div ng-if="md.pr.pd.memo" class="m10v lh140">
<i translate>Merchant Message:</i>
<i translate>Merchant message</i>:
<span class="text-gray">
{{paypro.memo}}
</span>
</div>
<div ng-if="md.expirationDate" class="m10v">
<i translate>Expires:</i> {{paypro.expires | amTimeAgo }}
<i translate>Expires</i>: {{paypro.expires | amTimeAgo }}
</div>
</div>
</div>

View file

@ -1,26 +0,0 @@
<nav class="tab-bar">
<section class="right-small">
<a ng-click="cancel()">
<span class="text-close" translate>Close</span>
</a>
</section>
<section class="middle tab-bar-section">
<h1 class="title ellipsis" translate>
Address
</h1>
</section>
</nav>
<div class="p60t text-center" ng-init="addr = address.address">
<qrcode size="220" data="{{addr}}"></qrcode>
<div class="size-12" ng-class="{'enable_text_select': !isCordova}">
{{addr}}
</div>
<div class="m5t size-10 text-secondary" ng-show="address.isChange" translate>change</div>
<div class="text-center m10t" ng-if="isCordova">
<button class="secondary" ng-click="copyAddress(addr)">
<i class="fi-clipboard-pencil"></i> <span translate>Copy to clipboard</span>
</button>
</div>
</div>

View file

@ -5,7 +5,7 @@
</a>
</section>
<section class="middle tab-bar-section">
<h1 class="title ellipsis" translate>
<h1 class="title ellipsis">
QR-Scanner
</h1>
</section>

View file

@ -24,7 +24,7 @@
<h4 class="title m0" translate>Information</h4>
<ul class="no-bullet size-14 m0">
<li ng-if="btx.addressTo" class="line-b p10 oh">
<span class="text-gray" translate>To:</span>
<span class="text-gray" translate>To</span>:
<span class="right">
<span ng-if="btx.merchant">
<span ng-show="btx.merchant.pr.ca"><i class="fi-lock color-greeni"></i> {{btx.merchant.domain}}</span>
@ -36,25 +36,25 @@
</span>
</li>
<li ng-if="btx.time" class="line-b p10">
<span class="text-gray" translate>Date:</span>
<span class="text-gray" translate>Date</span>:
<span class="right">
<time>{{ btx.time * 1000 | amCalendar}}</time>
</span>
</li>
<li ng-if="btx.message" class="line-b p10 oh">
<span class="text-gray" translate>Note:</span>
<span class="text-gray" translate>Note</span>:
<span class="right">
{{btx.message}}
</span>
</li>
<li ng-if="btx.merchant" class="line-b p10 oh">
<span class="text-gray" translate>Merchant Message:</span>
<span class="text-gray" translate>Merchant message</span>:
<span class="right">
{{btx.merchant.pr.pd.memo}}
</span>
</li>
<li ng-if="btx.time" class="line-b p10">
<span class="text-gray" translate>Confirmations:</span>
<span class="text-gray" translate>Confirmations</span>:
<span class="right" >
<span class="text-warning" ng-show="!btx.confirmations || btx.confirmations == 0" translate>
Unconfirmed

View file

@ -14,35 +14,35 @@
<h4 class="title m0" translate>Information</h4>
<ul class="no-bullet size-14 m0">
<li class="line-b p10">
<span class="text-gray">To:</span>
<span class="text-gray" translate>To</span>:
<span class="right">{{tx.toAddress}}</span>
</li>
<li class="line-b p10">
<span class="text-gray">Amount:</span>
<span class="text-gray" translate>Amount</span>:
<span class="right">{{amountStr}}
<span class="label gray radius">{{alternativeAmountStr}}</span>
</span>
</li>
<li class="line-b p10">
<span class="text-gray">Time:</span>
<span class="text-gray" translate>Time</span>:
<span class="right">
<time>{{ (tx.ts || tx.createdOn ) * 1000 | amTimeAgo}}</time>
</span>
</li>
<li class="line-b p10 oh">
<span class="text-gray">Create by:</span>
<span class="text-gray" translate>Created by</span>:
<span class="right">{{tx.creatorName}}</span>
</li>
<li class="line-b p10 oh">
<span class="text-gray">Note:</span>
<span class="text-gray" translate>Note</span>:
<span class="right">{{tx.message}}</span>
</li>
</ul>
<div ng-if="tx.paypro">
<h4 class="title m0">PAYMENT DETAILS</h4>
<h4 class="title m0" translate>Payment details</h4>
<ul class="no-bullet size-14 m0">
<li class="line-b p10">
<span class="text-gray">To:</span>
<span class="text-gray" translate>To</span>:
<span class="right">
<span>
<span ng-show="tx.merchant.pr.ca"><i class="fi-lock"></i> {{tx.paypro.domain}}</span>
@ -52,7 +52,7 @@
</span>
</li>
<li class="line-b p10">
<span class="text-gray">Expires:</span>
<span class="text-gray" translate>Expires</span>:
<span class="right">
<time>{{tx.paypro.expirationDate | amTimeAgo }}</time>
</span>
@ -65,7 +65,7 @@
</div>
<div ng-if="tx.actions[0] && !txRejected && !txBroadcasted">
<h4 class="title m0">Signatures:</h4>
<h4 class="title m0" translate>Signatures</h4>
<ul class="no-bullet size-14 m0">
<li class="line-b p10 text-gray" ng-repeat="ac in tx.actions">
<i class="icon-contact size-24"></i>

View file

@ -1,30 +0,0 @@
<nav class="tab-bar text-right hide-for-large-up">
<span ng-click="cancel()" class="p10 text-white" translate>Close</span>
</nav>
<div class="modal-mobile" ng-init="setWallets()">
<h1 class="line-b" translate>Select a wallet to make the payment</h1>
<div class="m20v" ng-show="!wallets[0]" translate>Loading...</div>
<ul class="wallet-selection wallets" ng-show="wallets[0]">
<li ng-repeat="item in wallets track by $index" class="nav-item" ng-show="+item.balanceInfo.totalBalanceBTC > 0" ng-click="ok(item)">
<div class="col1">
<div class="avatar-wallet">{{item.getName() | limitTo: 1}}</div>
</div>
<div class="col2">
<a class="size-12 wallet-item">
<div class="oh">
<div class="right size-10 type-wallet">
[ {{item.requiredCopayers}} of {{item.totalCopayers}} ]</div>
<div class="ellipsis name-wallet">{{item.getName()}}</div>
</div>
<div class="oh">
<b class="m5r size-12">{{item.balanceInfo.totalBalance || 0}} {{item.settings.unitName}}</b>
<span class="alt-currency size-10">{{item.balanceInfo.totalBalanceAlternative}} {{item.balanceInfo.alternativeIsoCode}}</span>
</div>
</a>
</div>
</li>
</ul>
<a class="close-reveal-modal show-for-large-up" ng-click="cancel()"><i class="fi-x size-18"></i></a>
</div>

View file

@ -26,12 +26,21 @@
</li>
<h4 class="title m0" translate>Global settings</h4>
<li class="line-b p20" ng-click="$root.go('preferencesLanguage')">
<span translate>Language</span>
<span class="right text-gray">
<i class="icon-arrow-right3 size-24 right"></i>
{{index.defaultLanguageName}}
</span>
</li>
<li class="line-b p20" ng-click="$root.go('preferencesUnit')">
<span translate>Unit</span>
<span class="right text-gray">
<i class="icon-arrow-right3 size-24 right"></i>
{{preferences.unitName}}
</span>
</span>
</li>
<li class="line-b p20" ng-click="$root.go('preferencesAltCurrency')">

View file

@ -0,0 +1,10 @@
<div class="preferences" ng-controller="preferencesLanguageController as prefLang">
<div class="animated infinite flash text-center m20t text-gray" ng-show="prefLang.loading" translate>Applying changes</div>
<div ng-show="!prefLang.loading"
ng-repeat="lang in index.availableLanguages"
ng-click="prefLang.save(lang.isoCode)" class="line-b p20 size-14">
<span>{{lang.name}}</span>
<i class="fi-check size-16 right" ng-show="index.defaultLanguage == lang.isoCode"></i>
</div>
</div>
<div class="extra-margin-bottom"></div>

View file

@ -88,7 +88,7 @@
<div ng-show="index.requiresMultipleSignatures && index.txps[0]">
<h4 class="title m0" translate>Spend proposals</h4>
<div class="last-transactions pr" ng-repeat="tx in index.txps | orderBy:'-createdTs'"
<div class="last-transactions pr" ng-repeat="tx in index.txps"
ng-include="'views/includes/transaction.html'">
</div>