diff options
author | vdigital <vdigital@piwigo.org> | 2008-10-23 20:45:36 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-10-23 20:45:36 +0000 |
commit | 8add69c7874d1444b21c6d8cfa8d34e70e6750b1 (patch) | |
tree | 6fb44680bb3dfdd1616f92d096332524ecc7f215 /plugins | |
parent | dadd219bf2d32215a6cdff1b2fb02c3f3dfc8f65 (diff) |
Merging revision 2796
Error in French advice...
git-svn-id: http://piwigo.org/svn/trunk@2797 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | plugins/admin_advices/admin_advices.php | 4 | ||||
-rw-r--r-- | plugins/admin_advices/adv_set.php | 2 | ||||
-rw-r--r-- | plugins/admin_advices/language/fr_FR/plugin.lang.php | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/plugins/admin_advices/admin_advices.php b/plugins/admin_advices/admin_advices.php index ee2a3e797..7f3a612ba 100644 --- a/plugins/admin_advices/admin_advices.php +++ b/plugins/admin_advices/admin_advices.php @@ -22,7 +22,9 @@ // +-----------------------------------------------------------------------+ add_event_handler('loc_end_page_header', 'set_admin_advice_add_css' ); - +// pour faciliter le debug :o) +ini_set('error_reporting', E_ALL); +ini_set('display_errors', true); // Add a XHTML tag in HEAD section function set_admin_advice_add_css() { diff --git a/plugins/admin_advices/adv_set.php b/plugins/admin_advices/adv_set.php index 5b6ee3cde..a95832688 100644 --- a/plugins/admin_advices/adv_set.php +++ b/plugins/admin_advices/adv_set.php @@ -152,7 +152,7 @@ $adv['n'][26] = 'rate_items'; $adv['c'][26] = ( count($conf['rate_items']) > 6 ); $adv['v'][26] = sprintf($lang['current'], $conf['rate_items']); -$adv['n'][27] = $conf['show_iptc']; +$adv['n'][27] = 'show_iptc'; $adv['c'][27] = $conf['show_iptc']; $adv['v'][27] = sprintf($lang['current'], 'true'); diff --git a/plugins/admin_advices/language/fr_FR/plugin.lang.php b/plugins/admin_advices/language/fr_FR/plugin.lang.php index c4dcd086d..36fbbc3c8 100644 --- a/plugins/admin_advices/language/fr_FR/plugin.lang.php +++ b/plugins/admin_advices/language/fr_FR/plugin.lang.php @@ -158,7 +158,7 @@ $lang['Adv_case'][33] = array( /* **navigation */ 'Vous pouvez utiliser les flèches du clavier pour naviguer entre les images.', ); $lang['Adv_case'][34] = array( /* compiled_template_cache_language */ 'Devrait être à false, la traduction sera effectuée au moment de la demande de l\'utilisateur.', - 'Si vous n'utilisez qu\'une seule langue (vous n\'aurez conservé qu\'un sous-répertoire language)', + 'Si vous n\'utilisez qu\'une seule langue (vous n\'aurez conservé qu\'un sous-répertoire language)', 'ou via un plugin si vous forcez tous les utilisateurs a utiliser le même langage,', 'vous devriez envisager la valeur true.', 'Positionné à true, les @translate des templates seront réalisés au moment de la compilation.' ); |