Adds translation

This commit is contained in:
Gustavo Maximiliano Cortez 2015-12-11 18:08:44 -03:00
parent 01ce736212
commit 98973826cb
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 2 additions and 2 deletions

View File

@ -478,7 +478,7 @@ angular
url: '/cordova/:status/:fromHome/:fromDisclaimer/:secondBackButtonPress',
views: {
'main': {
controller: function($rootScope, $state, $stateParams, $timeout, go, isCordova) {
controller: function($rootScope, $state, $stateParams, $timeout, go, isCordova, gettextCatalog) {
switch ($stateParams.status) {
case 'resume':
@ -493,7 +493,7 @@ angular
if ($stateParams.secondBackButtonPress == 'true') {
navigator.app.exitApp();
} else {
window.plugins.toast.showShortBottom('Press again to exit');
window.plugins.toast.showShortBottom(gettextCatalog.getString('Press again to exit'));
}
} else {
$rootScope.$emit('closeModal');