aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js/apps.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/apps.js')
-rw-r--r--settings/js/apps.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index dd20bc0a9c5..49cf6cb6755 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('settings', '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('settings', '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('settings', 'Error'));
element.data('active',false);
OC.Settings.Apps.removeNavigation(appid);
element.val(t('settings','Enable'));