summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/js/trash.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js
index 39e76e10c9c..8bac2af60da 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, 'Error');
+ OC.dialogs.alert(result.data.message, t('files_trashbin', 'Error'));
}
});
@@ -43,7 +43,7 @@ $(document).ready(function() {
row.parentNode.removeChild(row);
}
if (result.status != 'success') {
- OC.dialogs.alert(result.data.message, 'Error');
+ OC.dialogs.alert(result.data.message, t('files_trashbin', 'Error'));
}
});
@@ -111,7 +111,7 @@ $(document).ready(function() {
row.parentNode.removeChild(row);
}
if (result.status != 'success') {
- OC.dialogs.alert(result.data.message, 'Error');
+ OC.dialogs.alert(result.data.message, t('files_trashbin', 'Error'));
}
});
});
@@ -136,7 +136,7 @@ $(document).ready(function() {
row.parentNode.removeChild(row);
}
if (result.status != 'success') {
- OC.dialogs.alert(result.data.message, 'Error');
+ OC.dialogs.alert(result.data.message, t('files_trashbin', 'Error'));
}
});
});