From ad13d7e10229dcbc2e221d5a2c0bc9dbff6cd73b Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 1 Mar 2012 13:58:48 +0000 Subject: [PATCH] [-] BO : #PSTEST-924 - Fix bug with \n and some translations --- controllers/admin/AdminSearchConfController.php | 7 +++---- translations/fr/admin.php | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/controllers/admin/AdminSearchConfController.php b/controllers/admin/AdminSearchConfController.php index 1603bf0ff..80ce442bf 100644 --- a/controllers/admin/AdminSearchConfController.php +++ b/controllers/admin/AdminSearchConfController.php @@ -48,8 +48,8 @@ class AdminSearchConfControllerCore extends AdminController $this->l('The "indexed" products have been analysed by PrestaShop and will appear in the results of the front office search.').'
'.$this->l('Indexed products:').' '.(int)$indexed.' / '.(int)$total.'.

-

'.$this->l('Building the product index can take a few minutes or more. - If your server stop the process before it ends, you can resume the indexation by clicking "Add missing products".').'

+

'.$this->l('Building the product index can take a few minutes or more.') + .$this->l('If your server stop the process before it ends, you can resume the indexation by clicking "Add missing products".').'

-> '. $this->l('Add missing products to index.').'
-> '. @@ -98,8 +98,7 @@ class AdminSearchConfControllerCore extends AdminController 'info' => $this->l('The "weight" represents its importance and relevance for the ranking of the products when try a new search.').'
'.$this->l('A word with a weight of 8 will have 4 times more value than a word with a weight of 2.').'

- '.$this->l('That\'s why we advize to set a greater weight for words which appear in the name or reference of a products - than the ones of the description of category name. Thus, the search results will be as precised and releant as possible.'), + '.$this->l('That\'s why we advise to set a greater weight for words which appear in the name or reference of a products than the ones of the description. Thus, the search results will be as precised and releant as possible.'), 'fields' => array( 'PS_SEARCH_WEIGHT_PNAME' => array( 'title' => $this->l('Product name weight'), diff --git a/translations/fr/admin.php b/translations/fr/admin.php index 2099b5615..21fabeb8d 100644 --- a/translations/fr/admin.php +++ b/translations/fr/admin.php @@ -3160,7 +3160,9 @@ $_LANGADM['AdminSearchConf483c40354fdf24fc335387dc1785ccd2'] = 'Avec la recherch $_LANGADM['AdminSearchConf4871216a35362aebc0d9908e6e288765'] = 'Poids des caractéristiques'; $_LANGADM['AdminSearchConf5bff181421d95b49ad5ce5bb08f0ffbe'] = 'Mots à ne pas indexer'; $_LANGADM['AdminSearchConf6af0a6ff1f2f2a61cbd8b98232314b03'] = 'Poids de la description courte'; +$_LANGADM['AdminSearchConf6b6f555863e195d03251e032e5215dc1'] = 'Si votre serveur arrête le processus avant qu\'il se termine, vous pouvez continuer l\'indexation en cliquant sur \"Ajouter à l\'index les produits manquant.\".'; $_LANGADM['AdminSearchConf76a591808a254d4094e1c43f937b834f'] = 'Poids du nom du produit'; +$_LANGADM['AdminSearchConf7b4ab4349de14bddc973ec0339695854'] = 'C\'est pourquoi nous vous conseillons de mettre plus de poids pour les mots qui apparaissent dans le nom ou la référence d\'un des produits que ceux de la description. Ainsi, les résultats de la recherche seront aussi précis que possible.'; $_LANGADM['AdminSearchConf88a84f6aa7f460b72f4a4b9dd9b9b714'] = 'Active la recherche instantanée pour les visiteurs.'; $_LANGADM['AdminSearchConf89e75b6219e4f6de0200ad94812a5655'] = 'Ajouter à l\'index les produits manquant.'; $_LANGADM['AdminSearchConf8a289df2d13df2450bfcc937a026dee3'] = 'Recherche Ajax'; @@ -3174,6 +3176,7 @@ $_LANGADM['AdminSearchConfc1aa7600ab8604ee230fbf068ae3e032'] = 'Seuls les mots $_LANGADM['AdminSearchConfd09de235a4115d5c3ff8d8e75f2fa45c'] = 'Produits indexés :'; $_LANGADM['AdminSearchConfd125a8ad45c31bd8d3d6502b357e944a'] = 'Avec la recherche instantanée, les résultats apparaitront immédiatement pendant que l\'utilisateur fait sa recherche.'; $_LANGADM['AdminSearchConfda0d18febbbe9cd4e54b68aa72f1d231'] = 'Indexation'; +$_LANGADM['AdminSearchConff228001fc9ac806066ea0a61ca65abb6'] = 'La construction de l\'index des produict peut prendre plusieurs minutes.'; $_LANGADM['AdminSearchConff391844c98222451204cbb678d591f86'] = 'Poids de la référence'; $_LANGADM['AdminSearchConff90f799bc686f5d6a731b1f8074b4580'] = 'Poids de la description longue'; $_LANGADM['AdminSearchEngines38fb7d24e0d60a048f540ecb18e13376'] = 'Enregistrer';