[SOLVED] Change text add comment
lenceria
Joined: 2009-10-03
Posts: 8 |
Posted: Sat, 2009-10-03 08:28 | |||
Hello,
|
||||
lenceria
Joined: 2009-10-03
Posts: 8 |
Posted: Sat, 2009-10-03 08:28 | |||
Hello,
|
||||
Posts: 40
modules/comment/templates/blocks/AddComment.tpl
Posts: 8
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}
Posts: 27300
<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
Posts: 8
Ok, thank you.
I change to spanish my gallery.
Best regards