]> source.dussan.org Git - nextcloud-server.git/commitdiff
l10n support enhanced in files_versions
authorThomas Mueller <thomas.mueller@tmit.eu>
Thu, 7 Feb 2013 15:34:57 +0000 (16:34 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Thu, 7 Feb 2013 15:34:57 +0000 (16:34 +0100)
apps/files_versions/ajax/rollbackVersion.php

index 216051dbcb093f415be96d63ab5141f6c0ff937e..2970915ac6360dddd22b47589a6d2ae8d128f73c 100644 (file)
@@ -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) ))));
 }