Browse Source

l10n support enhanced in files_versions

tags/v5.0.0alpha1
Thomas Mueller 11 years ago
parent
commit
e0212c1174
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/files_versions/ajax/rollbackVersion.php

+ 1
- 1
apps/files_versions/ajax/rollbackVersion.php View 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) ))));
}


Loading…
Cancel
Save