mirror of https://github.com/BTCPrivate/copay.git
Adds translation
This commit is contained in:
parent
01ce736212
commit
98973826cb
|
@ -478,7 +478,7 @@ angular
|
||||||
url: '/cordova/:status/:fromHome/:fromDisclaimer/:secondBackButtonPress',
|
url: '/cordova/:status/:fromHome/:fromDisclaimer/:secondBackButtonPress',
|
||||||
views: {
|
views: {
|
||||||
'main': {
|
'main': {
|
||||||
controller: function($rootScope, $state, $stateParams, $timeout, go, isCordova) {
|
controller: function($rootScope, $state, $stateParams, $timeout, go, isCordova, gettextCatalog) {
|
||||||
|
|
||||||
switch ($stateParams.status) {
|
switch ($stateParams.status) {
|
||||||
case 'resume':
|
case 'resume':
|
||||||
|
@ -493,7 +493,7 @@ angular
|
||||||
if ($stateParams.secondBackButtonPress == 'true') {
|
if ($stateParams.secondBackButtonPress == 'true') {
|
||||||
navigator.app.exitApp();
|
navigator.app.exitApp();
|
||||||
} else {
|
} else {
|
||||||
window.plugins.toast.showShortBottom('Press again to exit');
|
window.plugins.toast.showShortBottom(gettextCatalog.getString('Press again to exit'));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$rootScope.$emit('closeModal');
|
$rootScope.$emit('closeModal');
|
||||||
|
|
Loading…
Reference in New Issue