diff options
author | vdigital <vdigital@piwigo.org> | 2008-10-23 20:43:30 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-10-23 20:43:30 +0000 |
commit | 96edbac452ea26db9d16e92b7d0854ddcf455e41 (patch) | |
tree | 1bbfc341d2a1d45434b423e2e7dc8bbe1a61391b /plugins/admin_advices | |
parent | f16f109b6bdb41fa154b6844a5022a996b979204 (diff) |
Error in French advice...
git-svn-id: http://piwigo.org/svn/branches/2.0@2796 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.' ); |