From 0a09286f2076d5f28b24cf6207c2c5c007c230d4 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Tue, 22 May 2012 12:30:42 +0000 Subject: [PATCH] [-] BO : fix #PSCFV-2504 : Now class PaymentModule can be translated --- controllers/admin/AdminTranslationsController.php | 6 +++++- translations/fr/admin.php | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/controllers/admin/AdminTranslationsController.php b/controllers/admin/AdminTranslationsController.php index e3c8072bb..34e1f4745 100644 --- a/controllers/admin/AdminTranslationsController.php +++ b/controllers/admin/AdminTranslationsController.php @@ -751,7 +751,8 @@ class AdminTranslationsControllerCore extends AdminController _PS_ADMIN_CONTROLLER_DIR_.'/' => scandir(_PS_ADMIN_CONTROLLER_DIR_), _PS_OVERRIDE_DIR_.'controllers/admin/' => scandir(_PS_OVERRIDE_DIR_.'controllers/admin/'), _PS_CLASS_DIR_.'helper/' => scandir(_PS_CLASS_DIR_.'helper/'), - _PS_CLASS_DIR_.'controller/' => array('AdminController.php') + _PS_CLASS_DIR_.'controller/' => array('AdminController.php'), + _PS_CLASS_DIR_ => array('PaymentModule.php') ), 'tpl' => $this->listFiles(_PS_ADMIN_DIR_.'/themes/'), 'specific' => array( @@ -1458,6 +1459,9 @@ class AdminTranslationsControllerCore extends AdminController if ($prefix_key == 'Admin') $prefix_key = 'AdminController'; + if ($prefix_key == 'PaymentModule.php') + $prefix_key = 'PaymentModule'; + // Get content for this file $content = file_get_contents($file_path); diff --git a/translations/fr/admin.php b/translations/fr/admin.php index dcddbabab..5f0c48ee0 100644 --- a/translations/fr/admin.php +++ b/translations/fr/admin.php @@ -1127,6 +1127,7 @@ $_LANGADM['AdminHome004bf6c9a40003140292e97330236c53'] = 'Action'; $_LANGADM['AdminHome04fda3d53d1347c4e78e3e38ed165c18'] = 'Si vous ne savez pas comment faire, contactez votre administrateur système'; $_LANGADM['AdminHome07a53cacbb6be08b6fc168f0c0d50f06'] = 'Créez une nouvelle catégorie et organisez vos produits sur votre boutique.'; $_LANGADM['AdminHome095939fea07d985d07ababe2c18f5b9c'] = 'Notifications de mise à jour non disponible'; +$_LANGADM['AdminHome09e66316f7fa92b6fcd8b60f450b1112'] = 'Une erreur s\'est produite'; $_LANGADM['AdminHome11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Ventes'; $_LANGADM['AdminHome145091c4a142b35c98a860e2df97ef26'] = 'Inscriptions'; $_LANGADM['AdminHome164cff8928fa92c9e06d609d08438c9d'] = 'Ventes de la semaine'; @@ -1148,7 +1149,6 @@ $_LANGADM['AdminHome4c1bf99667f98775acadbb4f2d343ad2'] = 'Remplissez votre catal $_LANGADM['AdminHome4c9120f1a5947445c0e9620254ceb30b'] = 'Nouvelle commande'; $_LANGADM['AdminHome4d92a8b44ec205ea708bd3f3a8926b2d'] = 'Cache & compression navigateur'; $_LANGADM['AdminHome4ff2e716a7d06ce5274b4090b39abad3'] = 'Voir'; -$_LANGADM['AdminHome50b61a18f58d62b9f03c79bce0fd93ea'] = 'une erreur s\'est produite'; $_LANGADM['AdminHome54e85d70ea67acdcc86963b14d6223a8'] = 'Paniers abandonnés'; $_LANGADM['AdminHome5ad483f10dec94a21c78d89edc1fef94'] = 'Optimisation Smarty'; $_LANGADM['AdminHome5c4c68fb7fe0b7c38add85a542997bc9'] = 'Ventes + Tx'; @@ -4238,6 +4238,9 @@ $_LANGADM['Helperee9b2f3cf31c23c944b15fb0b33d6a77'] = 'Nom du champ'; $_LANGADM['Helperef7de3f485174ff47f061ad27d83d0ee'] = 'sélectionné'; $_LANGADM['Helperf2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; $_LANGADM['Helperfa3e5edac607a88d8fd7ecb9d6d67424'] = 'Mars'; +$_LANGADM['PaymentModulec2808546f3e14d267d798f4e0e6f102e'] = 'Personnalisé'; +$_LANGADM['PaymentModuleed13b3693357ebed3751cb71cb639e65'] = 'Aucun Transporteur'; +$_LANGADM['PaymentModulef3566b62fb3dddee617860e949c692f9'] = 'Nom de la réduction :'; $_LANGADM['index050a0d11da7943317186f76a36b14a6c'] = 'Aucune nouvelle commande n\'a été passée sur votre boutique'; $_LANGADM['index1165ec47ce359708f4a608d4decd04f6'] = 'Vous configurez votre site pour le magasin %s'; $_LANGADM['index12c500ed0b7879105fb46af0f246be87'] = 'commandes';