Fix path to PO files

This commit is contained in:
Gustavo Maximiliano Cortez 2018-03-20 16:57:17 -03:00
parent 599f73b0ea
commit 6ba081ee7f
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
4 changed files with 5 additions and 4 deletions

View File

@ -211,7 +211,7 @@ import { LongPress } from '../directives/long-press/long-press';
import { NoLowFee } from '../directives/no-low-fee/no-low-fee'
export function createTranslateLoader(http: HttpClient) {
return new TranslatePoHttpLoader(http, 'assets/i18n', '.po');
return new TranslatePoHttpLoader(http, 'assets/i18n/po', '.po');
}
@NgModule({

View File

@ -2,8 +2,8 @@
<ion-navbar hideBackButton="true">
<ion-title>{{'Bitcoin Network Fee Policy'|translate}}</ion-title>
<ion-buttons start>
<button [disabled]="customSatPerByte >= maxFeeAllowed || showError" (click)="ok()" ion-button translate>
Done
<button [disabled]="customSatPerByte >= maxFeeAllowed || showError" (click)="ok()" ion-button>
{{'Done' | translate}}
</button>
</ion-buttons>
</ion-navbar>

View File

@ -21,7 +21,7 @@
</ion-item>
<button ion-item class="item-fee" (click)="chooseFeeLevel()">
<div class="fee-title">
<span translate>Bitcoin miner fee</span>: {{tx.feeLevelName}}
<span translate>Bitcoin miner fee</span>: {{tx.feeLevelName | translate}}
</div>
<div class="fee-loading" *ngIf="!wallet || !tx.txp[wallet.id]">
<div>...</div>

View File

@ -41,6 +41,7 @@ page-confirm {
font-weight: 400;
}
.fee-details {
margin-top: 3px;
font-size: 12.5px;
color: color($colors, light-grey);
}