Merge pull request #3660 from cmgustavo/bug/translation-strings-03

Bug/translation strings
This commit is contained in:
Gustavo Maximiliano Cortez 2015-12-15 11:34:25 -03:00
commit 5ec58355d8
4 changed files with 46 additions and 13 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');