diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-01-09 12:48:57 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-01-09 12:48:57 +0100 |
commit | a40c95242f728d633f3db6312c3024673412fff6 (patch) | |
tree | d731a1970e16d7df67488543ed600f5cf7cce41f /apps/files/ajax/rename.php | |
parent | 533f0e8e258caef66019377a160e7213fd530f07 (diff) | |
download | nextcloud-server-a40c95242f728d633f3db6312c3024673412fff6.tar.gz nextcloud-server-a40c95242f728d633f3db6312c3024673412fff6.zip |
more translations
Diffstat (limited to 'apps/files/ajax/rename.php')
-rw-r--r-- | apps/files/ajax/rename.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/ajax/rename.php b/apps/files/ajax/rename.php index cb0bec399d1..89b4d4bba73 100644 --- a/apps/files/ajax/rename.php +++ b/apps/files/ajax/rename.php @@ -14,7 +14,7 @@ $newname = stripslashes($_GET["newname"]); // Delete if( $newname !== '.' and OC_Files::move( $dir, $file, $dir, $newname )) { OCP\JSON::success(array("data" => array( "dir" => $dir, "file" => $file, "newname" => $newname ))); -} -else{ - OCP\JSON::error(array("data" => array( "message" => "Unable to rename file" ))); +} else { + $l=OC_L10N::get('files'); + OCP\JSON::error(array("data" => array( "message" => $l->t("Unable to rename file") ))); } |