Fix translations. Updates POT
This commit is contained in:
parent
244da69e46
commit
5373faf744
6 changed files with 407 additions and 363 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -335,11 +335,23 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
$scope.buttonText = gettextCatalog.getString(isCordova && !isWindowsPhoneApp ? 'Slide' : 'Click') + ' ';
|
||||
|
||||
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) {
|
||||
$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
|
||||
$scope.buttonText += gettextCatalog.getString('to send');
|
||||
if (isCordova && !isWindowsPhoneApp) {
|
||||
$scope.buttonText = gettextCatalog.getString('Slide to send');
|
||||
} else {
|
||||
$scope.buttonText = gettextCatalog.getString('Click to send');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -31,17 +31,23 @@ angular.module('copayApp.controllers').controller('txpDetailsController', functi
|
|||
};
|
||||
|
||||
function applyButtonText() {
|
||||
$scope.buttonText = $scope.isCordova && !$scope.isWindowsPhoneApp ? gettextCatalog.getString('Slide') + ' ' : gettextCatalog.getString('Click') + ' ';
|
||||
|
||||
var lastSigner = lodash.filter($scope.tx.actions, {
|
||||
type: 'accept'
|
||||
}).length == $scope.tx.requiredSignatures - 1;
|
||||
|
||||
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');
|
||||
} 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');
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@
|
|||
<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>
|
||||
</ion-toggle>
|
||||
<div class="comment" translate>
|
||||
Enable Bitcoin Cash wallet creation and operation within the App.
|
||||
<a ng-click="openBitcoinCashWeb()">Learn more</a>
|
||||
<div class="comment">
|
||||
<span translate>Enable Bitcoin Cash wallet creation and operation within the App.</span>
|
||||
<a ng-click="openBitcoinCashWeb()" translate>Learn more</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -44,8 +44,8 @@
|
|||
<div class="comment">
|
||||
<span translate>
|
||||
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>
|
||||
<a ng-click="openWikiSpendingPassword()" translate>Learn more</a>
|
||||
<div class="text-light assertive" ng-show="wallet.needsBackup" translate>
|
||||
Complete the backup process to use this option
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -91,9 +91,9 @@
|
|||
<div class="item low-fees" ng-if="btx.lowAmount">
|
||||
<i class="icon"><img src="img/icon-warning.png" width="20px"></i>
|
||||
<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. <a ng-click="readMore()">Read more</a>
|
||||
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>
|
||||
<a ng-click="readMore()" translate>Learn more</a>
|
||||
</div>
|
||||
|
||||
<div class="item single-line">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue