summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-04-06 16:52:55 +0200
committerkondou <kondou@ts.unde.re>2013-04-06 16:52:55 +0200
commitde2e5466178202c9ea18cdc732b88d79322285cd (patch)
tree2e8909148242474bf5955eb4064995aa63b951b9 /settings
parent74b02db3371992968ced963f104afd368b7e6473 (diff)
downloadnextcloud-server-de2e5466178202c9ea18cdc732b88d79322285cd.tar.gz
nextcloud-server-de2e5466178202c9ea18cdc732b88d79322285cd.zip
Translate 'Error' in core
Diffstat (limited to 'settings')
-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 49cf6cb6755..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', t('settings', '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', t('settings', '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', t('settings', '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'));