Fix translations. Updates POT

This commit is contained in:
Gustavo Maximiliano Cortez 2017-09-04 15:48:11 -03:00
commit 5373faf744
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
6 changed files with 407 additions and 363 deletions

File diff suppressed because it is too large Load diff

View file

@ -335,11 +335,23 @@ angular.module('copayApp.controllers').controller('confirmController', function(
$scope.buttonText = gettextCatalog.getString(isCordova && !isWindowsPhoneApp ? 'Slide' : 'Click') + ' '; $scope.buttonText = gettextCatalog.getString(isCordova && !isWindowsPhoneApp ? 'Slide' : 'Click') + ' ';
if (isPayPro) { if (isPayPro) {
$scope.buttonText += gettextCatalog.getString('to pay'); if (isCordova && !isWindowsPhoneApp) {
$scope.buttonText = gettextCatalog.getString('Slide to pay');
} else {
$scope.buttonText = gettextCatalog.getString('Click to pay');
}
} else if (isMultisig) { } else if (isMultisig) {
$scope.buttonText += gettextCatalog.getString('to accept'); if (isCordova && !isWindowsPhoneApp) {
$scope.buttonText = gettextCatalog.getString('Slide to accept');
} else {
$scope.buttonText = gettextCatalog.getString('Click to accept');
}
} else } else
$scope.buttonText += gettextCatalog.getString('to send'); if (isCordova && !isWindowsPhoneApp) {
$scope.buttonText = gettextCatalog.getString('Slide to send');
} else {
$scope.buttonText = gettextCatalog.getString('Click to send');
}
}; };

View file

@ -31,17 +31,23 @@ angular.module('copayApp.controllers').controller('txpDetailsController', functi
}; };
function applyButtonText() { function applyButtonText() {
$scope.buttonText = $scope.isCordova && !$scope.isWindowsPhoneApp ? gettextCatalog.getString('Slide') + ' ' : gettextCatalog.getString('Click') + ' ';
var lastSigner = lodash.filter($scope.tx.actions, { var lastSigner = lodash.filter($scope.tx.actions, {
type: 'accept' type: 'accept'
}).length == $scope.tx.requiredSignatures - 1; }).length == $scope.tx.requiredSignatures - 1;
if (lastSigner) { if (lastSigner) {
$scope.buttonText += gettextCatalog.getString('to send'); if ($scope.isCordova && !$scope.isWindowsPhoneApp) {
$scope.buttonText = gettextCatalog.getString('Slide to send');
} else {
$scope.buttonText = gettextCatalog.getString('Click to send');
}
$scope.successText = gettextCatalog.getString('Payment Sent'); $scope.successText = gettextCatalog.getString('Payment Sent');
} else { } else {
$scope.buttonText += gettextCatalog.getString('to accept'); if ($scope.isCordova && !$scope.isWindowsPhoneApp) {
$scope.buttonText = gettextCatalog.getString('Slide to accept');
} else {
$scope.buttonText = gettextCatalog.getString('Click to accept');
}
$scope.successText = gettextCatalog.getString('Payment Accepted'); $scope.successText = gettextCatalog.getString('Payment Accepted');
} }
}; };

View file

@ -11,9 +11,9 @@
<ion-toggle class="has-comment" ng-model="cashSupport.value" toggle-class="toggle-balanced" ng-change="cashSupportChange()"> <ion-toggle class="has-comment" ng-model="cashSupport.value" toggle-class="toggle-balanced" ng-change="cashSupportChange()">
<span class="toggle-label" translate>Support Bitcoin Cash</span> <span class="toggle-label" translate>Support Bitcoin Cash</span>
</ion-toggle> </ion-toggle>
<div class="comment" translate> <div class="comment">
Enable Bitcoin Cash wallet creation and operation within the App. <span translate>Enable Bitcoin Cash wallet creation and operation within the App.</span>
<a ng-click="openBitcoinCashWeb()">Learn more</a> <a ng-click="openBitcoinCashWeb()" translate>Learn more</a>
</div> </div>

View file

@ -44,8 +44,8 @@
<div class="comment"> <div class="comment">
<span translate> <span 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.
<a ng-click="openWikiSpendingPassword()">Learn more</a>
</span> </span>
<a ng-click="openWikiSpendingPassword()" translate>Learn more</a>
<div class="text-light assertive" ng-show="wallet.needsBackup" translate> <div class="text-light assertive" ng-show="wallet.needsBackup" translate>
Complete the backup process to use this option Complete the backup process to use this option
</div> </div>

View file

@ -91,9 +91,9 @@
<div class="item low-fees" ng-if="btx.lowAmount"> <div class="item low-fees" ng-if="btx.lowAmount">
<i class="icon"><img src="img/icon-warning.png" width="20px"></i> <i class="icon"><img src="img/icon-warning.png" width="20px"></i>
<span translate> <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 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.
to the funds itself. <a ng-click="readMore()">Read more</a>
</span> </span>
<a ng-click="readMore()" translate>Learn more</a>
</div> </div>
<div class="item single-line"> <div class="item single-line">