Changeset 11031 for extensions/gally


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

fix bug:2306 - Some translation keys are not correct

Location:
extensions/gally/gally-black-graphite
Files:
6 edited

Legend:

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

    r8534 r11031  
    2323        <select onchange="document.location = this.options[this.selectedIndex].value;">
    2424          {foreach from=$image_orders item=image_order }
    25           <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}}>{$image_order.DISPLAY}</option>
     25          <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
    2626          {/foreach}
    2727        </select>
     
    3030
    3131        {if isset($favorite) }
    32         <li><a id="icon_delall_favorite" class="button" href="{$favorite.U_FAVORITE}" title="{'delete all images from your favorites'|@translate}">
    33           <!-- <img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'delete all images from your favorites'|@translate}">- --></a></li>
     32        <li><a id="icon_delall_favorite" class="button" href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}"></a></li>
    3433        {/if}
    3534
    3635        {if isset($U_CADDIE) }
    37         <li><a id="icon_caddie" class="button" href="{$U_CADDIE}" title="{'add to caddie'|@translate}">
    38           <!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"/> --> </a></li>
     36        <li><a id="icon_caddie" class="button" href="{$U_CADDIE}" title="{'caddie'|@translate}"></a></li>
    3937        {/if}
    4038
    4139        {if isset($U_EDIT) }
    42         <li><a id="icon_category_edit" class="button" href="{$U_EDIT}" title="{'edit category informations'|@translate}">
    43           <!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/> --></a></li>
     40        <li><a id="icon_category_edit" class="button" href="{$U_EDIT}" title="{'edit'|@translate}"></a></li>
    4441        {/if}
    4542
    4643        {if isset($U_SEARCH_RULES) }
    47         <li><a id="icon_search_rules" class="button" href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)"> --></a></li>
     44        <li><a id="icon_search_rules" class="button" href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"></a></li>
    4845        {/if}
    4946
    5047        {if isset($U_SLIDESHOW) }
    51         <li><a id="icon_start_slideshow" class="button" href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"/> --></a></li>
     48        <li><a id="icon_start_slideshow" class="button" href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"></a></li>
    5249        {/if}
    5350
    5451        {if isset($U_MODE_FLAT) }
    55         <li><a id="icon_flat" class="button" href="{$U_MODE_FLAT}" title="{'display all elements in all sub-categories'|@translate}" rel="nofollow"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'display all elements in all sub-categories'|@translate}"> --></a></li>
     52        <li><a id="icon_flat" class="button" href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" rel="nofollow"></li>
    5653        {/if}
    5754
    5855        {if isset($U_MODE_NORMAL) }
    59         <li><a id="icon_normal_mode" class="button" href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'return to normal view mode'|@translate}"> --></a></li>
     56        <li><a id="icon_normal_mode" class="button" href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"></a></li>
    6057        {/if}
    6158
    6259        {if isset($U_MODE_POSTED) }
    63         <li><a id="icon_calendar" class="button" href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'display a calendar by posted date'|@translate}"> --></a></li>
     60        <li><a id="icon_calendar" class="button" href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"></a></li>
    6461        {/if}
    6562
    6663        {if isset($U_MODE_CREATED) }
    67         <li><a id="icon_calendar_created" class="button" href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'display a calendar by creation date'|@translate}"> --></a></li>
     64        <li><a id="icon_calendar_created" class="button" href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"></a></li>
    6865        {/if}
    6966
     
    103100
    104101  {if !empty($category_search_results) }
    105   <div style="font-size:16px;text-align:left;margin:10px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
     102  <div style="font-size:16px;text-align:left;margin:10px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    106103    <em><strong>
    107104    {foreach from=$category_search_results item=res name=res_loop}
  • extensions/gally/gally-black-graphite/template/menubar_categories.tpl

    r8534 r11031  
    11<dt>
    22  {if isset($U_START_FILTER)}
    3   <a id="icon_start_filter" class="button sTipOnTop" href="{$U_START_FILTER}" title="{'display only recently posted images'|@translate}" rel="nofollow"></a>
     3  <a id="icon_start_filter" class="button sTipOnTop" href="{$U_START_FILTER}" title="{'display only recently posted photos'|@translate}" rel="nofollow"></a>
    44  {/if}
    55  {if isset($U_STOP_FILTER)}
    6   <a id="icon_stop_filter" class="button sTipOnTop" href="{$U_STOP_FILTER}" title="{'return to the display of all images'|@translate}"></a>
     6  <a id="icon_stop_filter" class="button sTipOnTop" href="{$U_STOP_FILTER}" title="{'return to the display of all photos'|@translate}"></a>
    77  {/if}
    8   <a href="{$block->data.U_CATEGORIES}">{'Categories'|@translate}</a>
     8  <a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a>
    99</dt>
    1010
     
    3737  </ul>
    3838  {/if}
    39   <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p>
     39  <p class="totalImages">{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p>
    4040</dd>
    4141
  • 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">
  • extensions/gally/gally-black-graphite/template/picture_content.tpl

    r8534 r11031  
    11<!-- **GBL** >PICTURE_CONTENT> -->
    22
    3   <div id="theImgContainer" {if isset($high) }onclick="openDisplayHigh('{$high.U_HIGH}');" class="pointer"{/if}>
     3  <div id="theImgContainer" {if isset($high) }onclick="gallyPP.openDisplayHigh('{$high.U_HIGH}');" class="pointer"{/if}>
    44    <img id="theImg" src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}">
    55  </div>
  • extensions/gally/gally-black-graphite/template/picture_nav_buttons.tpl

    r8534 r11031  
    1919
    2020  {if isset($slideshow.U_START_PLAY)}
    21     <a id="icon_play" class="navButton" href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/play.png" class="button" alt="{'Play of slideshow'|@translate}"> --></a>
     21    <a id="icon_play" class="navButton" href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}"></a>
    2222  {/if}
    2323
    2424  {if isset($slideshow.U_STOP_PLAY)}
    25     <a id="icon_pause" class="navButton" href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/pause.png" class="button" alt="{'Pause of slideshow'|@translate}"> --></a>
     25    <a id="icon_pause" class="navButton" href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}"></a>
    2626  {/if}
    2727
    2828  {if isset($U_UP) and !isset($slideshow)}
    29     <a id="icon_up" class="navButton" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="up"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" class="button" alt="{'Thumbnails'|@translate}"> --></a>
     29    <a id="icon_up" class="navButton" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="up"></a>
    3030  {/if}
    3131
  • extensions/gally/gally-black-graphite/themeconf.inc.php

    r10736 r11031  
    22/*
    33Theme Name: Gally/Black-graphite
    4 Version: 1.4.1
     4Version: 1.4.3
    55Description: simple dark-grey theme (inspired from Zaphod's theme <STRIPPED>)
    66Theme URI: http://piwigo.org/ext/extension_view.php?eid=
Note: See TracChangeset for help on using the changeset viewer.