fix untranslated titles
This commit is contained in:
parent
41f76292fe
commit
9bb1ad0f6f
6 changed files with 14 additions and 10 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<div
|
||||
class="topbar-container"
|
||||
ng-include="'views/includes/topbar.html'"
|
||||
ng-init="titleSection='Export'; goBackToState = 'preferencesAdvanced'">
|
||||
ng-init="titleSection='Export Wallet'; goBackToState = 'preferencesAdvanced'">
|
||||
</div>
|
||||
|
||||
<div class="content preferences" ng-controller="exportController as exportC">
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<div
|
||||
class="topbar-container"
|
||||
ng-include="'views/includes/topbar.html'"
|
||||
ng-init="titleSection='Wallet Preferences'; closeToHome = true">
|
||||
ng-init="titleSection=index.setWalletPreferencesTitle(); closeToHome = true">
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div
|
||||
class="topbar-container"
|
||||
ng-include="'views/includes/topbar.html'"
|
||||
ng-init="titleSection='Wallet Alias'; goBackToState = 'preferences'">
|
||||
ng-init="titleSection='Alias'; goBackToState = 'preferences'">
|
||||
</div>
|
||||
|
||||
<div class="content preferences" ng-controller="preferencesAliasController as prefAlias">
|
||||
|
|
|
|||
|
|
@ -1,25 +1,25 @@
|
|||
<div
|
||||
class="topbar-container"
|
||||
ng-include="'views/includes/topbar.html'"
|
||||
ng-init="titleSection='Transaction history'; goBackToState = 'preferencesAdvanced'">
|
||||
ng-init="titleSection='Transaction History'; goBackToState = 'preferencesAdvanced'">
|
||||
</div>
|
||||
<div class="content preferences" ng-controller="preferencesHistory as history">
|
||||
<h4></h4>
|
||||
<ul class="no-bullet m0">
|
||||
<li ng-if="!index.isCordova" ng-init="history.csvHistory()">
|
||||
<a style="color:#444"
|
||||
ng-csv="history.csvContent"
|
||||
csv-header="history.csvHeader"
|
||||
<a style="color:#444"
|
||||
ng-csv="history.csvContent"
|
||||
csv-header="history.csvHeader"
|
||||
ng-show="history.csvReady"
|
||||
filename="Copay-{{index.alias || index.walletName}}.csv" translate>
|
||||
Export to file
|
||||
</a>
|
||||
<a style="color:#777"
|
||||
<a style="color:#777"
|
||||
ng-show="!history.csvReady"
|
||||
translate>
|
||||
Export to file [preparing...]
|
||||
</a>
|
||||
|
||||
|
||||
</li>
|
||||
<li ng-click="history.clearTransactionHistory();" translate>
|
||||
Clear cache
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div
|
||||
class="topbar-container"
|
||||
ng-include="'views/includes/topbar.html'"
|
||||
ng-init="titleSection='Terms of use'; goBackToState = 'about'; noColor = true">
|
||||
ng-init="titleSection='Terms of Use'; goBackToState = 'about'; noColor = true">
|
||||
</div>
|
||||
<div ng-controller="termOfUseController" class="content">
|
||||
<p class="enable_text_select m0">
|
||||
|
|
|
|||
|
|
@ -80,6 +80,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
storageService.setHideBalanceFlag(self.walletId, self.shouldHideBalance, function() {});
|
||||
}
|
||||
|
||||
self.setWalletPreferencesTitle = function() {
|
||||
return gettext("Wallet Preferences");
|
||||
}
|
||||
|
||||
self.cleanInstance = function() {
|
||||
$log.debug('Cleaning Index Instance');
|
||||
lodash.each(self, function(v, k) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue