aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-10-24 17:33:14 +0000
committervdigital <vdigital@piwigo.org>2008-10-24 17:33:14 +0000
commit6cfa8e01943fea190a64c23c8bf0ab1c5d9ff4f7 (patch)
tree326133fa08a2396c5ff11731ac73063fb401ca76
parent82cf212731851669b60697aba443aa06b99aa200 (diff)
Refer to SVN:2789 - Advices [34]( compiled_template_cache_language ) revised
Translation is needed for German, Spanish, Italian... git-svn-id: http://piwigo.org/svn/branches/2.0@2800 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--plugins/admin_advices/admin_advices.php4
-rw-r--r--plugins/admin_advices/language/de_DE/plugin.lang.php8
-rw-r--r--plugins/admin_advices/language/en_UK/plugin.lang.php8
-rw-r--r--plugins/admin_advices/language/es_ES/plugin.lang.php8
-rw-r--r--plugins/admin_advices/language/fr_FR/plugin.lang.php8
-rw-r--r--plugins/admin_advices/language/it_IT/plugin.lang.php8
6 files changed, 16 insertions, 28 deletions
diff --git a/plugins/admin_advices/admin_advices.php b/plugins/admin_advices/admin_advices.php
index 7f3a612ba..ee2a3e797 100644
--- a/plugins/admin_advices/admin_advices.php
+++ b/plugins/admin_advices/admin_advices.php
@@ -22,9 +22,7 @@
// +-----------------------------------------------------------------------+
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/language/de_DE/plugin.lang.php b/plugins/admin_advices/language/de_DE/plugin.lang.php
index 3e2d35b16..ba9521c16 100644
--- a/plugins/admin_advices/language/de_DE/plugin.lang.php
+++ b/plugins/admin_advices/language/de_DE/plugin.lang.php
@@ -155,11 +155,9 @@ $lang['Adv_case'][32] = array( /* use_exif */
$lang['Adv_case'][33] = array( /* **navigation */
'Sie können mit der Tastatur Pfeile zum Navigieren zwischen den Bildern.', );
$lang['Adv_case'][34] = array( /* compiled_template_cache_language */
- 'Should be false, translation will be done at user request time.',
- 'If you are using one language (you kept only one subdirectory language)',
- 'or through a plugin you forced all user to have the same language,',
- 'you should consider to set it true.',
- 'Setting it true, template @translate are done at compilation time.' );
+ 'Should be true, translation will be done at compilation time.',
+ 'If you are modifying a language (translators), you should consider to set it false.',
+ 'Setting it false, template @translate function are called at usage time.' );
$lang['Adv_case'][35] = array( /* template_compile_check */
'Default is true, template changes are detected and the template is compiled.',
'If you are not updating template any more for several days, ',
diff --git a/plugins/admin_advices/language/en_UK/plugin.lang.php b/plugins/admin_advices/language/en_UK/plugin.lang.php
index b46118dfe..57ff2b765 100644
--- a/plugins/admin_advices/language/en_UK/plugin.lang.php
+++ b/plugins/admin_advices/language/en_UK/plugin.lang.php
@@ -155,11 +155,9 @@ $lang['Adv_case'][32] = array( /* use_exif */
$lang['Adv_case'][33] = array( /* **navigation */
'You can use keyboard arrows to navigate between pictures.', );
$lang['Adv_case'][34] = array( /* compiled_template_cache_language */
- 'Should be false, translation will be done at user request time.',
- 'If you are using one language (you kept only one subdirectory language)',
- 'or through a plugin you forced all user to have the same language,',
- 'you should consider to set it true.',
- 'Setting it true, template @translate are done at compilation time.' );
+ 'Should be true, translation will be done at compilation time.',
+ 'If you are modifying a language (translators), you should consider to set it false.',
+ 'Setting it false, template @translate function are called at usage time.' );
$lang['Adv_case'][35] = array( /* template_compile_check */
'Default is true, template changes are detected and the template is compiled.',
'If you are not updating template any more for several days, ',
diff --git a/plugins/admin_advices/language/es_ES/plugin.lang.php b/plugins/admin_advices/language/es_ES/plugin.lang.php
index b46118dfe..57ff2b765 100644
--- a/plugins/admin_advices/language/es_ES/plugin.lang.php
+++ b/plugins/admin_advices/language/es_ES/plugin.lang.php
@@ -155,11 +155,9 @@ $lang['Adv_case'][32] = array( /* use_exif */
$lang['Adv_case'][33] = array( /* **navigation */
'You can use keyboard arrows to navigate between pictures.', );
$lang['Adv_case'][34] = array( /* compiled_template_cache_language */
- 'Should be false, translation will be done at user request time.',
- 'If you are using one language (you kept only one subdirectory language)',
- 'or through a plugin you forced all user to have the same language,',
- 'you should consider to set it true.',
- 'Setting it true, template @translate are done at compilation time.' );
+ 'Should be true, translation will be done at compilation time.',
+ 'If you are modifying a language (translators), you should consider to set it false.',
+ 'Setting it false, template @translate function are called at usage time.' );
$lang['Adv_case'][35] = array( /* template_compile_check */
'Default is true, template changes are detected and the template is compiled.',
'If you are not updating template any more for several days, ',
diff --git a/plugins/admin_advices/language/fr_FR/plugin.lang.php b/plugins/admin_advices/language/fr_FR/plugin.lang.php
index 36fbbc3c8..68ba6e725 100644
--- a/plugins/admin_advices/language/fr_FR/plugin.lang.php
+++ b/plugins/admin_advices/language/fr_FR/plugin.lang.php
@@ -157,11 +157,9 @@ $lang['Adv_case'][32] = array( /* use_exif */
$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)',
- '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.' );
+ 'Devrait être à true, la traduction sera effectuée au moment de la compilation.',
+ 'Si vous modifiez les fichiers langues (traducteurs), vous devriez envisager la valeur false.',
+ 'Positionné à false, les @translate des templates seront traités à chaque utilisation.' );
$lang['Adv_case'][35] = array( /* template_compile_check */
'Par défaut à true, toute modification de template est détectée et le template modifié est recompilé.',
'Si vous ne modifiez plus vos templates pendant plusieurs jours, ',
diff --git a/plugins/admin_advices/language/it_IT/plugin.lang.php b/plugins/admin_advices/language/it_IT/plugin.lang.php
index 459a4ff75..a0b452870 100644
--- a/plugins/admin_advices/language/it_IT/plugin.lang.php
+++ b/plugins/admin_advices/language/it_IT/plugin.lang.php
@@ -157,11 +157,9 @@ $lang['Adv_case'][32] = array( /* use_exif */
$lang['Adv_case'][33] = array( /* **navigation */
'Potrete usare le frecce della tastiera per navigare tra le foto.', );
$lang['Adv_case'][34] = array( /* compiled_template_cache_language */
- 'Should be false, translation will be done at user request time.',
- 'If you are using one language (you kept only one subdirectory language)',
- 'or through a plugin you forced all user to have the same language,',
- 'you should consider to set it true.',
- 'Setting it true, template @translate are done at compilation time.' );
+ 'Should be true, translation will be done at compilation time.',
+ 'If you are modifying a language (translators), you should consider to set it false.',
+ 'Setting it false, template @translate function are called at usage time.' );
$lang['Adv_case'][35] = array( /* template_compile_check */
'Default is true, template changes are detected and the template is compiled.',
'If you are not updating template any more for several days, ',