Skip to content

Commit

Permalink
feature 2608: explain what the Center of Interest is
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@13940 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Apr 6, 2012
1 parent 7a20cd3 commit 1072ba0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
8 changes: 7 additions & 1 deletion admin/themes/default/template/picture_coi.tpl
Expand Up @@ -8,14 +8,20 @@
<form method="post">

<fieldset>
<legend>{'Crop'|@translate}</legend>
<legend>{'Photo sizes with crop'|@translate}</legend>
{foreach from=$cropped_derivatives item=deriv}
<img src="{$deriv.U_IMG}" alt="{$ALT}" {$deriv.HTM_SIZE}>
{/foreach}
</fieldset>

<fieldset>
<legend>{'Center of interest'|@translate}</legend>
<p style="margin:0 0 10px 0;padding:0;">
{'The center of interest is the most meaningful zone in the photo.'|@translate}
{'For photo sizes with crop, such as "Square", Piwigo will do its best to include the center of interest.'|@translate}
{'By default, the center of interest is placed in the middle of the photo.'|@translate}
{'Select a zone with your mouse to define a new center of interest.'|@translate}
</p>
<input type="hidden" id="l" name="l" value="{if isset($coi)}{$coi.l}{/if}">
<input type="hidden" id="t" name="t" value="{if isset($coi)}{$coi.t}{/if}">
<input type="hidden" id="r" name="r" value="{if isset($coi)}{$coi.r}{/if}">
Expand Down
5 changes: 5 additions & 0 deletions language/en_UK/admin.lang.php
Expand Up @@ -877,4 +877,9 @@
$lang['custom']='Custom';
$lang['No group is permitted to see this private album'] = 'No group is permitted to see this private album';
$lang['Permission management'] = 'Permission management';
$lang['Photo sizes with crop'] = 'Photo sizes with crop';
$lang['The center of interest is the most meaningful zone in the photo.'] = 'The center of interest is the most meaningful zone in the photo.';
$lang['For photo sizes with crop, such as "Square", Piwigo will do its best to include the center of interest.'] = 'For photo sizes with crop, such as "Square", Piwigo will do its best to include the center of interest.';
$lang['By default, the center of interest is placed in the middle of the photo.'] = 'By default, the center of interest is placed in the middle of the photo.';
$lang['Select a zone with your mouse to define a new center of interest.'] = 'Select a zone with your mouse to define a new center of interest.';
?>
5 changes: 5 additions & 0 deletions language/fr_FR/admin.lang.php
Expand Up @@ -891,4 +891,9 @@
$lang['include photos with lower privacy level'] = 'inclure les photos d\'un niveau de confidentialité inférieur';
$lang['No group is permitted to see this private album'] = 'Aucun groupe n\'est autorisé à voir cet album privé';
$lang['Permission management'] = 'Gestion des permissions';
$lang['Photo sizes with crop'] = 'Tailles de photo avec retaillage';
$lang['The center of interest is the most meaningful zone in the photo.'] = 'Le centre d\'intérêt est la zone la plus représentative de la photo.';
$lang['For photo sizes with crop, such as "Square", Piwigo will do its best to include the center of interest.'] = 'Pour les tailles de photo avec retaillage, comme la taille "Carré", Piwigo essaiera d\'inclure au mieux ce centre d\'intérêt.';
$lang['By default, the center of interest is placed in the middle of the photo.'] = 'Par défaut, le centre d\'intérêt est placé au milieu de la photo.';
$lang['Select a zone with your mouse to define a new center of interest.'] = 'Sélectionnez une zone avec votre souris pour définir un nouveau centre d\'intérêt.';
?>

0 comments on commit 1072ba0

Please sign in to comment.