Ignore:
Timestamp:
Mar 2, 2010, 3:54:22 PM (14 years ago)
Author:
nikrou
Message:

Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals

Todo : managing plugins in the same way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/menubar_categories.tpl

    r3282 r5021  
    11<dt>
    22  {if isset($U_START_FILTER)}
    3   <a href="{$U_START_FILTER}" title="{'start_filter_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a>
     3  <a href="{$U_START_FILTER}" title="{'display only recently posted images'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a>
    44  {/if}
    55  {if isset($U_STOP_FILTER)}
    6   <a href="{$U_STOP_FILTER}" title="{'stop_filter_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a>
     6  <a href="{$U_STOP_FILTER}" title="{'return to the display of all images'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a>
    77  {/if}
    88        <a href="{$block->data.U_CATEGORIES}">{'Categories'|@translate}</a>
     
    3232        <ul>
    3333                <li>
    34                         <a href="{$block->data.U_UPLOAD}">{'upload_picture'|@translate}</a>
     34                        <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a>
    3535                </li>
    3636        </ul>
Note: See TracChangeset for help on using the changeset viewer.