Ignore:
Timestamp:
May 23, 2011, 11:33:58 PM (13 years ago)
Author:
grum
Message:

fix bug:2306 - Some translation keys are not correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-black-graphite/template/picture.tpl

    r8534 r11031  
    7070
    7171        {if isset($U_SLIDESHOW_START) }
    72           <a id="icon_start_slideshow" class="button" href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" rel="nofollow"><!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}">--></a>
     72          <a id="icon_start_slideshow" class="button" href="{$U_SLIDESHOW_START}" title="{'Play of slideshow'|@translate}" rel="nofollow"></a>
    7373        {/if}
    7474        {if isset($U_SLIDESHOW_STOP) }
    75           <a id="icon_stop_slideshow" class="button" href="{$U_SLIDESHOW_STOP}"  title="{'stop the slideshow'|@translate}" rel="nofollow"><!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_slideshow.png" class="button" alt="{'stop the slideshow'|@translate}">--></a>
     75          <a id="icon_stop_slideshow" class="button" href="{$U_SLIDESHOW_STOP}" title="{'Pause of slideshow'|@translate}" rel="nofollow"></a>
    7676        {/if}
    7777        {if isset($U_METADATA)}
    78           <a id="icon_metadata" class="button" href="{$U_METADATA}" title="{'Show file metadata'|@translate}" rel="nofollow"><!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata" />--></a>
     78          <a id="icon_metadata" class="button" href="{$U_METADATA}" title="{'Show file metadata'|@translate}" rel="nofollow"></a>
    7979        {/if}
    8080
    8181        {if #displayHighResIcon#=="yes" and isset($high) }
    82           <a id="icon_high_res" class="button pointer" onclick="openDisplayHigh('{$high.U_HIGH}');" title="" rel="nofollow" ></a>
     82          <a id="icon_high_res" class="button pointer" onclick="gallyPP.openDisplayHigh('{$high.U_HIGH}');" title="" rel="nofollow" ></a>
    8383        {/if}
    8484
    8585        {if isset($current.U_DOWNLOAD) }
    86           <a id="icon_save" class="button" href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}"><!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/save.png" class="button" alt="{'download'|@translate}">--></a>
     86          <a id="icon_save" class="button" href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}"></a>
    8787        {/if}
    8888
     
    9191
    9292        {if isset($favorite) }
    93           <a id="icon_{$favorite.FAVORITE_IMG|@regex_replace:'/(.*\/)*(del_)*(favorite)+(\.png)*/i':'$2$3'}" class="button" onclick="window.location='{$favorite.U_FAVORITE}';" title="{$favorite.FAVORITE_HINT}"><!-- <img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{$favorite.FAVORITE_HINT}"> --></a>
     93          <a id="icon_{if $favorite.IS_FAVORITE}del_{/if}favorite" class="button" onclick="window.location='{$favorite.U_FAVORITE}';" title="{$favorite.FAVORITE_HINT}"></a>
    9494        {/if}
    9595        {if !empty($U_SET_AS_REPRESENTATIVE) }
    96           <a id="icon_representative" class="button" href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as category representative'|@translate}"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/representative.png" class="button" alt="{'representative'|@translate}"> --></a>
     96          <a id="icon_representative" class="button" href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}"></a>
    9797        {/if}
    9898        {if isset($U_ADMIN) }
    99           <a id="icon_preferences" class="button" href="{$U_ADMIN}" title="{'Modify information'|@translate}"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/preferences.png" class="button" alt="{'edit'|@translate}"> --></a>
     99          <a id="icon_preferences" class="button" href="{$U_ADMIN}" title="{'Modify information'|@translate}"></a>
    100100        {/if}
    101101        {if isset($U_CADDIE) }
     
    132132
    133133    <ul id="theTabsheets">
    134 
    135134      {if $display_info_panel}
    136135        <li class="tab" id="tabImageInfos"><a href="#imageInfos">{'Informations'|@translate}</a></li>
     
    146145        <li class="tab" id="tabTheComment">
    147146          <a href="#theComments">{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</a>
    148           <!-- <span class="comment_icon"><img src="{$ROOT_URL}{$themeconf.icon_dir}/comments.png" alt=""/></span> -->
    149147        </li>
    150148      {/if}
    151149
    152150    </ul>
    153 
    154151
    155152    <div id="theTabsBg"></div>
     
    162159        <div class="imageInfosBg">&nbsp;</div>
    163160
    164           <table class="infoTable" summary="{'Some info about this picture'|@translate}">
     161          <table class="infoTable">
    165162            <tr  class="emptyrow" style="line-height:0px;">
    166163              <td colspan="2">&nbsp;</td>
     
    247244              <tr class="emptyrow"><td colspan="8">&nbsp;</td></tr>
    248245              <tr id="infoCats">
    249                 <td class="label">{'Categories'|@translate}</td>
     246                <td class="label">{'Albums'|@translate}</td>
    250247                <td colspan="7" class="value">
    251248                  {foreach from=$related_categories item=cat name=tag_loop}{if !$smarty.foreach.tag_loop.first},&nbsp;{/if}
     
    283280                {if isset($rating)}
    284281                  <td class="label" colspan="5">
    285                     <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this picture'|@translate}{/if}</span>
     282                    <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if}</span>
    286283
    287284                    <form action="{$rating.F_ACTION}" method="post" id="rateForm" style="margin:0;">
     
    312309          {if isset($available_permission_levels) and $display_info.privacy_level}
    313310            <tr>
    314               <td class="label">{'Privacy level'|@translate}:</td>
     311              <td class="label">{'Who can see this photo?'|@translate}:</td>
    315312              <td colspan="4" class="value">
    316313                <script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.