aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/site_update.tpl
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-02 14:54:22 +0000
committernikrou <nikrou@piwigo.org>2010-03-02 14:54:22 +0000
commit2e890e9597da29346a1fbe0db45f48e4a2be86e7 (patch)
treef189c8320f38340bc3d7a94d799e05e0587d95cb /admin/template/goto/site_update.tpl
parent35694a636ef34dba5384e1a530b837208b9e55f9 (diff)
Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/template/goto/site_update.tpl46
1 files changed, 23 insertions, 23 deletions
diff --git a/admin/template/goto/site_update.tpl b/admin/template/goto/site_update.tpl
index d67dd3f43..90a2562cf 100644
--- a/admin/template/goto/site_update.tpl
+++ b/admin/template/goto/site_update.tpl
@@ -2,33 +2,33 @@
{include file='include/resize.inc.tpl'}
<div class="titrePage">
- <h2>{'title_update'|@translate}: <a href="{$SITE_URL}">{$SITE_URL}</a></h2>
+ <h2>{'Database synchronization with files'|@translate}: <a href="{$SITE_URL}">{$SITE_URL}</a></h2>
</div>
{if isset($update_result)}
<h3>{$L_RESULT_UPDATE}</h3>
<ul>
- <li class="update_summary_new">{$update_result.NB_NEW_CATEGORIES} {'update_nb_new_categories'|@translate}</li>
- <li class="update_summary_new">{$update_result.NB_NEW_ELEMENTS} {'update_nb_new_elements'|@translate}</li>
- <li class="update_summary_del">{$update_result.NB_DEL_CATEGORIES} {'update_nb_del_categories'|@translate}</li>
- <li class="update_summary_del">{$update_result.NB_DEL_ELEMENTS} {'update_nb_del_elements'|@translate}</li>
- <li>{$update_result.NB_UPD_ELEMENTS} {'update_nb_upd_elements'|@translate}</li>
- <li class="update_summary_err">{$update_result.NB_ERRORS} {'update_nb_errors'|@translate}</li>
+ <li class="update_summary_new">{$update_result.NB_NEW_CATEGORIES} {'categories added in the database'|@translate}</li>
+ <li class="update_summary_new">{$update_result.NB_NEW_ELEMENTS} {'elements added in the database'|@translate}</li>
+ <li class="update_summary_del">{$update_result.NB_DEL_CATEGORIES} {'categories deleted in the database'|@translate}</li>
+ <li class="update_summary_del">{$update_result.NB_DEL_ELEMENTS} {'elements deleted in the database'|@translate}</li>
+ <li>{$update_result.NB_UPD_ELEMENTS} {'elements updated in the database'|@translate}</li>
+ <li class="update_summary_err">{$update_result.NB_ERRORS} {'errors during synchronization'|@translate}</li>
</ul>
{/if}
{if isset($metadata_result)}
<h3>{$L_RESULT_METADATA}</h3>
<ul>
- <li>{$metadata_result.NB_ELEMENTS_DONE} {'update_nb_elements_metadata_sync'|@translate}</li>
- <li>{$metadata_result.NB_ELEMENTS_CANDIDATES} {'update_nb_elements_metadata_available'|@translate}</li>
- <li>{'update_used_metadata'|@translate} : {$METADATA_LIST}</li>
+ <li>{$metadata_result.NB_ELEMENTS_DONE} {'elements informations synchronized with files metadata'|@translate}</li>
+ <li>{$metadata_result.NB_ELEMENTS_CANDIDATES} {'images candidates for metadata synchronization'|@translate}</li>
+ <li>{'Used metadata'|@translate} : {$METADATA_LIST}</li>
</ul>
{/if}
{if not empty($sync_errors)}
-<h3>{'update_error_list_title'|@translate}</h3>
+<h3>{'Error list'|@translate}</h3>
<div class="errors">
<ul>
{foreach from=$sync_errors item=error}
@@ -36,7 +36,7 @@
{/foreach}
</ul>
</div>
-<h3>{'update_errors_caption'|@translate}</h3>
+<h3>{'Errors caption'|@translate}</h3>
<ul>
{foreach from=$sync_error_captions item=caption}
<li><strong>{$caption.TYPE}</strong>: {$caption.LABEL}</li>
@@ -45,7 +45,7 @@
{/if}
{if not empty($sync_infos)}
-<h3>{'update_infos_title'|@translate}</h3>
+<h3>{'Detailed informations'|@translate}</h3>
<div class="infos">
<ul>
{foreach from=$sync_infos item=info}
@@ -56,18 +56,18 @@
{/if}
{if isset($introduction)}
-<h4>{'update_default_title'|@translate}</h4>
+<h4>{'Choose an option'|@translate}</h4>
<form action="" method="post" id="update">
<fieldset id="syncFiles">
- <legend>{'update_sync_files'|@translate}</legend>
+ <legend>{'synchronize files structure with database'|@translate}</legend>
<ul>
<li><label><input type="radio" name="sync" value="" {if empty($introduction.sync)}checked="checked"{/if}> {'nothing'|@translate}</label></li>
- <li><label><input type="radio" name="sync" value="dirs" {if 'dirs'==$introduction.sync}checked="checked"{/if}> {'update_sync_dirs'|@translate}</label></li>
+ <li><label><input type="radio" name="sync" value="dirs" {if 'dirs'==$introduction.sync}checked="checked"{/if}> {'only directories'|@translate}</label></li>
- <li><label><input type="radio" name="sync" value="files" {if 'files'==$introduction.sync}checked="checked"{/if}> {'update_sync_all'|@translate}</label>
+ <li><label><input type="radio" name="sync" value="files" {if 'files'==$introduction.sync}checked="checked"{/if}> {'directories + files'|@translate}</label>
<ul style="padding-left:3em">
- <li><label><input type="checkbox" name="display_info" value="1" {if $introduction.display_info}checked="checked"{/if}> {'update_display_info'|@translate}</label></li>
+ <li><label><input type="checkbox" name="display_info" value="1" {if $introduction.display_info}checked="checked"{/if}> {'display maximum informations (added categories and elements, deleted categories and elements)'|@translate}</label></li>
<li><label><input type="checkbox" name="add_to_caddie" value="1" {if $introduction.add_to_caddie}checked="checked"{/if}> {'add new elements to caddie'|@translate}</label></li>
<li><label>{'Minimum privacy level'|@translate} <select name="privacy_level">{html_options options=$introduction.privacy_level_options selected=$introduction.privacy_level_selected}</select></label></li>
</ul>
@@ -76,11 +76,11 @@
</fieldset>
<fieldset id="syncMetadata">
- <legend>{'update_sync_metadata'|@translate}</legend>
+ <legend>{'synchronize files metadata with database elements informations'|@translate}</legend>
<label><input type="checkbox" name="sync_meta" {if $introduction.sync_meta}checked="checked"{/if}> {'synchronize metadata'|@translate} ({$METADATA_LIST})</label>
<ul style="padding-left:3em">
<li>
- <label><input type="checkbox" name="meta_all" {if $introduction.meta_all}checked="checked"{/if}> {'update_sync_metadata_all'|@translate}</label>
+ <label><input type="checkbox" name="meta_all" {if $introduction.meta_all}checked="checked"{/if}> {'even already synchronized elements'|@translate}</label>
</li>
<li>
<label><input type="checkbox" name="meta_empty_overrides" {if $introduction.meta_empty_overrides}checked="checked"{/if}> {'overrides existing values with empty ones'|@translate}</label>
@@ -90,11 +90,11 @@
<fieldset id="syncSimulate">
<legend></legend>
- <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" {$TAG_INPUT_ENABLED}> {'update_simulate'|@translate}</label></li></ul>
+ <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" {$TAG_INPUT_ENABLED}> {'only perform a simulation (no change in database will be made)'|@translate}</label></li></ul>
</fieldset>
<fieldset id="catSubset">
- <legend>{'update_cats_subset'|@translate}</legend>
+ <legend>{'reduce to single existing categories'|@translate}</legend>
<ul>
<li>
<select class="categoryList" name="cat" size="10">
@@ -102,7 +102,7 @@
</select>
</li>
- <li><label><input type="checkbox" name="subcats-included" value="1" {if $introduction.subcats_included}checked="checked"{/if}> {'search_subcats_included'|@translate}</label></li>
+ <li><label><input type="checkbox" name="subcats-included" value="1" {if $introduction.subcats_included}checked="checked"{/if}> {'Search in subcategories'|@translate}</label></li>
</ul>
</fieldset>