From 22050bded482e65366891d5ae7aa352cda35ff00 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Thu, 24 May 2012 15:47:39 +0000 Subject: [PATCH] // Fix translations error --- controllers/admin/AdminAttachmentsController.php | 2 +- translations/es/admin.php | 2 +- translations/fr/admin.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/admin/AdminAttachmentsController.php b/controllers/admin/AdminAttachmentsController.php index 83f91fa31..328d2bf4a 100644 --- a/controllers/admin/AdminAttachmentsController.php +++ b/controllers/admin/AdminAttachmentsController.php @@ -169,7 +169,7 @@ class AdminAttachmentsControllerCore extends AdminController $max_post = (int)ini_get('post_max_size'); $upload_mb = min($max_upload, $max_post); $this->errors[] = sprintf( - $this->l('The File %1$s exceeds the size allowed by the server. The limit is set to %1$d MB.'), + $this->l('The File %1$s exceeds the size allowed by the server. The limit is set to %2$d MB.'), ''.$_FILES['file']['name'].' ', ''.$upload_mb.'' ); diff --git a/translations/es/admin.php b/translations/es/admin.php index c314a5bf2..3c7fb8711 100644 --- a/translations/es/admin.php +++ b/translations/es/admin.php @@ -71,9 +71,9 @@ $_LANGADM['AdminAdminPreferencesdc58d598b2b22e50c5af01134305a4fb'] = 'Activar cu $_LANGADM['AdminAdminPreferencese673b146824251548feecf1f3929aceb'] = 'Duración del cookie de Back Office'; $_LANGADM['AdminAdminPreferencesed5454727fb14b9800ead242d0972184'] = 'Comprobar IP de la cookie'; $_LANGADM['AdminAttachments0b27918290ff5323bea1e3b78a9cf04e'] = 'Archivo'; -$_LANGADM['AdminAttachments1330644e50b47cea36b82e830f521ed8'] = 'El archivo %1$s supera el tamaño permitido por el servidor. Este límite está establecido en %2$d Mo.'; $_LANGADM['AdminAttachments38fb7d24e0d60a048f540ecb18e13376'] = 'Guardar'; $_LANGADM['AdminAttachments49ee3087348e8d44e1feda1917443987'] = 'Nombre'; +$_LANGADM['AdminAttachments4d28ec29db1a729694695d2c7be597c6'] = 'El archivo %1$s supera el tamaño permitido por el servidor. Este límite está establecido en %2$d Mo.'; $_LANGADM['AdminAttachments4de7deb3669d427bc715d7c4a59db66c'] = 'Este documento adjunto es utilizado por los siguientes productos:'; $_LANGADM['AdminAttachments5321af3b1b7fdb6eda5ac5e1ece2e645'] = 'El archivo no existe o no se puede descargar. Compruebe el límite de tamaño de los archivos descaragables configurado en su servidor.'; $_LANGADM['AdminAttachments6492d670e42151cc37574d99f4071f85'] = 'Nombre del archivo'; diff --git a/translations/fr/admin.php b/translations/fr/admin.php index 9faa8c1af..10c65f521 100644 --- a/translations/fr/admin.php +++ b/translations/fr/admin.php @@ -71,9 +71,9 @@ $_LANGADM['AdminAdminPreferencesdc58d598b2b22e50c5af01134305a4fb'] = 'Active l\' $_LANGADM['AdminAdminPreferencese673b146824251548feecf1f3929aceb'] = 'Durée de vie du cookie back-office'; $_LANGADM['AdminAdminPreferencesed5454727fb14b9800ead242d0972184'] = 'Vérifier l\'IP dans le cookie'; $_LANGADM['AdminAttachments0b27918290ff5323bea1e3b78a9cf04e'] = 'Fichier'; -$_LANGADM['AdminAttachments1330644e50b47cea36b82e830f521ed8'] = 'Le fichier %1$s dépasse le poids autorisé par le serveur, cette limite est fixée à %2$d Mo.'; $_LANGADM['AdminAttachments38fb7d24e0d60a048f540ecb18e13376'] = 'Enregistrer'; $_LANGADM['AdminAttachments49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_LANGADM['AdminAttachments4d28ec29db1a729694695d2c7be597c6'] = 'Le fichier %1$s dépasse le poids autorisé par le serveur, cette limite est fixée à %2$d Mo.'; $_LANGADM['AdminAttachments4de7deb3669d427bc715d7c4a59db66c'] = 'Ce document joint est utilisée par les produits suivants :'; $_LANGADM['AdminAttachments5321af3b1b7fdb6eda5ac5e1ece2e645'] = 'Le fichier n\'existe pas ou celui-ci n\'est pas téléchargeable, vérifiez la limite de taille des fichiers téléchargeables configurée sur votre serveur.'; $_LANGADM['AdminAttachments6492d670e42151cc37574d99f4071f85'] = 'Nom du fichier :';