Translation: fix strings

This commit is contained in:
Gustavo Maximiliano Cortez 2018-03-19 15:07:06 -03:00
parent 54afa2a86b
commit 661fbf0aa3
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
15 changed files with 46 additions and 49 deletions

View File

@ -234,7 +234,7 @@ export class BackupGamePage {
this.onGoingProcessProvider.clear();
this.logger.warn('Failed to verify backup: ', err);
this.error = true;
let title = this.translate.instant('Uh oh...');
let title = 'Uh oh...';
let message = this.translate.instant("It's important that you write your backup phrase down correctly. If something happens to your wallet, you'll need this backup to recover your money. Please review your backup and try again.");
this.popupProvider.ionicAlert(title, message).then(() => {
this.setFlow();

View File

@ -47,7 +47,7 @@
</ion-note>
</ion-item>
<ion-item>
<span translate>Network Cost</span>
<span translate>Network cost</span>
<ion-note item-end>
<span>{{invoiceFee | currency:'$ ':2}}
<span *ngIf="invoiceFee"> {{currencyIsoCode}}</span>
@ -55,7 +55,7 @@
</ion-note>
</ion-item>
<ion-item>
<span translate>Miner Fee</span>
<span translate>Miner fee</span>
<ion-note item-end>
<span>{{networkFee | currency:'$ ':2}}
<span *ngIf="networkFee"> {{currencyIsoCode}}</span>

View File

@ -1,7 +1,7 @@
<ion-header>
<ion-navbar>
<ion-title>{{'Add funds' | translate}}</ion-title>
<ion-title>{{'Add Funds' | translate}}</ion-title>
</ion-navbar>
</ion-header>
@ -49,13 +49,13 @@
</ion-note>
</ion-item>
<ion-item>
<span translate>Network Cost</span>
<span translate>Network cost</span>
<ion-note item-end>
<span>{{invoiceFee | currency:currencySymbol:2}} {{currencyIsoCode}}</span>
</ion-note>
</ion-item>
<ion-item>
<span translate>Miner Fee</span>
<span translate>Miner fee</span>
<ion-note item-end>
<span>{{networkFee | currency:currencySymbol:2}} {{currencyIsoCode}}</span>
</ion-note>

View File

@ -16,7 +16,7 @@
<div *ngIf="bitpayCard">
<ion-item-divider>
<span translate>BitPay Visa&reg; Cards</span>
<span>BitPay Visa&reg; Cards</span>
</ion-item-divider>
<ion-item>
<div>
@ -33,4 +33,4 @@
</ion-item>
</div>
</ion-list>
</ion-content>
</ion-content>

View File

@ -44,7 +44,7 @@
</ion-note>
</ion-item>
<ion-item>
<span translate>Network Cost</span>
<span translate>Network cost</span>
<ion-note item-end>
<span>{{invoiceFee | currency:'$ ':2}}
<span *ngIf="invoiceFee"> {{currencyIsoCode}}</span>
@ -52,7 +52,7 @@
</ion-note>
</ion-item>
<ion-item>
<span translate>Miner Fee</span>
<span translate>Miner fee</span>
<ion-note item-end>
<span>{{networkFee | currency:'$ ':2}}
<span *ngIf="networkFee"> {{currencyIsoCode}}</span>

View File

@ -71,8 +71,7 @@
<ion-item-divider class="item-description" *ngIf="withdrawalStr" no-lines text-wrap>
<span translate>
A total of {{amountStr}} ({{fiatAmount | currency}} {{currencyIsoCode}}) will be exchanged for {{withdrawalStr}} ({{fiatWithdrawal
| currency}} {{currencyIsoCode}}). Would you like to proceed?
A total of {{amountStr}} ({{fiatAmount | currency}} {{currencyIsoCode}}) will be exchanged for {{withdrawalStr}} ({{fiatWithdrawal | currency}} {{currencyIsoCode}}). Would you like to proceed?
</span>
</ion-item-divider>
<!-- TODO: Translate -->
@ -85,4 +84,4 @@
translate>
Click to shift
</button>
</ion-footer>
</ion-footer>

View File

@ -20,8 +20,8 @@
</div>
</ion-item>
<button ion-item class="item-fee" (click)="chooseFeeLevel()">
<div class="fee-title" translate>
Bitcoin miner fee: {{tx.feeLevelName | translate}}
<div class="fee-title">
<span translate>Bitcoin miner fee</span>: {{tx.feeLevelName | translate}}
</div>
<div class="fee-loading" *ngIf="!wallet || !tx.txp[wallet.id]">
<div>...</div>
@ -126,4 +126,4 @@
<ion-footer>
<button ion-button full class="button-footer" (click)="approve(tx, wallet)" [disabled]="!wallet || noWalletMessage || critialError || !tx.txp[wallet.id]">{{buttonText}}</button>
</ion-footer>
</ion-footer>

View File

@ -27,9 +27,8 @@
<ion-label>{{'Recent Transaction Card' | translate}}</ion-label>
<ion-toggle [(ngModel)]="recentTransactionsEnabled" (ionChange)="recentTransactionsChange()"></ion-toggle>
</div>
<span translate>If enabled, the Recent Transactions card - a list of transactions occuring across all wallets - will appear in the Home
tab.
<span translate>If enabled, the Recent Transactions card - a list of transactions occuring across all wallets - will appear in the Home tab.
</span>
</div>
<ion-item-divider></ion-item-divider>
</ion-content>
</ion-content>

View File

@ -9,8 +9,8 @@
<ion-list>
<ion-item-divider text-wrap class="settings-explanation">
<div class="settings-heading" translate>What do you call this wallet?</div>
<div class="settings-description" translate>When this wallet was created, it was called &ldquo;{{walletName}}&rdquo;. You can change the name displayed on this
device below.
<div class="settings-description" translate>
When this wallet was created, it was called &ldquo;{{walletName}}&rdquo;. You can change the name displayed on this device below.
</div>
</ion-item-divider>
<form [formGroup]="walletNameForm">
@ -21,4 +21,4 @@
<button ion-button class="button-standard" (click)="save()" [disabled]="!walletNameForm.valid" translate>Save</button>
</form>
</ion-list>
</ion-content>
</ion-content>

View File

@ -9,14 +9,11 @@
<h1 class="assertive" translate>Warning!</h1>
<div class="warning-message">
<p translate>
Your extended private keys are all that is needed to access your bitcoin funds. Be sure to protect your private keys and
store them only on secure devices. BitPay does not have access to your private keys, so you alone are responsible
for your keys. If you share key access with external services, you take responsibility for the risk of theft or breach.
Only advanced users should handle extended private keys directly.
Your extended private keys are all that is needed to access your bitcoin funds. Be sure to protect your private keys and store them only on secure devices. BitPay does not have access to your private keys, so you alone are responsible for your keys. If you share key access with external services, you take responsibility for the risk of theft or breach. Only advanced users should handle extended private keys directly.
</p>
</div>
<div copy-to-clipboard="{{xPrivKey}}">
<button ion-button class="button-standard" translate>Copy to clipboard</button>
</div>
</div>
</ion-content>
</ion-content>

View File

@ -71,7 +71,7 @@
</ion-item>
<ion-item-divider>{{'Extended Public Keys' | translate}}</ion-item-divider>
<ion-item *ngFor="let pk of pubKeys; let i=index" copy-to-clipboard="{{pk}}">
<span translate>Copayer {{i}}</span>
<span>Copayer {{i}}</span>
<div padding-top>
<ion-note text-wrap>
{{pk}}
@ -94,4 +94,4 @@
</ion-item>
<ion-item-divider></ion-item-divider>
</ion-list>
</ion-content>
</ion-content>

View File

@ -34,8 +34,7 @@
</ion-item>
<ion-item-divider text-wrap>
<span class="item-text" translate>
If enabled, all sensitive information (private key and recovery phrase) and actions (spending and exporting) associated with
this wallet will be protected.
If enabled, all sensitive information (private key and recovery phrase) and actions (spending and exporting) associated with this wallet will be protected.
</span>
<a (click)="openSupportSpendingPassword()" translate>Learn more</a>
<div margin-top class="assertive item-text" *ngIf="needsBackup" translate>

View File

@ -40,20 +40,25 @@
<ion-item class="low-fees" text-wrap *ngIf="btx.action == 'received' && btx.lowFees">
<img src="assets/img/icon-warning.png" width="20">
<ion-note translate>This transaction could take a long time to confirm or could be dropped due to the low fees set by the sender</ion-note>
<ion-note>
<span translate>
This transaction could take a long time to confirm or could be dropped due to the low fees set by the sender
</span>
</ion-note>
</ion-item>
<ion-item class="low-fees" text-wrap *ngIf="btx.lowAmount">
<img src="assets/img/icon-warning.png" width="20">
<ion-note translate>
This transaction amount is too small compared to current Bitcoin network fees. Spending these funds will need a Bitcoin network
fee cost comparable to the funds itself.
<ion-note>
<span translate>
This transaction amount is too small compared to current Bitcoin network fees. Spending these funds will need a Bitcoin network fee cost comparable to the funds itself.
</span>
</ion-note>
<a (click)="readMore()" translate>Learn more</a>
</ion-item>
<ion-item class="item-fee" *ngIf="btx && btx.feeStr && btx.action != 'received'">
<div class="fee-title" translate>
<div class="fee-title">
{{'Fee:' | translate}}
</div>
<div>
@ -156,4 +161,4 @@
</ion-list>
</ion-content>
</ion-content>

View File

@ -38,8 +38,7 @@
</button>
</div>
<div class="box-notification no-margin notice" *ngIf="tx && tx.status == 'accepted' && tx.isGlidera" text-wrap padding>
<span translate>Payment accepted. It will be broadcasted by Glidera. In case there is a problem, it can be deleted 6 hours after
it was created.</span>
<span translate>Payment accepted. It will be broadcasted by Glidera. In case there is a problem, it can be deleted 6 hours after it was created.</span>
</div>
<div class="box-notification no-margin success" *ngIf="tx && tx.status == 'broadcasted'" translate>
Payment Sent
@ -55,14 +54,14 @@
<ion-item class="item-fee" *ngIf="tx && tx.feeStr">
<div class="fee-title" translate>
<div class="fee-title">
{{'Fee:' | translate}} {{tx.feeLevelStr | translate}}
</div>
<div>
<span class="fee-amount">{{tx.feeStr}}</span>
<div class="fee-details">
{{tx.feeFiatStr}} &middot;
<span *ngIf="tx.feeRateStr">{{tx.feeRateStr}} of the total amount</span>
<span *ngIf="tx.feeRateStr" translate>{{tx.feeRateStr}} of the total amount</span>
</div>
</div>
</ion-item>
@ -149,7 +148,7 @@
<div *ngIf="tx && tx.paypro">
<ion-item-divider>{{'Payment request' | translate}}</ion-item-divider>
<ion-item>
<span translate>{{'Pay To'|translate}}</span>
<span>{{'Pay To'|translate}}</span>
<ion-note item-end>
{{tx.paypro.domain}}
</ion-note>
@ -226,8 +225,7 @@
<span translate>Delete Payment Proposal</span>
</button>
<div class="proposal-deletion-help" *ngIf="!tx.isGlidera && isShared" translate>
* A payment proposal can be deleted if 1) you are the creator, and no other copayer has signed, or 2) 24 hours have passed
since the proposal was created.
* A payment proposal can be deleted if 1) you are the creator, and no other copayer has signed, or 2) 24 hours have passed since the proposal was created.
</div>
</div>
</ion-list>
@ -250,4 +248,4 @@
</ion-buttons>
</ion-toolbar>
</div>
</ion-footer>
</ion-footer>

View File

@ -94,12 +94,12 @@
</div>
</div>
</div>
<div translate text-wrap class="description">The amount of bitcoin stored in this wallet that is allocated as inputs to your pending transaction proposals. The
amount is determined using unspent transaction outputs associated with this wallet and may be more than the actual
amounts associated with your pending transaction proposals.</div>
<div translate text-wrap class="description">
The amount of bitcoin stored in this wallet that is allocated as inputs to your pending transaction proposals. The amount is determined using unspent transaction outputs associated with this wallet and may be more than the actual amounts associated with your pending transaction proposals.
</div>
</ion-item>
<ion-item-divider></ion-item-divider>
</ion-list>
</ion-content>
</ion-content>