{* * $Revision: 1.17 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}

{g->text text="Rotate"}

{g->text text="You can only rotate the photo in 90 degree increments."}

{if $ItemEditRotateAndScalePhoto.editPhoto.can.rotate}     {else} {g->text text="There are no graphics toolkits enabled that support this type of photo, so we cannot rotate it."} {if $ItemEditRotateAndScalePhoto.isAdmin} {g->text text="site admin"} {/if} {/if}

{g->text text="Scale"}

{g->text text="Shrink or enlarge the original photo. When Gallery scales a photo, it maintains the same aspect ratio (height to width) of the original photo to avoid distortion. Your photo will be scaled until it fits inside a bounding box with the size you enter here."}

{if $ItemEditRotateAndScalePhoto.editPhoto.can.resize} {g->dimensions formVar="form[resize]" width=$form.resize.width height=$form.resize.height} {else} {g->text text="There are no graphics toolkits enabled that support this type of photo, so we cannot scale it."} {if $ItemEditRotateAndScalePhoto.isAdmin} {g->text text="site admin"} {/if} {/if} {if !empty($form.error.resize.size.missing)}
{g->text text="You must enter a size"}
{/if} {if !empty($form.error.resize.size.invalid)}
{g->text text="You must enter a number (greater than zero)"}
{/if}
{* Include our extra ItemEditOptions *} {foreach from=$ItemEdit.options item=option} {include file="gallery:`$option.file`" l10Domain=$option.l10Domain} {/foreach} {if $ItemEditRotateAndScalePhoto.editPhoto.can.rotate || $ItemEditRotateAndScalePhoto.editPhoto.can.resize}
{if empty($ItemEditRotateAndScalePhoto.editPhoto.hasPreferredSource)}

{g->text text="Preserve Original"}

{g->text text="Gallery does not modify your original photo when rotating and scaling. Instead, it duplicates your photo and works with copies. This requires a little extra disk space but prevents your original from getting damaged. Disabling this option will cause any actions (rotating, scaling, etc) to modify the original."}

{if $ItemEditRotateAndScalePhoto.editPhoto.isLinked} {g->text text="This is a link to another photo, so you cannot change the original"} {elseif $ItemEditRotateAndScalePhoto.editPhoto.isLinkedTo} {g->text text="There are links to this photo, so you cannot change the original"} {else} {/if} {else}

{g->text text="Modified Photo"}

{g->text text="You are using a copy of the original photo that has been scaled or rotated. The original photo is still available, but is no longer being used. Any changes you make will be applied to the copy instead."}

{/if}
{/if}