[SOLVED] Change text add comment

lenceria

Joined: 2009-10-03
Posts: 8
Posted: Sat, 2009-10-03 08:28

Hello,
I write my first message.
I help you.
I am spanish and I want change the text "add comment" in each photo.
For example my web is http://lenceriaparachicas.com/v/Chicas+famosas+hermosas/Ayumi-Hamasaki-5.JPG.html
Thank you very much.
Best regards

AttachmentSize
duda.JPG41.3 KB
 
Another_Matt

Joined: 2009-08-20
Posts: 40
Posted: Sat, 2009-10-03 15:23

modules/comment/templates/blocks/AddComment.tpl

 
lenceria

Joined: 2009-10-03
Posts: 8
Posted: Sat, 2009-10-03 21:16

Thank you
Where I need change?
{*
* $Revision: 17951 $
* Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates
*}
{* Set defaults *}
{if empty($item)} {assign var=item value=$theme.item} {/if}
{g->callback type="comment.AddComment" itemId=$item.id}

{if !isset($expand)}{assign var="expand" value=true}{/if}

{if !empty($block.comment.AddComment)}
<div id="AddComment_block" {if $expand}style="display: none"{/if} class="{$class}">
{include file="gallery:modules/comment/templates/AddComment.tpl"
AddComment=$block.comment.AddComment inBlock=1}
</div>

{if $expand}
<div id="AddComment_trigger" class="{$class}" onclick="AddComment_showBlock()">
<div class="gbBlock gcBackground1">
<h3> {g->text text="Add Comment"} </h3>
</div>
<textarea cols="80" rows="5"></textarea>
</div>

{literal}
<script type="text/javascript">
// <![CDATA[
function AddComment_showBlock() {
document.getElementById('AddComment_block').style.display='block';
document.getElementById('AddComment_trigger').style.display='none';
}
// ]]>
</script>
{/literal}
{/if}
{/if}

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-10-04 00:07

<h3> {g->text text="Add Comment"} </h3>
Are you wanting to translate it or change English?
Why not use the translation?
http://codex.gallery2.org/Gallery2:Internationalization
http://codex.gallery2.org/Gallery2:FAQ#I_changed_the_language_but_nothing_happens.2C_what.27s_wrong.3F

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
lenceria

Joined: 2009-10-03
Posts: 8
Posted: Tue, 2009-10-06 20:44

Ok, thank you.
I change to spanish my gallery.
Best regards