aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-07 16:34:57 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-07 16:34:57 +0100
commite0212c11747423abc3720901cf69e69171aa5f9d (patch)
tree78f1a0363d17e04abfc5705768630d8907e37d0f
parent18a288a3c3612db731e13d38da5786e622d6e9ec (diff)
downloadnextcloud-server-e0212c11747423abc3720901cf69e69171aa5f9d.tar.gz
nextcloud-server-e0212c11747423abc3720901cf69e69171aa5f9d.zip
l10n support enhanced in files_versions
-rw-r--r--apps/files_versions/ajax/rollbackVersion.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/ajax/rollbackVersion.php b/apps/files_versions/ajax/rollbackVersion.php
index 216051dbcb0..2970915ac63 100644
--- a/apps/files_versions/ajax/rollbackVersion.php
+++ b/apps/files_versions/ajax/rollbackVersion.php
@@ -12,6 +12,6 @@ if(OCA\Files_Versions\Storage::rollback( $file, $revision )) {
OCP\JSON::success(array("data" => array( "revision" => $revision, "file" => $file )));
}else{
$l = OC_L10N::get('files_versions');
- OCP\JSON::error(array("data" => array( "message" => $l->t("Could not revert: %s", $file ))));
+ OCP\JSON::error(array("data" => array( "message" => $l->t("Could not revert: %s", array($file) ))));
}