From 4c3d2a97bb20a9e155e6d9d0f9012e070ae914ad Mon Sep 17 00:00:00 2001 From: rMalie Date: Wed, 30 May 2012 08:35:42 +0000 Subject: [PATCH] // Fix Maxence's text --- .../themes/default/template/helpers/form/form.tpl | 8 ++++---- controllers/admin/AdminShopUrlController.php | 2 +- translations/fr/admin.php | 11 +---------- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/admin-dev/themes/default/template/helpers/form/form.tpl b/admin-dev/themes/default/template/helpers/form/form.tpl index 6823eca53..d17955c2c 100644 --- a/admin-dev/themes/default/template/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/helpers/form/form.tpl @@ -88,7 +88,7 @@ {if isset($input.readonly) && $input.readonly}readonly="readonly"{/if} {if isset($input.disabled) && $input.disabled}disabled="disabled"{/if} {if isset($input.autocomplete) && !$input.autocomplete}autocomplete="off"{/if} /> - {if isset($input.hint)}{$input.hint} {/if} + {if !empty($input.hint)}{$input.hint} {/if} {/foreach} @@ -120,7 +120,7 @@ {if isset($input.disabled) && $input.disabled}disabled="disabled"{/if} {if isset($input.autocomplete) && !$input.autocomplete}autocomplete="off"{/if} /> {if isset($input.suffix)}{$input.suffix}{/if} - {if isset($input.hint)}{$input.hint} {/if} + {if !empty($input.hint)}{$input.hint} {/if} {/if} {elseif $input.type == 'select'} {if isset($input.options.query) && !$input.options.query && isset($input.empty_message)} @@ -187,7 +187,7 @@ {/foreach} {/if} - {if isset($input.hint)}{$input.hint} {/if} + {if !empty($input.hint)}{$input.hint} {/if} {/if} {elseif $input.type == 'radio'} {foreach $input.values as $value} @@ -243,7 +243,7 @@ {/if} {/if} - {if isset($input.hint)}{$input.hint} {/if} + {if !empty($input.hint)}{$input.hint} {/if} {elseif $input.type == 'password'} 'virtual_uri', 'desc' => $desc_virtual_uri, 'size' => 50, - 'hint' => (!$update_htaccess) ? $this->l('Warning: The URL rewriting (mod_rewrite) seems to be disable.') : '', + 'hint' => (!$update_htaccess) ? $this->l('Warning: the URL rewriting (E.g. mod_rewrite for Apache) seems to be disabled. If your URL don\'t work, please check with your host provider how to activate URL rewriting.') : '', ), array( 'type' => 'text', diff --git a/translations/fr/admin.php b/translations/fr/admin.php index 310558e49..b172406ca 100644 --- a/translations/fr/admin.php +++ b/translations/fr/admin.php @@ -902,7 +902,6 @@ $_LANGADM['AdminCustomerscca344269d726c206f3d3894c85cae5a'] = 'Client abonné à $_LANGADM['AdminCustomersce26601dac0dea138b7295f02b7620a7'] = 'Client'; $_LANGADM['AdminCustomersce87e57403dbb8cdd5897bd100d21013'] = '%1$s %2$s n\'a pas encore enregistré d\'adresse'; $_LANGADM['AdminCustomersd04e2c1b67f3ef0d475409516b812e8b'] = 'SIRET :'; -$_LANGADM['AdminCustomersd1457b72c3fb323a2671125aef3eab5d'] = '?'; $_LANGADM['AdminCustomersd1554912e46f8d36a800ad8b604225f1'] = 'Commandes valides :'; $_LANGADM['AdminCustomersd3139f39f1ad6324c80a9ddd50cc7867'] = 'Pages vues'; $_LANGADM['AdminCustomersd3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer la sélection'; @@ -3129,16 +3128,13 @@ $_LANGADM['AdminShop2377be3c2ad9b435ba277a73f0f1ca76'] = 'Marques'; $_LANGADM['AdminShop247ce0c9b61b77d61c5de8e2c3e32978'] = 'Éditer cette URL'; $_LANGADM['AdminShop24a23d787190f2c4812ff9ab11847a72'] = 'État :'; $_LANGADM['AdminShop25c25c36ef8fc9436725e3a4eb6044d2'] = 'Supprimer cette boutique'; -$_LANGADM['AdminShop287234a1ff35a314b5b6bc4e5828e745'] = 'Valeurs d\'attributs'; $_LANGADM['AdminShop2df07bc574bd6370979f7762b08b4a32'] = 'Choisissez la boutique (source)'; $_LANGADM['AdminShop30cfab87fe702cd2ff1b064fa4729305'] = 'Ajouter une URL'; $_LANGADM['AdminShop339b1acb0d1f26923dc4545a9f749ab3'] = 'Comptes service web'; $_LANGADM['AdminShop37c0e2b9736bc4cc2005f7be3fd66fe5'] = 'Activer ou désactiver la boutique'; $_LANGADM['AdminShop3adbdb3ac060038aa0e6e6c138ef9873'] = 'Catégorie'; $_LANGADM['AdminShop4390988a3f7d7cfa3d8a5ecb11976f58'] = 'Groupe de boutiques'; -$_LANGADM['AdminShop45f739d1a4b022ab097c583c38eb388f'] = 'Langue des transporteurs'; $_LANGADM['AdminShop4a4122f85bc7d1d197ef87cf89f90d01'] = 'Attention : vous ne pourrez plus changer le groupe de boutique de cette boutique, si cette boutique appartient à un groupe avec une des options \"partage de clients\" ou \"partage des quantités\" ou \"partage des commandes\" activée.'; -$_LANGADM['AdminShop511e7adbb96dafc5569e4be09da8dc93'] = 'Langue des produits'; $_LANGADM['AdminShop517a8a7dbf1f6e371509817de328e396'] = 'Groupes de clients'; $_LANGADM['AdminShop580cb0ed4cf533163f82c70c7833bb9d'] = 'Groupe de boutique :'; $_LANGADM['AdminShop5a8f8f8e0bcbfcd926271ee7d7351134'] = 'Groupes de boutique'; @@ -3151,7 +3147,6 @@ $_LANGADM['AdminShop652342e19bf26f8d1b350e60aad3e3bf'] = 'Ajouter une boutique'; $_LANGADM['AdminShop6a9afe170bdaacb2cdf24336e038597d'] = 'Ajouter l\'adresse'; $_LANGADM['AdminShop6c8d0b6839cf16e3b2c7e5d0f6428b40'] = 'Vous ne pouvez déplacer votre boutique que vers un groupe dont les options \"partage\" sont désactivées, ou vers un groupe ne possédant ni clients ni commandes.'; $_LANGADM['AdminShop6fab199dbf5a4155871fb0d5dbfa9827'] = 'Règles de taxes'; -$_LANGADM['AdminShop72cfee7e99f1d0a9df6cb5434fac3665'] = 'Restrictions des groupes d\'utilisateurs pour le module de paiement'; $_LANGADM['AdminShop7641f2d6a19d137714d493ac979e20d5'] = 'Ajouter un groupe de boutique'; $_LANGADM['AdminShop775a3ab6add326ef93f2382f49f9e500'] = 'Attributs'; $_LANGADM['AdminShop790d59ef178acbc75d233bf4211763c6'] = 'Pays'; @@ -3160,11 +3155,9 @@ $_LANGADM['AdminShop821b8ee6937cec96c30fdafbfe836d68'] = 'Magasins'; $_LANGADM['AdminShop92318dc9b42eb05bb1c958f0a15d19b9'] = 'Langues'; $_LANGADM['AdminShop93353a734fe6e60784b839e911d2cbf1'] = 'Vous ne pouvez pas changer le groupe de boutique car une de ses options de partage est activée.'; $_LANGADM['AdminShop93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; -$_LANGADM['AdminShop97c28a285baaceed1a185a2b8a088782'] = 'Exceptions des points d\'accroches des modules'; $_LANGADM['AdminShop98f770b0af18ca763421bac22b4b6805'] = 'Caractéristiques'; $_LANGADM['AdminShop99104e1966b34f0320d33c5892946a82'] = 'Importer les informations associées (produits, etc.) depuis une autre boutique'; $_LANGADM['AdminShop9d5bf15117441a1b52eb1f0808e4aad3'] = 'Réductions'; -$_LANGADM['AdminShop9e43e210cf7bd16b8896636cae3e46b8'] = 'Restrictions des devises pour le module de paiement'; $_LANGADM['AdminShop9ea67be453eaccf020697b4654fc021a'] = 'Enregistrer et rester'; $_LANGADM['AdminShop9f82518d468b9fee614fcc92f76bb163'] = 'Boutique'; $_LANGADM['AdminShopGroup00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; @@ -3195,7 +3188,6 @@ $_LANGADM['AdminShopUrl37d00f4554dc3c0baeb34a9c22d787d9'] = 'URL de la boutique' $_LANGADM['AdminShopUrl3cbc37f94997d23bfe2824165dc45549'] = 'Ajouter une URL'; $_LANGADM['AdminShopUrl676e457154510d142765d535fbf11df0'] = 'URL principale'; $_LANGADM['AdminShopUrl873646ada13763eda1a5393d99973204'] = 'Domaine SSL :'; -$_LANGADM['AdminShopUrl8d3057653243d8dc92ef854144b299cc'] = 'Attention : La réécriture d\'url (mod_rewrite) semble être desactivée.'; $_LANGADM['AdminShopUrl9b5ee5e0b5aed007f4192b3252a0eccf'] = 'Vous devez activer la réécriture d\'url si vous voulez ajouter une URL virtuelle.'; $_LANGADM['AdminShopUrl9c8417aa5dbcccb5b4c48b4176ae1e8a'] = 'URI physique :'; $_LANGADM['AdminShopUrl9efaaad2d5b51cd643529cd6872e169a'] = 'URL principale :'; @@ -3208,6 +3200,7 @@ $_LANGADM['AdminShopUrlbfc70beddce99a8ab159563d4e03f7af'] = 'Options de l\'URL'; $_LANGADM['AdminShopUrlc9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; $_LANGADM['AdminShopUrld42225935a374f1249f2a45ebed00772'] = 'Activée ou désactivée'; $_LANGADM['AdminShopUrld63c1ea9ab7850a74940ff760f25034b'] = 'Éditer cette boutique'; +$_LANGADM['AdminShopUrlda9590054e1fdec4ba1f63666e89863d'] = 'Attention : l\'url rewriting (par exemple, le mod_rewrite d\'Apache) semble être désactivé. Si votre URL ne fonctionne pas, contactez votre hébergeur pour lui demander comment l\'activer.'; $_LANGADM['AdminShopUrldd22844f47ebedcec07f9c920af00fb3'] = 'URI virtuelle :'; $_LANGADM['AdminShopUrle6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; $_LANGADM['AdminShopUrle93c33bd1341ab74195430daeb63db13'] = 'Nom de la boutique'; @@ -3219,14 +3212,12 @@ $_LANGADM['AdminShopb6755d218d5f4e1cef9cce9cc39aeda9'] = 'Méta'; $_LANGADM['AdminShopb71593973c58bb41eb302d037f6b1230'] = 'Points d\'accroches des modules'; $_LANGADM['AdminShopb718adec73e04ce3ec720dd11a06a308'] = 'ID'; $_LANGADM['AdminShopb869af59d40b52d2ad275c9f5ed81461'] = 'Vous ne pouvez pas supprimer cette boutique (des clients et / ou commandes y sont liées)'; -$_LANGADM['AdminShopb8ddfef634372f5719de857ea26c99be'] = 'Langue des catégories'; $_LANGADM['AdminShopb9208b03bcc9eb4a336258dcdcb66207'] = 'Déclinaisons'; $_LANGADM['AdminShopb9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; $_LANGADM['AdminShopbafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; $_LANGADM['AdminShopbb34f602e45a9fbcb2cdfee7a48673fc'] = 'Scènes'; $_LANGADM['AdminShopbbaff12800505b22a853e8b7f4eb6a22'] = 'Contact'; $_LANGADM['AdminShopbf17ac149e2e7a530c677e9bd51d3fd2'] = 'Modules'; -$_LANGADM['AdminShopc269874d047098fef892a344be025303'] = 'Restrictions des pays pour le module de paiement'; $_LANGADM['AdminShopc3dd254606fb978c7b0c51b6d8987865'] = 'Arbre multi-boutique'; $_LANGADM['AdminShopc8cfbbbe4253e14390b2b14d7e60d9c8'] = 'Importer les données'; $_LANGADM['AdminShopc9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer';