From da4993d666fe25f3929f5060cd03e8f31498c33f Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 23 Feb 2012 17:07:35 +0000 Subject: [PATCH] // Change customizable properties form label name --- .../default/template/controllers/products/customization.tpl | 4 ++-- controllers/admin/AdminProductsController.php | 2 +- translations/de/admin.php | 4 ++-- translations/en/admin.php | 4 ++-- translations/es/admin.php | 4 ++-- translations/fr/admin.php | 3 ++- translations/it/admin.php | 4 ++-- 7 files changed, 13 insertions(+), 12 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/products/customization.tpl b/admin-dev/themes/default/template/controllers/products/customization.tpl index 8d24b2e73..a40c95f89 100644 --- a/admin-dev/themes/default/template/controllers/products/customization.tpl +++ b/admin-dev/themes/default/template/controllers/products/customization.tpl @@ -57,7 +57,7 @@
- {l s='Files fields:'} + {l s='Define the label of the file fields:'} {$display_file_labels} @@ -68,7 +68,7 @@
- {l s='Text fields:'} + {l s='Define the label of the text fields:'} {$display_text_labels} diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index 738fdcda9..aba7dd735 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -2951,7 +2951,7 @@ class AdminProductsControllerCore extends AdminController $fieldName = 'label_'.$type.'_'.(int)($id_customization_field).'_'.(int)($language['id_lang']); $text = (isset($label[(int)($language['id_lang'])])) ? $label[(int)($language['id_lang'])]['name'] : ''; $content .= '
-
#'.(int)($id_customization_field).'
+
'; } diff --git a/translations/de/admin.php b/translations/de/admin.php index 6fd6215aa..8253b54e2 100644 --- a/translations/de/admin.php +++ b/translations/de/admin.php @@ -2022,10 +2022,10 @@ $_LANGADM['AdminProductsac67ede5a84eb5a1add7ff4440e9a485'] = 'erforderlich'; $_LANGADM['AdminProducts5fd58de80d182944e9c229aa4c3b8180'] = 'Hinzufügen oder Ändern der benutzerdefinierten Eigenschaften'; $_LANGADM['AdminProductsc12cf3f1af68d3bb0dacb9f9ac61349e'] = 'Datei-Felder:'; $_LANGADM['AdminProducts255cf1d721d2bd8cd7b792c23a0773c3'] = 'Anzahl der anzuzeigenden Datei-Upload-Felder'; -$_LANGADM['AdminProductsb6bf408fcbdbbc77159db64efbcbb7b1'] = 'Textfelder:'; +$_LANGADM['AdminProductsf33c23efaf78aacff7c1cbc75f732865'] = 'Textfelder:'; $_LANGADM['AdminProducts2998f049bcca4beccebd03d57d35384e'] = 'Anzahl der anzuzeigenden Textfelder'; $_LANGADM['AdminProductsb17f3f4dcf653a5776792498a9b44d6a'] = 'Parameter aktualisieren'; -$_LANGADM['AdminProducts9d63ba376b631c024125951ea2a1280d'] = 'Datei-Felder:'; +$_LANGADM['AdminProducts522794e2dc4cecbae08ad633f40d4b9b'] = 'Datei-Felder:'; $_LANGADM['AdminProducts5561b49810cadf25824adfe31a1ed9cb'] = 'Felder speichern'; $_LANGADM['AdminProductse9cb217697088a98b1937d111d936281'] = 'Anhang'; $_LANGADM['AdminProducts6492d670e42151cc37574d99f4071f85'] = 'Dateiname:'; diff --git a/translations/en/admin.php b/translations/en/admin.php index 883ecbe65..cfd82468a 100644 --- a/translations/en/admin.php +++ b/translations/en/admin.php @@ -2200,10 +2200,10 @@ $_LANGADM['AdminProducts9230dd17b40c6d0478772e4d545abc46'] = 'Cancel modificatio $_LANGADM['AdminProducts5fd58de80d182944e9c229aa4c3b8180'] = 'Add or modify customizable properties'; $_LANGADM['AdminProductsc12cf3f1af68d3bb0dacb9f9ac61349e'] = 'File fields:'; $_LANGADM['AdminProducts255cf1d721d2bd8cd7b792c23a0773c3'] = 'Number of upload file fields displayed'; -$_LANGADM['AdminProductsb6bf408fcbdbbc77159db64efbcbb7b1'] = 'Text fields:'; +$_LANGADM['AdminProductsf33c23efaf78aacff7c1cbc75f732865'] = 'Define the label of the text fields:'; $_LANGADM['AdminProducts2998f049bcca4beccebd03d57d35384e'] = 'Number of text fields displayed'; $_LANGADM['AdminProductsb17f3f4dcf653a5776792498a9b44d6a'] = 'Update settings'; -$_LANGADM['AdminProducts9d63ba376b631c024125951ea2a1280d'] = 'Files fields:'; +$_LANGADM['AdminProducts522794e2dc4cecbae08ad633f40d4b9b'] = 'Define the label of the file fields:'; $_LANGADM['AdminProducts5561b49810cadf25824adfe31a1ed9cb'] = 'Save labels'; $_LANGADM['AdminProductsc7c2169d380b95e2e3672037c5ace793'] = 'Assign features to this product:'; $_LANGADM['AdminProductsf41afefb4495b85c7b7ddf3e1ca4387f'] = 'You can specify a value for each relevant feature regarding this product, empty fields will not be displayed.'; diff --git a/translations/es/admin.php b/translations/es/admin.php index fc17f1a48..acfa7248b 100644 --- a/translations/es/admin.php +++ b/translations/es/admin.php @@ -2011,10 +2011,10 @@ $_LANGADM['AdminProductsac67ede5a84eb5a1add7ff4440e9a485'] = 'necesario'; $_LANGADM['AdminProducts5fd58de80d182944e9c229aa4c3b8180'] = 'Añadir o modificar propiedades de personalización'; $_LANGADM['AdminProductsc12cf3f1af68d3bb0dacb9f9ac61349e'] = 'Campos de archivo:'; $_LANGADM['AdminProducts255cf1d721d2bd8cd7b792c23a0773c3'] = 'Número de campos de archivo subidos que se han mostrado '; -$_LANGADM['AdminProductsb6bf408fcbdbbc77159db64efbcbb7b1'] = 'Campos de texto:'; +$_LANGADM['AdminProductsf33c23efaf78aacff7c1cbc75f732865'] = 'Campos de texto:'; $_LANGADM['AdminProducts2998f049bcca4beccebd03d57d35384e'] = 'Números de campos de texto mostrados'; $_LANGADM['AdminProductsb17f3f4dcf653a5776792498a9b44d6a'] = 'Actualizar ajustes'; -$_LANGADM['AdminProducts9d63ba376b631c024125951ea2a1280d'] = 'Campos de archivo:'; +$_LANGADM['AdminProducts522794e2dc4cecbae08ad633f40d4b9b'] = 'Campos de archivo:'; $_LANGADM['AdminProducts5561b49810cadf25824adfe31a1ed9cb'] = 'Guardar etiquetas'; $_LANGADM['AdminProductse9cb217697088a98b1937d111d936281'] = 'Documento adjunto'; $_LANGADM['AdminProducts6492d670e42151cc37574d99f4071f85'] = 'Nombre del archivo'; diff --git a/translations/fr/admin.php b/translations/fr/admin.php index 4f404eb63..6407e47d1 100644 --- a/translations/fr/admin.php +++ b/translations/fr/admin.php @@ -2559,6 +2559,7 @@ $_LANGADM['AdminProducts4d774376eedc9e76eb3ecd52629ca6d5'] = 'Gestion des priori $_LANGADM['AdminProducts4e021cd834848e751e2d1bc66cee697d'] = 'Toutes les déclinaisons'; $_LANGADM['AdminProducts4e140ba723a03baa6948340bf90e2ef6'] = 'Nom :'; $_LANGADM['AdminProducts4faaa9989034c771a314b2f2c0c9ede6'] = 'Maximum 32 caractères.'; +$_LANGADM['AdminProducts522794e2dc4cecbae08ad633f40d4b9b'] = 'Définissez les libellés des champs fichiers :'; $_LANGADM['AdminProducts52eb5928a34db3e3da7ba52b0644273b'] = 'EAN-13'; $_LANGADM['AdminProducts52f5e0bc3859bc5f5e25130b6c7e8881'] = 'Position'; $_LANGADM['AdminProducts535fb9c585d10cb369e97f1ae2d5e11f'] = 'Déjà incluse dans le prix'; @@ -2680,7 +2681,6 @@ $_LANGADM['AdminProducts9c67db9cd9f13cfbbe3ebb7ab90e9e3f'] = 'Prix de vente TTC $_LANGADM['AdminProducts9c7f56d70e922a61254366964c01c64a'] = 'Toutes les devises'; $_LANGADM['AdminProducts9d2ee2dd8c264912b6dd7b1689c1b423'] = 'Impact sur le prix :'; $_LANGADM['AdminProducts9d38722749ec2101e437414ac2a743f9'] = 'Documents joints pour ce produit :'; -$_LANGADM['AdminProducts9d63ba376b631c024125951ea2a1280d'] = 'Champs fichier :'; $_LANGADM['AdminProducts9d74dc485c5bf552c65dd6a2a3596a59'] = 'Enregistrement des données...'; $_LANGADM['AdminProducts9d9aa88574c4dab04ddd8356c377357d'] = 'Catégorie par défaut :'; $_LANGADM['AdminProducts9e648a50303a03e66b9d41cfbaa52ea7'] = 'Impossible si le produit est un pack'; @@ -2833,6 +2833,7 @@ $_LANGADM['AdminProductsf072da215c080d985d44361e96a3cf60'] = 'Refuser les comman $_LANGADM['AdminProductsf107f5a9ee4ecea58d0f29ae7959baa8'] = 'Nom'; $_LANGADM['AdminProductsf16b5952df8d25ea30b25ff95ee8fedf'] = 'Boutiques associées :'; $_LANGADM['AdminProductsf2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_LANGADM['AdminProductsf33c23efaf78aacff7c1cbc75f732865'] = 'Définissez les libellés des champs textes :'; $_LANGADM['AdminProductsf41afefb4495b85c7b7ddf3e1ca4387f'] = 'Vous pouvez préciser une valeur pour chaque caractéristique pertinente concernant ce produit ; les champs vides ne seront pas affichés.'; $_LANGADM['AdminProductsf445f4a540768234833908cab83f9214'] = 'outrepasse la taxe d\'éco-participation du produit sur l\'onglet Information'; $_LANGADM['AdminProductsf4a275a931b82e5058bc8ffad8b8e5bd'] = 'Marque :'; diff --git a/translations/it/admin.php b/translations/it/admin.php index efb6538e3..9a7d1763a 100644 --- a/translations/it/admin.php +++ b/translations/it/admin.php @@ -2024,10 +2024,10 @@ $_LANGADM['AdminProductsac67ede5a84eb5a1add7ff4440e9a485'] = 'richiesti'; $_LANGADM['AdminProducts5fd58de80d182944e9c229aa4c3b8180'] = 'Aggiungi i modifica le proprietà personalizzabili'; $_LANGADM['AdminProductsc12cf3f1af68d3bb0dacb9f9ac61349e'] = 'Campi di file:'; $_LANGADM['AdminProducts255cf1d721d2bd8cd7b792c23a0773c3'] = 'Numero di campi di upload file da mostrare'; -$_LANGADM['AdminProductsb6bf408fcbdbbc77159db64efbcbb7b1'] = 'Campi di testo:'; +$_LANGADM['AdminProductsf33c23efaf78aacff7c1cbc75f732865'] = 'Campi di testo:'; $_LANGADM['AdminProducts2998f049bcca4beccebd03d57d35384e'] = 'Numero di campi di testo da mostrare'; $_LANGADM['AdminProductsb17f3f4dcf653a5776792498a9b44d6a'] = 'Aggiorna le impostazioni'; -$_LANGADM['AdminProducts9d63ba376b631c024125951ea2a1280d'] = 'Campi di file:'; +$_LANGADM['AdminProducts522794e2dc4cecbae08ad633f40d4b9b'] = 'Campi di file:'; $_LANGADM['AdminProducts5561b49810cadf25824adfe31a1ed9cb'] = 'Salva i campi'; $_LANGADM['AdminProductse9cb217697088a98b1937d111d936281'] = 'Documento allegato'; $_LANGADM['AdminProducts6492d670e42151cc37574d99f4071f85'] = 'Nome del file';