summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-05-03 00:15:28 +0200
committerMorris Jobke <morris.jobke@gmail.com>2013-06-15 09:58:27 +0200
commite0547a25ab9c5a3d9454611f72e00e3bc667e2d2 (patch)
tree7b8c8e9f556937f26fb8d478e29d095d4c25f83d /apps/files/lib
parentab411d2700c01886a67b30bce5f630cc6865a9bf (diff)
downloadnextcloud-server-e0547a25ab9c5a3d9454611f72e00e3bc667e2d2.tar.gz
nextcloud-server-e0547a25ab9c5a3d9454611f72e00e3bc667e2d2.zip
if rename of file fails, the rename is undone in the view - #fix 2820
Changes: * OC.dialog -> OC.Notification * Added test * Fixed OC.Notification.show() issue for queued items * Highlight failed item and show notification
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/app.php b/apps/files/lib/app.php
index c2a4b9c2675..f7052ef80b0 100644
--- a/apps/files/lib/app.php
+++ b/apps/files/lib/app.php
@@ -70,7 +70,7 @@ class App {
} else {
// rename failed
$result['data'] = array(
- 'message' => $this->l10n->t('Unable to rename file')
+ 'message' => $this->l10n->t('%s could not be renamed', array($oldname))
);
}
return $result;