Changeset 5178 for trunk/themes


Ignore:
Timestamp:
Mar 18, 2010, 8:21:17 PM (14 years ago)
Author:
rvelices
Message:

-fix language keys problems

Location:
trunk/themes/default/template
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/comment_list.tpl

    r5095 r5178  
    2323        {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
    2424        <li>
    25           <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
     25          <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="edit this comment">
    2626            <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" class="button" alt="[edit]">
    2727          </a>
     
    4242      <form  method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
    4343        <fieldset>
    44           <legend>{'Edit a comment'|@translate}</legend>
    45           <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$Comment.CONTENT|@escape}</textarea></label>
     44          <legend>Edit a comment</legend>
     45          <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
    4646          <input type="hidden" name="key" value="{$comment.KEY}">
    4747          <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
  • trunk/themes/default/template/footer.tpl

    r5095 r5178  
    1616  {if isset($CONTACT_MAIL)}
    1717  - {'Contact'|@translate}
    18   <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a>
     18  <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate}</a>
    1919  {/if}
    2020
  • trunk/themes/default/template/menubar_categories.tpl

    r5095 r5178  
    3636        </ul>
    3737        {/if}
    38         <p class="totalImages">{$pwg->l10n_dec('%d element', '%d elements', $block->data.NB_PICTURE)}</p>
     38        <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p>
    3939</dd>
  • trunk/themes/default/template/menubar_menu.tpl

    r5095 r5178  
    77      </p>
    88    </form>
    9     <script type="text/javascript">var qsearch_prompt="{'qsearch'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
     9    <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
    1010  {/if}
    1111
  • trunk/themes/default/template/menubar_tags.tpl

    r5095 r5178  
    66                        {if !empty($tag.U_ADD) }
    77                        <a href="{$tag.U_ADD}"
    8                                 title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}"
     8                                title="{$pwg->l10n_dec('%d image is also linked to current tags', '%d images are also linked to current tags', $tag.counter)}"
    99                                rel="nofollow">
    1010                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+">
  • trunk/themes/default/template/month_calendar.tpl

    r5095 r5178  
    1313        {else}
    1414                {foreach from=$bar.items item=item}
    15                 <span class="calItem{if !isset($item.URL)}Empty{/if}" {if isset($item.NB_IMAGES)}title="{$pwg->l10n_dec('%d element', '%d elements', $item.NB_IMAGES)}"{/if}>
     15                <span class="calItem{if !isset($item.URL)}Empty{/if}" {if isset($item.NB_IMAGES)}title="{$pwg->l10n_dec('%d image', '%d images', $item.NB_IMAGES)}"{/if}>
    1616                {if isset($item.URL)}
    1717                <a href="{$item.URL}">{$item.LABEL}</a>
     
    6969                                <div class="calImg">
    7070                                        <a href="{$day.U_IMG_LINK}">
    71                                                 <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d element','%d elements', $day.NB_ELEMENTS)}">
     71                                                <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d image','%d images', $day.NB_ELEMENTS)}">
    7272                                        </a>
    7373                                </div>
  • trunk/themes/default/template/picture.tpl

    r5123 r5178  
    110110{/if}
    111111
    112 <table id="standard" class="infoTable" summary="{'Some info about this picture'|@translate}">
     112<table id="standard" class="infoTable" summary="Some info about this picture">
    113113  <tr id="Author">
    114114    <td class="label">{'Author'|@translate}</td>
     
    178178        <tr id="rating">
    179179                <td class="label">
    180                         <span id="updateRate">{if isset($rating.USER_RATE)}{'Rate this picture'|@translate}{else}{'Rate this picture'|@translate}{/if}</span>
     180                        <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this picture'|@translate}{/if}</span>
    181181                </td>
    182182                <td class="value">
     
    194194                        <script type="text/javascript">
    195195                        makeNiceRatingForm( {ldelim}rootUrl: '{$ROOT_URL|@escape:"javascript"}', image_id: {$current.id},
    196                         updateRateText: "{'update_rate'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"),
     196                        updateRateText: "{'Update your rating'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"),
    197197                        ratingSummaryText: "{'%.2f (rated %d times, standard deviation = %.2f)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary") {rdelim} );
    198198                        </script>
     
    269269                <label>{'Author'|@translate}<input type="text" name="author"></label>
    270270                {/if}
    271                 <label>{'Comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$Comment_add.CONTENT}</textarea></label>
     271                <label>{'Comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label>
    272272                <input type="hidden" name="key" value="{$comment_add.KEY}">
    273273                <input class="submit" type="submit" value="{'Submit'|@translate}">
  • trunk/themes/default/template/search.tpl

    r5164 r5178  
    4646  <ul>
    4747    <li><label>
    48       <input type="radio" name="mode" value="AND" checked="checked">{'Search for all terms '|@translate}
     48      <input type="radio" name="mode" value="AND" checked="checked">{'Search for all terms'|@translate}
    4949    </label></li>
    5050    <li><label>
  • trunk/themes/default/template/tags.tpl

    r5164 r5178  
    3636      <tr class="tagLine">
    3737        <td><a href="{$tag.URL}">{$tag.name}</a></td>
    38         <td class="nbEntries">{$pwg->l10n_dec('%d element', '%d elements', $tag.counter)}</td>
     38        <td class="nbEntries">{$pwg->l10n_dec('%d image', '%d images', $tag.counter)}</td>
    3939      </tr>
    4040      {/foreach}
Note: See TracChangeset for help on using the changeset viewer.