diff options
author | kondou <kondou@ts.unde.re> | 2013-04-06 16:52:55 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-04-06 16:52:55 +0200 |
commit | de2e5466178202c9ea18cdc732b88d79322285cd (patch) | |
tree | 2e8909148242474bf5955eb4064995aa63b951b9 /apps | |
parent | 74b02db3371992968ced963f104afd368b7e6473 (diff) | |
download | nextcloud-server-de2e5466178202c9ea18cdc732b88d79322285cd.tar.gz nextcloud-server-de2e5466178202c9ea18cdc732b88d79322285cd.zip |
Translate 'Error' in core
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/files.js | 8 | ||||
-rw-r--r-- | apps/files_trashbin/js/trash.js | 8 |
2 files changed, 8 insertions, 8 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')); } }); }); |