Fix: translation
This commit is contained in:
parent
c62c7abd4b
commit
fb112e0dd2
@ -15,7 +15,7 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
*
|
||||||
* $Id: ajaxfileupload.tpl.php,v 1.5 2011/07/05 09:14:26 hregis Exp $
|
* $Id: ajaxfileupload.tpl.php,v 1.6 2011/07/05 09:30:11 hregis Exp $
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -26,8 +26,8 @@
|
|||||||
<td class="preview"></td>
|
<td class="preview"></td>
|
||||||
<td class="size">${sizef}</td>
|
<td class="size">${sizef}</td>
|
||||||
{{if error}}
|
{{if error}}
|
||||||
<td class="error" colspan="2">Error:
|
<td class="error" colspan="2"><?php echo $langs->trans('Error'); ?>:
|
||||||
{{if error === 'maxFileSize'}}File is too big
|
{{if error === 'maxFileSize'}}<?php echo $langs->trans('FileIsTooBig'); ?>
|
||||||
{{else error === 'minFileSize'}}File is too small
|
{{else error === 'minFileSize'}}File is too small
|
||||||
{{else error === 'acceptFileTypes'}}Filetype not allowed
|
{{else error === 'acceptFileTypes'}}Filetype not allowed
|
||||||
{{else error === 'maxNumberOfFiles'}}Max number of files exceeded
|
{{else error === 'maxNumberOfFiles'}}Max number of files exceeded
|
||||||
@ -48,7 +48,7 @@
|
|||||||
<td></td>
|
<td></td>
|
||||||
<td class="name">${name}</td>
|
<td class="name">${name}</td>
|
||||||
<td class="size">${sizef}</td>
|
<td class="size">${sizef}</td>
|
||||||
<td class="error" colspan="2">Error:
|
<td class="error" colspan="2"><?php echo $langs->trans('Error'); ?>:
|
||||||
{{if error === 1}}File exceeds upload_max_filesize (php.ini directive)
|
{{if error === 1}}File exceeds upload_max_filesize (php.ini directive)
|
||||||
{{else error === 2}}File exceeds MAX_FILE_SIZE (HTML form directive)
|
{{else error === 2}}File exceeds MAX_FILE_SIZE (HTML form directive)
|
||||||
{{else error === 3}}File was only partially uploaded
|
{{else error === 3}}File was only partially uploaded
|
||||||
@ -56,7 +56,7 @@
|
|||||||
{{else error === 5}}Missing a temporary folder
|
{{else error === 5}}Missing a temporary folder
|
||||||
{{else error === 6}}Failed to write file to disk
|
{{else error === 6}}Failed to write file to disk
|
||||||
{{else error === 7}}File upload stopped by extension
|
{{else error === 7}}File upload stopped by extension
|
||||||
{{else error === 'maxFileSize'}}File is too big
|
{{else error === 'maxFileSize'}}<?php echo $langs->trans('FileIsTooBig'); ?>
|
||||||
{{else error === 'minFileSize'}}File is too small
|
{{else error === 'minFileSize'}}File is too small
|
||||||
{{else error === 'acceptFileTypes'}}Filetype not allowed
|
{{else error === 'acceptFileTypes'}}Filetype not allowed
|
||||||
{{else error === 'maxNumberOfFiles'}}Max number of files exceeded
|
{{else error === 'maxNumberOfFiles'}}Max number of files exceeded
|
||||||
|
|||||||
@ -158,6 +158,10 @@ ClickHere=Click here
|
|||||||
UseAdvancedPerms=Use the advanced rights permissions in modules
|
UseAdvancedPerms=Use the advanced rights permissions in modules
|
||||||
FileFormat=File format
|
FileFormat=File format
|
||||||
SelectAColor=Choose a color
|
SelectAColor=Choose a color
|
||||||
|
AddFiles=Add Files
|
||||||
|
StartUpload=Start upload
|
||||||
|
CancelUpload=Cancel upload
|
||||||
|
FileIsTooBig=Files is too big
|
||||||
|
|
||||||
##### Bookmark #####
|
##### Bookmark #####
|
||||||
Bookmark=Bookmark
|
Bookmark=Bookmark
|
||||||
|
|||||||
@ -158,6 +158,10 @@ ClickHere=Cliquez ici
|
|||||||
UseAdvancedPerms=Utiliser les droits avancés dans les permissions des modules
|
UseAdvancedPerms=Utiliser les droits avancés dans les permissions des modules
|
||||||
FileFormat=Format de fichier
|
FileFormat=Format de fichier
|
||||||
SelectAColor=Choisissez une couleur
|
SelectAColor=Choisissez une couleur
|
||||||
|
AddFiles=Ajouter des fichiers
|
||||||
|
StartUpload=Transférer
|
||||||
|
CancelUpload=Annuler le transfert
|
||||||
|
FileIsTooBig=Le fichier est trop volumineux
|
||||||
|
|
||||||
##### Bookmark #####
|
##### Bookmark #####
|
||||||
Bookmark=Marque-page
|
Bookmark=Marque-page
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user