From 5c3c778c840ef85bb7d1b3c0af10a8c3538ac6e8 Mon Sep 17 00:00:00 2001 From: vdigital Date: Thu, 23 Oct 2008 20:10:03 +0000 Subject: Refer to SVN:2789 - include Admin Advices in [34]( compiled_template_cache_language ) and [35] ( template_compile_check ) Translation is needed for German, Spanish, Italian... git-svn-id: http://piwigo.org/svn/branches/2.0@2793 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/admin_advices/adv_set.php | 6 ++++++ plugins/admin_advices/language/de_DE/plugin.lang.php | 12 ++++++++++++ plugins/admin_advices/language/en_UK/plugin.lang.php | 12 ++++++++++++ plugins/admin_advices/language/es_ES/plugin.lang.php | 12 ++++++++++++ plugins/admin_advices/language/fr_FR/plugin.lang.php | 12 ++++++++++++ plugins/admin_advices/language/it_IT/plugin.lang.php | 12 ++++++++++++ 6 files changed, 66 insertions(+) diff --git a/plugins/admin_advices/adv_set.php b/plugins/admin_advices/adv_set.php index 88dcc4511..5b6ee3cde 100644 --- a/plugins/admin_advices/adv_set.php +++ b/plugins/admin_advices/adv_set.php @@ -172,4 +172,10 @@ $adv['v'][32] = sprintf($lang['current'], (($conf['use_exif'])? 'true':'false' ) $adv['n'][33] = '**' . $lang['navigation']; +$adv['n'][34] = 'compiled_template_cache_language'; +$adv['v'][34] = sprintf($lang['current'], (($conf['compiled_template_cache_language'])? 'true':'false' )); + +$adv['n'][35] = 'template_compile_check'; +$adv['v'][35] = sprintf($lang['current'], (($conf['template_compile_check'])? 'true':'false' )); + ?> \ No newline at end of file diff --git a/plugins/admin_advices/language/de_DE/plugin.lang.php b/plugins/admin_advices/language/de_DE/plugin.lang.php index 6ae6f43d3..3e2d35b16 100644 --- a/plugins/admin_advices/language/de_DE/plugin.lang.php +++ b/plugins/admin_advices/language/de_DE/plugin.lang.php @@ -154,4 +154,16 @@ $lang['Adv_case'][32] = array( /* use_exif */ 'NICHT zu verwechseln zwischen show_exif und use_exif (werfen Sie einen Blick auf Metadaten-Seite auf unserem Wiki).', ); $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.' ); +$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, ', + 'you should consider to set it false.', + 'Choosing false, template changes are not detected, this improves response time.', + 'Anyway Specials > Maintenance > Purge compiled templates, is recommended after this $conf change.' ); ?> \ No newline at end of file diff --git a/plugins/admin_advices/language/en_UK/plugin.lang.php b/plugins/admin_advices/language/en_UK/plugin.lang.php index cdae1d6c4..b46118dfe 100644 --- a/plugins/admin_advices/language/en_UK/plugin.lang.php +++ b/plugins/admin_advices/language/en_UK/plugin.lang.php @@ -154,4 +154,16 @@ $lang['Adv_case'][32] = array( /* use_exif */ 'Do NOT confuse between show_exif and use_exif (have a look on metadata page on our wiki).', ); $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.' ); +$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, ', + 'you should consider to set it false.', + 'Choosing false, template changes are not detected, this improves response time.', + 'Anyway Specials > Maintenance > Purge compiled templates, is recommended after this $conf change.' ); ?> \ No newline at end of file diff --git a/plugins/admin_advices/language/es_ES/plugin.lang.php b/plugins/admin_advices/language/es_ES/plugin.lang.php index cdae1d6c4..b46118dfe 100644 --- a/plugins/admin_advices/language/es_ES/plugin.lang.php +++ b/plugins/admin_advices/language/es_ES/plugin.lang.php @@ -154,4 +154,16 @@ $lang['Adv_case'][32] = array( /* use_exif */ 'Do NOT confuse between show_exif and use_exif (have a look on metadata page on our wiki).', ); $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.' ); +$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, ', + 'you should consider to set it false.', + 'Choosing false, template changes are not detected, this improves response time.', + 'Anyway Specials > Maintenance > Purge compiled templates, is recommended after this $conf change.' ); ?> \ No newline at end of file diff --git a/plugins/admin_advices/language/fr_FR/plugin.lang.php b/plugins/admin_advices/language/fr_FR/plugin.lang.php index 20ea2aef2..c4dcd086d 100644 --- a/plugins/admin_advices/language/fr_FR/plugin.lang.php +++ b/plugins/admin_advices/language/fr_FR/plugin.lang.php @@ -156,4 +156,16 @@ $lang['Adv_case'][32] = array( /* use_exif */ 'Ne confondez pas show_exif et use_exif (consultez les pages sur les métadonnées de notre wiki).', ); $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.' ); +$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, ', + 'vous devriez envisager la valeur false.', + 'En choisissant false, les modifications de template ne sont plus détectées, ceci améliore les temps de réponse.', + 'Dans tous les cas Spéciales > Maintenance > Purger les templates compilés, est recommandé après une modification de cette $conf.' ); ?> \ No newline at end of file diff --git a/plugins/admin_advices/language/it_IT/plugin.lang.php b/plugins/admin_advices/language/it_IT/plugin.lang.php index fbd678cd5..459a4ff75 100644 --- a/plugins/admin_advices/language/it_IT/plugin.lang.php +++ b/plugins/admin_advices/language/it_IT/plugin.lang.php @@ -156,4 +156,16 @@ $lang['Adv_case'][32] = array( /* use_exif */ 'Non confondere show_exif e use_exif (consultate le pagine sui metadati nel WIKI).', ); $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.' ); +$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, ', + 'you should consider to set it false.', + 'Choosing false, template changes are not detected, this improves response time.', + 'Anyway Specials > Maintenance > Purge compiled templates, is recommended after this $conf change.' ); ?> \ No newline at end of file -- cgit v1.2.3