Fix typos and translate attribute on html files

This commit is contained in:
Gustavo Maximiliano Cortez 2014-09-16 17:32:05 -03:00
commit ac2b588887
7 changed files with 16 additions and 20 deletions

View file

@ -1,7 +1,7 @@
<div class="import" ng-controller="ImportController"> <div class="import" ng-controller="ImportController">
<div data-alert class="loading-screen" ng-show="loading"> <div data-alert class="loading-screen" ng-show="loading">
<i class="size-60 fi-bitcoin-circle icon-rotate spinner"></i> <i class="size-60 fi-bitcoin-circle icon-rotate spinner"></i>
{{ importStatus }} {{ importStatus|translate }}
</div> </div>
<div class="row" ng-init="choosefile=0; pastetext=0" ng-show="!loading"> <div class="row" ng-init="choosefile=0; pastetext=0" ng-show="!loading">

View file

@ -10,12 +10,11 @@
class="ellipsis" class="ellipsis"
tooltip="ID: {{copayer.peerId}}" tooltip="ID: {{copayer.peerId}}"
tooltip-placement="bottom"> tooltip-placement="bottom">
<small class="text-gray" ng-show="copayer.index == 0"><i class="fi-check m5r"></i><span translate>Me</span></small> <small class="text-gray" ng-show="copayer.index == 0">
<i class="fi-check m5r"></i>{{'Me'|translate}}</small>
<small class="text-gray" ng-show="copayer.index > 0"><i class="fi-check m5r"></i>{{copayer.nick}}</small> <small class="text-gray" ng-show="copayer.index > 0"><i class="fi-check m5r"></i>{{copayer.nick}}</small>
</div> </div>
<div translate class="success label m10t" ng-show="isBackupReady(copayer)"> <div translate class="success label m10t" ng-show="isBackupReady(copayer)">Ready</div>
Ready
</div>
</div> </div>
</div> </div>

View file

@ -15,9 +15,7 @@
width="30"> width="30">
<div class="ellipsis" tooltip-placement="top" tooltip="{{copayer.nick}}"> <div class="ellipsis" tooltip-placement="top" tooltip="{{copayer.nick}}">
<small class="text-gray" ng-show="copayer.index == 0"> <small class="text-gray" ng-show="copayer.index == 0">{{'Me'|translate}}</small>
<span translate>Me</span>
</small>
<small class="text-gray" ng-show="copayer.index > 0">{{copayer.nick}}</small> <small class="text-gray" ng-show="copayer.index > 0">{{copayer.nick}}</small>
</div> </div>
</div> </div>

View file

@ -15,7 +15,7 @@
<span class="size-12 right">{{$root.wallet.requiredCopayers}}-of-{{$root.wallet.totalCopayers}}</span> <span class="size-12 right">{{$root.wallet.requiredCopayers}}-of-{{$root.wallet.totalCopayers}}</span>
</p> </p>
<div class="line-sidebar-t"> <div class="line-sidebar-t">
<span translate>Balance</span> {{'Balance'|translate}}
<span class="gray small side-bar right" title="Manual Refresh"><i class="size-16 fi-refresh"></i></span> <span class="gray small side-bar right" title="Manual Refresh"><i class="size-16 fi-refresh"></i></span>
<span ng-if="$root.updatingBalance"> <span ng-if="$root.updatingBalance">
<i class="fi-bitcoin-circle icon-rotate spinner"></i> <i class="fi-bitcoin-circle icon-rotate spinner"></i>
@ -25,7 +25,7 @@
</span> </span>
</div> </div>
<div class="m10t" ng-show="lockedBalance"> <div class="m10t" ng-show="lockedBalance">
<span translate>Locked</span> {{'Locked'|translate}}
<span ng-if="$root.updatingBalance"> <span ng-if="$root.updatingBalance">
<i class="fi-bitcoin-circle icon-rotate spinner"></i> <i class="fi-bitcoin-circle icon-rotate spinner"></i>
</span> </span>
@ -43,7 +43,7 @@
</li> </li>
<li> <li>
<a href="#" class="db p20h" title="Close" <a href="#" class="db p20h" title="Close"
ng-click="signout()"><i class="size-24 m20r fi-power"></i> <span translate>Close</span></a> ng-click="signout()"><i class="size-24 m20r fi-power"></i> {{'Close'|translate}}</a>
</li> </li>
</ul> </ul>

View file

@ -11,12 +11,12 @@
<a href="#!/receive" class="name-wallet" tooltip-placement="bottom" tooltip="ID: {{$root.wallet.id}}"> <a href="#!/receive" class="name-wallet" tooltip-placement="bottom" tooltip="ID: {{$root.wallet.id}}">
<span>{{$root.wallet.getName()}}</span> <span>{{$root.wallet.getName()}}</span>
</a> </a>
<a class="button gray small side-bar right" title="Manual Refresh" <a class="button gray small side-bar right" title="{{'Manual Update'|translate}}"
ng-disabled="$root.loading" ng-disabled="$root.loading"
ng-click="refresh()"><i class="size-16 fi-refresh"></i></a> ng-click="refresh()"><i class="size-16 fi-refresh"></i></a>
</div> </div>
<div class="founds size-14 m10v"> <div class="founds size-14 m10v">
<span translate>Balance</span> {{'Balance'|translate}}
<span ng-if="$root.updatingBalance"> <span ng-if="$root.updatingBalance">
<i class="fi-bitcoin-circle icon-rotate spinner"></i> <i class="fi-bitcoin-circle icon-rotate spinner"></i>
</span> </span>
@ -29,7 +29,7 @@
tooltip-placement="bottom">{{totalBalance || 0 |noFractionNumber}} {{$root.wallet.settings.unitName}} tooltip-placement="bottom">{{totalBalance || 0 |noFractionNumber}} {{$root.wallet.settings.unitName}}
</span> </span>
<div class="m10t" ng-show="lockedBalance"> <div class="m10t" ng-show="lockedBalance">
<span translate>Locked</span> &nbsp; {{'Locked'|translate}} &nbsp;
<span ng-if="$root.updatingBalance"> <span ng-if="$root.updatingBalance">
<i class="fi-bitcoin-circle icon-rotate spinner"></i> <i class="fi-bitcoin-circle icon-rotate spinner"></i>
</span> </span>
@ -56,7 +56,7 @@
</li> </li>
<li> <li>
<a href="#!/" class="db p20h" title="Close" <a href="#!/" class="db p20h" title="Close"
ng-click="signout()"><i class="size-21 m20r fi-power"></i> <span translate>Close</span></a> ng-click="signout()"><i class="size-21 m20r fi-power"></i> {{'Close'|translate}}</a>
</li> </li>
</ul> </ul>

View file

@ -1,15 +1,14 @@
<h2 translate>Address Book</h2> <h2 translate>Address Book</h2>
<form name="addressBookForm" ng-submit="submitAddressBook(addressBookForm)" novalidate> <form name="addressBookForm" ng-submit="submitAddressBook(addressBookForm)" novalidate>
<label for="newaddress"><span translate>Address</span> <label for="newaddress"><span translate>Address</span>
<small translate ng-hide="!addressBookForm.newaddress.$pristine || newaddress">required</small> <small translate ng-hide="!addressBookForm.newaddress.$pristine || newaddress">Required</small>
<small translate class="is-valid" ng-show="!addressBookForm.newaddress.$invalid && newaddress">Valid</small> <small translate class="is-valid" ng-show="!addressBookForm.newaddress.$invalid && newaddress">Valid</small>
<small translate class="has-error" ng-show="addressBookForm.newaddress.$invalid && newaddress"> <small translate class="has-error" ng-show="addressBookForm.newaddress.$invalid && newaddress">Not valid</small>
Not valid</small>
<input type="text" id="newaddress" name="newaddress" ng-disabled="loading" <input type="text" id="newaddress" name="newaddress" ng-disabled="loading"
placeholder="{{'Address'|translate}}" ng-model="newaddress" valid-address required> placeholder="{{'Address'|translate}}" ng-model="newaddress" valid-address required>
</label> </label>
<label for="newlabel"><span translate>Label</span> <label for="newlabel"><span translate>Label</span>
<small translate ng-hide="!addressBookForm.newlabel.$pristine || newlabel">required</small> <small translate ng-hide="!addressBookForm.newlabel.$pristine || newlabel">Required</small>
<input type="text" id="newlabel" name="newlabel" ng-disabled="loading" <input type="text" id="newlabel" name="newlabel" ng-disabled="loading"
placeholder="{{'Label'|translate}}" ng-model="newlabel" required> placeholder="{{'Label'|translate}}" ng-model="newlabel" required>
</label> </label>

View file

@ -14,7 +14,7 @@
</select> </select>
</fieldset> </fieldset>
<fieldset> <fieldset>
<legend translate>Insight API servers</legend> <legend translate>Insight API server</legend>
<label for="insight-livenet">Livenet</label> <label for="insight-livenet">Livenet</label>
<input type="text" ng-model="insightLivenet" class="form-control" name="insight-livenet"> <input type="text" ng-model="insightLivenet" class="form-control" name="insight-livenet">
<label for="insight-testnet">Testnet</label> <label for="insight-testnet">Testnet</label>