Commit 3919815c authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Language strings

parent 2ba01e24
......@@ -39,6 +39,7 @@ require_once('artefact.php');
$artefact = artefact_instance_from_id($fileid);
$artefact->delete();
json_reply(false, get_string('filedeleted'));
json_reply(false, get_string('filethingdeleted', 'artefact.file',
get_string($artefact->get('artefacttype'), 'artefact.file')));
?>
......@@ -36,11 +36,12 @@ $string['destination'] = 'Destination';
$string['editfile'] = 'Edit file';
$string['editfolder'] = 'Edit folder';
$string['file'] = 'File';
$string['filethingdeleted'] = '%s deleted';
$string['fileexistsoverwritecancel'] = 'A file with that name already exists. You can rename the file you are about to upload, or overwrite the existing file.';
$string['filenamefieldisrequired'] = 'The file field is required';
$string['folder'] = 'folder';
$string['folder'] = 'Folder';
$string['home'] = 'Home';
$string['image'] = 'image';
$string['image'] = 'Image';
$string['myfiles'] = 'My Files';
$string['name'] = 'Name';
$string['namefieldisrequired'] = 'The name field is required';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment