diff --git a/htdocs/core/tpl/ajaxfileupload.tpl.php b/htdocs/core/tpl/ajaxfileupload.tpl.php
index fcbd5318b99..f1d6026c981 100644
--- a/htdocs/core/tpl/ajaxfileupload.tpl.php
+++ b/htdocs/core/tpl/ajaxfileupload.tpl.php
@@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
* 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 @@
|
${sizef} |
{{if error}}
- Error:
- {{if error === 'maxFileSize'}}File is too big
+ | trans('Error'); ?>:
+ {{if error === 'maxFileSize'}}trans('FileIsTooBig'); ?>
{{else error === 'minFileSize'}}File is too small
{{else error === 'acceptFileTypes'}}Filetype not allowed
{{else error === 'maxNumberOfFiles'}}Max number of files exceeded
@@ -48,7 +48,7 @@
| |
${name} |
${sizef} |
- Error:
+ | trans('Error'); ?>:
{{if error === 1}}File exceeds upload_max_filesize (php.ini directive)
{{else error === 2}}File exceeds MAX_FILE_SIZE (HTML form directive)
{{else error === 3}}File was only partially uploaded
@@ -56,7 +56,7 @@
{{else error === 5}}Missing a temporary folder
{{else error === 6}}Failed to write file to disk
{{else error === 7}}File upload stopped by extension
- {{else error === 'maxFileSize'}}File is too big
+ {{else error === 'maxFileSize'}}trans('FileIsTooBig'); ?>
{{else error === 'minFileSize'}}File is too small
{{else error === 'acceptFileTypes'}}Filetype not allowed
{{else error === 'maxNumberOfFiles'}}Max number of files exceeded
diff --git a/htdocs/langs/en_US/other.lang b/htdocs/langs/en_US/other.lang
index 7214235b04e..25282ecea09 100644
--- a/htdocs/langs/en_US/other.lang
+++ b/htdocs/langs/en_US/other.lang
@@ -158,6 +158,10 @@ ClickHere=Click here
UseAdvancedPerms=Use the advanced rights permissions in modules
FileFormat=File format
SelectAColor=Choose a color
+AddFiles=Add Files
+StartUpload=Start upload
+CancelUpload=Cancel upload
+FileIsTooBig=Files is too big
##### Bookmark #####
Bookmark=Bookmark
diff --git a/htdocs/langs/fr_FR/other.lang b/htdocs/langs/fr_FR/other.lang
index e762a5839c6..ace47ce6bdf 100644
--- a/htdocs/langs/fr_FR/other.lang
+++ b/htdocs/langs/fr_FR/other.lang
@@ -158,6 +158,10 @@ ClickHere=Cliquez ici
UseAdvancedPerms=Utiliser les droits avancés dans les permissions des modules
FileFormat=Format de fichier
SelectAColor=Choisissez une couleur
+AddFiles=Ajouter des fichiers
+StartUpload=Transférer
+CancelUpload=Annuler le transfert
+FileIsTooBig=Le fichier est trop volumineux
##### Bookmark #####
Bookmark=Marque-page
|