summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/js/files.js8
-rw-r--r--apps/files_trashbin/js/trash.js8
-rw-r--r--settings/js/apps.js6
3 files changed, 11 insertions, 11 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index e847550444f..7d27d8370cb 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -615,7 +615,7 @@ $(document).ready(function() {
tr.find('td.filename').attr('style','background-image:url('+path+')');
});
} else {
- OC.dialogs.alert(result.data.message, t('files', 'Error'));
+ OC.dialogs.alert(result.data.message, t('core', 'Error'));
}
}
);
@@ -631,7 +631,7 @@ $(document).ready(function() {
var tr=$('tr').filterAttr('data-file',name);
tr.attr('data-id', result.data.id);
} else {
- OC.dialogs.alert(result.data.message, t('files', 'Error'));
+ OC.dialogs.alert(result.data.message, t('core', 'Error'));
}
}
);
@@ -920,7 +920,7 @@ var folderDropOptions={
$('#notification').fadeIn();
}
} else {
- OC.dialogs.alert(t('Error moving file'), t('files', 'Error'));
+ OC.dialogs.alert(t('Error moving file'), t('core', 'Error'));
}
});
});
@@ -958,7 +958,7 @@ var crumbDropOptions={
$('#notification').fadeIn();
}
} else {
- OC.dialogs.alert(t('Error moving file'), t('files', 'Error'));
+ OC.dialogs.alert(t('Error moving file'), t('core', 'Error'));
}
});
});
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js
index 8bac2af60da..eed253d6602 100644
--- a/apps/files_trashbin/js/trash.js
+++ b/apps/files_trashbin/js/trash.js
@@ -16,7 +16,7 @@ $(document).ready(function() {
row.parentNode.removeChild(row);
}
if (result.status != 'success') {
- OC.dialogs.alert(result.data.message, t('files_trashbin', 'Error'));
+ OC.dialogs.alert(result.data.message, t('core', 'Error'));
}
});
@@ -43,7 +43,7 @@ $(document).ready(function() {
row.parentNode.removeChild(row);
}
if (result.status != 'success') {
- OC.dialogs.alert(result.data.message, t('files_trashbin', 'Error'));
+ OC.dialogs.alert(result.data.message, t('core', 'Error'));
}
});
@@ -111,7 +111,7 @@ $(document).ready(function() {
row.parentNode.removeChild(row);
}
if (result.status != 'success') {
- OC.dialogs.alert(result.data.message, t('files_trashbin', 'Error'));
+ OC.dialogs.alert(result.data.message, t('core', 'Error'));
}
});
});
@@ -136,7 +136,7 @@ $(document).ready(function() {
row.parentNode.removeChild(row);
}
if (result.status != 'success') {
- OC.dialogs.alert(result.data.message, t('files_trashbin', 'Error'));
+ OC.dialogs.alert(result.data.message, t('core', 'Error'));
}
});
});
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'));