diff --git a/module/file/control.php b/module/file/control.php index ff5e46caa4..e3fe26b575 100644 --- a/module/file/control.php +++ b/module/file/control.php @@ -154,7 +154,7 @@ class file extends control } else { - die($this->lang->file->fileNotFound); + die("
{$this->lang->file->fileNotFound}"); } } diff --git a/module/file/lang/de.php b/module/file/lang/de.php index 924bcabfac..7d9f60e419 100644 --- a/module/file/lang/de.php +++ b/module/file/lang/de.php @@ -62,5 +62,5 @@ $lang->file->errorFileMove = " Upload fehlgeschlagen, die Datei konnte nicht $lang->file->dangerFile = " Die Datei wurde aus Sicherheitsgründen abgelehnt."; $lang->file->errorSuffix = 'Format ist falsch. Nur .zip Dateien!'; $lang->file->errorExtract = 'Entpacken fehlgeschlagen. Die Datei ist vermutlich defekt.'; -$lang->file->fileNotFound = 'The file was not found. The physical file might have been deleted!'; +$lang->file->fileNotFound = 'The file was not found. The physical file might have been deleted!'; $lang->file->fileContentEmpty = 'The file is empty. Check the file and upload it again.'; diff --git a/module/file/lang/en.php b/module/file/lang/en.php index 745f359470..0ad4e896ff 100644 --- a/module/file/lang/en.php +++ b/module/file/lang/en.php @@ -62,5 +62,5 @@ $lang->file->errorFileMove = " Uploading failed. An error prompts when moving $lang->file->dangerFile = " The file failed to be uploaded for security reasons."; $lang->file->errorSuffix = 'Format is incorrect. .zip files ONLY!'; $lang->file->errorExtract = 'Extracting files failed. Files might be damaged or there might be invalid files in the zip package.'; -$lang->file->fileNotFound = 'The file was not found. The physical file might have been deleted!'; +$lang->file->fileNotFound = 'The file was not found. The physical file might have been deleted!'; $lang->file->fileContentEmpty = 'The file is empty. Check the file and upload it again.'; diff --git a/module/file/lang/fr.php b/module/file/lang/fr.php index ae33c5f769..fe42f40460 100644 --- a/module/file/lang/fr.php +++ b/module/file/lang/fr.php @@ -62,5 +62,5 @@ $lang->file->errorFileMove = " Echec du chargement. Une erreur est survenue l $lang->file->dangerFile = " Le fichier n'a pas pu être chargé pour des raisons de sécurité."; $lang->file->errorSuffix = 'Format incorrect. Fichiers .zip SEULEMENT !'; $lang->file->errorExtract = "Echec de l'extraction des fichiers. Les fichiers peuvent être endommagé ou il y a un fichier invalide dans le zip."; -$lang->file->fileNotFound = 'Fichier non trouvé. Le fichier physique a peut-être été supprimé par innadvertance !'; +$lang->file->fileNotFound = 'Fichier non trouvé. Le fichier physique a peut-être été supprimé par innadvertance !'; $lang->file->fileContentEmpty = 'The file is empty. Check the file and upload it again.'; diff --git a/module/file/lang/vi.php b/module/file/lang/vi.php index 0d4f42cb0b..aa3a9a3167 100644 --- a/module/file/lang/vi.php +++ b/module/file/lang/vi.php @@ -62,5 +62,5 @@ $lang->file->errorFileMove = " Uploading failed. An error prompts when moving $lang->file->dangerFile = " The file failed to be uploaded for security reasons."; $lang->file->errorSuffix = 'Format is incorrect. .zip files ONLY!'; $lang->file->errorExtract = 'Extracting files failed. Files might be damaged or there might be invalid files in the zip package.'; -$lang->file->fileNotFound = 'Tập tin was not found. The physical file might have been deleted!'; +$lang->file->fileNotFound = 'Tập tin was not found. The physical file might have been deleted!'; $lang->file->fileContentEmpty = 'The file is empty. Check the file and upload it again.'; diff --git a/module/file/lang/zh-cn.php b/module/file/lang/zh-cn.php index 4d01724d85..366b670688 100644 --- a/module/file/lang/zh-cn.php +++ b/module/file/lang/zh-cn.php @@ -62,5 +62,5 @@ $lang->file->errorFileMove = " 文件上传失败,移动文件时出错"; $lang->file->dangerFile = " 您选择的文件存在安全风险,系统将不予上传。"; $lang->file->errorSuffix = '压缩包格式错误,只能上传zip压缩包!'; $lang->file->errorExtract = '解压缩失败!可能文件已经损坏,或压缩包里含有非法上传文件。'; -$lang->file->fileNotFound = '未找到该文件,可能物理文件已被删除!'; +$lang->file->fileNotFound = '未找到该文件,可能物理文件已被删除!'; $lang->file->fileContentEmpty = '上传文件内容为空,请检查后重新上传。';