feature 2102: add a few language keys to remove all image/picture/element and replace by photo

git-svn-id: http://piwigo.org/svn/trunk@8727 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2011-01-17 23:53:47 +00:00
parent e123585dde
commit 7ca4f8e060
74 changed files with 247 additions and 806 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ SELECT id, date_creation
$datas
);
array_push($page['infos'], l10n('Picture informations updated'));
array_push($page['infos'], l10n('Photo informations updated'));
}
// +-----------------------------------------------------------------------+
+2 -2
View File
@@ -152,7 +152,7 @@ elseif (isset($_POST['submitAdd']))
array_push(
$page['infos'],
sprintf(
l10n('Album elements associated to the following albums: %s'),
l10n('Album photos associated to the following albums: %s'),
'<ul><li>'
.get_cat_display_name_from_id($output_create['id'])
.'</li></ul>'
@@ -181,7 +181,7 @@ elseif (isset($_POST['submitDestinations'])
array_push(
$page['infos'],
sprintf(
l10n('Album elements associated to the following albums: %s'),
l10n('Album photos associated to the following albums: %s'),
'<ul><li>'.implode('</li><li>', $category_names).'</li></ul>'
)
);
+1 -1
View File
@@ -118,7 +118,7 @@ if (isset($_POST['submit']) and count($page['errors']) == 0)
}
set_tags($tag_ids, $_GET['image_id']);
array_push($page['infos'], l10n('Picture informations updated'));
array_push($page['infos'], l10n('Photo informations updated'));
}
// associate the element to other categories than its storage category
if (isset($_POST['associate'])
+1 -1
View File
@@ -70,7 +70,7 @@ jQuery(document).ready(function(){ldelim}
{/if}
<li><a href="{$category.U_EDIT}" title="{'edit album'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li>
{if isset($category.U_MANAGE_ELEMENTS) }
<li><a href="{$category.U_MANAGE_ELEMENTS}" title="{'manage album elements'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}"></a></li>
<li><a href="{$category.U_MANAGE_ELEMENTS}" title="{'manage album photos'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'Photos'|@translate}"></a></li>
{/if}
<li><a href="{$category.U_CHILDREN}" title="{'manage sub-albums'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_children.png" class="button" alt="{'sub-albums'|@translate}"></a></li>
{if isset($category.U_MANAGE_PERMISSIONS) }
+2 -2
View File
@@ -13,7 +13,7 @@
<li><a href="{$U_JUMPTO}" title="{'jump to album'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to album'|@translate}"></a></li>
{/if}
{if isset($U_MANAGE_ELEMENTS) }
<li><a href="{$U_MANAGE_ELEMENTS}" title="{'manage album elements'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}"></a></li>
<li><a href="{$U_MANAGE_ELEMENTS}" title="{'manage album photos'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'Photos'|@translate}"></a></li>
<li><a href="{$U_MANAGE_RANKS}" title="{'manage photo ranks'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/ranks.png" class="button" alt="{'ranks'|@translate}"></a></li>
{/if}
<li><a href="{$U_CHILDREN}" title="{'manage sub-albums'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_children.png" class="button" alt="{'sub-albums'|@translate}"></a></li>
@@ -122,7 +122,7 @@
{if isset($representant.picture) }
<a href="{$representant.picture.URL}"><img src="{$representant.picture.SRC}" alt="" class="miniature"></a>
{else}
<img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_representant_random.png" class="button" alt="{'Random picture'|@translate}" class="miniature">
<img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_representant_random.png" class="button" alt="{'Random photo'|@translate}" class="miniature">
{/if}
</td>
<td>
@@ -20,7 +20,7 @@
{if isset($metadata_result)}
<h3>{$L_RESULT_METADATA}</h3>
<ul>
<li>{$metadata_result.NB_ELEMENTS_DONE} {'elements informations synchronized with files metadata'|@translate}</li>
<li>{$metadata_result.NB_ELEMENTS_DONE} {'photos informations synchronized with files metadata'|@translate}</li>
<li>{$metadata_result.NB_ELEMENTS_CANDIDATES} {'photos candidates for metadata synchronization'|@translate}</li>
<li>{'Used metadata'|@translate} : {$METADATA_LIST}</li>
</ul>
@@ -76,7 +76,7 @@
</fieldset>
<fieldset id="syncMetadata">
<legend>{'synchronize files metadata with database elements informations'|@translate}</legend>
<legend>{'synchronize files metadata with database photos 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>
+2 -2
View File
@@ -28,7 +28,7 @@
<td colspan="2">{'General statistics'|@translate}</td>
</tr>
<tr>
<td>{'number of miniaturized pictures'|@translate}</td>
<td>{'number of miniaturized photos'|@translate}</td>
<td style="text-align:center;">{$results.TN_NB}</td>
</tr>
<tr>
@@ -97,7 +97,7 @@
{/if} {*isset params*}
{if !empty($remainings) }
<div class="admin">{$TOTAL_NB_REMAINING} {'pictures without thumbnail (jpeg and png only)'|@translate}</div>
<div class="admin">{$TOTAL_NB_REMAINING} {'photos without thumbnail (jpeg and png only)'|@translate}</div>
<table style="width:100%;">
<tr class="throw">
<td>&nbsp;</td>
+2 -2
View File
@@ -142,8 +142,8 @@ function RatioResizeImg($info, $path, $newWidth, $newHeight, $tn_ext)
// error
else
{
echo l10n('Picture unreachable or no support')." ";
if ( isset( $extenstion ) )
echo l10n('Photo unreachable or no support')." ";
if ( isset( $extension ) )
{
echo l10n('for the file format').' '.$extension;
}