diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-04-06 19:24:43 +0400 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-04-06 19:24:43 +0400 |
commit | 46a552fd561f676a4cf7a70ae71ffbd4e9473d9a (patch) | |
tree | 981eb3f2b5ae769984367b8d962a84c8749c28e2 /settings/js | |
parent | e91e8b1170fa564cdfbe00e416829983914804fe (diff) | |
parent | de2e5466178202c9ea18cdc732b88d79322285cd (diff) |
Merge pull request #2738 from Kondou-ger/fix_alert_issues
Fixed things in alert-messages
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/apps.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index dd20bc0a9c5..182fc164661 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -56,7 +56,7 @@ OC.Settings.Apps = OC.Settings.Apps || { if(active) { $.post(OC.filePath('settings','ajax','disableapp.php'),{appid:appid},function(result) { if(!result || result.status!='success') { - OC.dialogs.alert('Error while disabling app','Error'); + OC.dialogs.alert('Error while disabling app', t('core', 'Error')); } else { element.data('active',false); @@ -68,7 +68,7 @@ OC.Settings.Apps = OC.Settings.Apps || { } else { $.post(OC.filePath('settings','ajax','enableapp.php'),{appid:appid},function(result) { if(!result || result.status!='success') { - OC.dialogs.alert('Error while enabling app','Error'); + OC.dialogs.alert('Error while enabling app', t('core', 'Error')); } else { OC.Settings.Apps.addNavigation(appid); @@ -77,7 +77,7 @@ OC.Settings.Apps = OC.Settings.Apps || { } },'json') .fail(function() { - OC.dialogs.alert('Error while enabling app','Error'); + OC.dialogs.alert('Error while enabling app', t('core', 'Error')); element.data('active',false); OC.Settings.Apps.removeNavigation(appid); element.val(t('settings','Enable')); |