Changeset 5178


Ignore:
Timestamp:
03/18/10 20:21:17 (10 years ago)
Author:
rvelices
Message:

-fix language keys problems

Location:
trunk
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/intro.php

    r5036 r5178  
    199199    'DB_ENGINE' => $conf['dblayer'], 
    200200    'DB_VERSION' => $db_version, 
    201     'DB_ELEMENTS' => l10n_dec('%d element', '%d elements', $nb_elements), 
     201    'DB_ELEMENTS' => l10n_dec('%d image', '%d images', $nb_elements), 
    202202    'DB_CATEGORIES' => 
    203       l10n_dec('%d category including ', '%d categories including ', 
     203      l10n_dec('%d category including', '%d categories including', 
    204204        $nb_categories). 
    205205      l10n_dec('%d physical', '%d physical', 
  • trunk/admin/themes/default/template/footer.tpl

    r5153 r5178  
    3737 
    3838  {'Contact'|@translate} 
    39   <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a> 
     39  <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate}</a> 
    4040  </div> <!-- pageInfos --> 
    4141 
  • trunk/admin/themes/default/template/plugins_list.tpl

    r5123 r5178  
    7070      </li> 
    7171      <li> 
    72         <a href="{$plugin.U_ACTION}&amp;action=delete" onclick="return confirm('{'plugins_confirm_delete'|@translate|@escape:'javascript'}');"> 
     72        <a href="{$plugin.U_ACTION}&amp;action=delete" onclick="return confirm('{'Are you sure you want to delete this plugin?'|@translate|@escape:'javascript'}');"> 
    7373          <img src="{$themeconf.admin_icon_dir}/plug_delete.png" alt="{'Delete'|@translate}" title="{'Delete'|@translate}"> 
    7474        </a> 
  • trunk/admin/themes/default/template/site_manager.tpl

    r5123 r5178  
    3939  {foreach from=$sites item=site name=site} 
    4040  <tr style="text-align:left" class="{if $smarty.foreach.site.index is odd}row1{else}row2{/if}"><td> 
    41     <a href="{$site.NAME}">{$site.NAME}</a><br>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)}) 
     41    <a href="{$site.NAME}">{$site.NAME}</a><br>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d image','%d images',$site.IMAGES)}) 
    4242  </td><td> 
    4343    [<a href="{$site.U_SYNCHRONIZE}" title="{'synchronize'|@translate}">{'synchronize'|@translate}</a>] 
  • trunk/include/functions_category.inc.php

    r5036 r5178  
    473473 
    474474    //at least one image direct or indirect 
    475     $display_text.= l10n_dec('%d element', '%d elements', $cat_count_images); 
     475    $display_text.= l10n_dec('%d image', '%d images', $cat_count_images); 
    476476 
    477477    if ($cat_count_categories == 0 or $cat_nb_images == $cat_count_images) 
  • trunk/include/functions_html.inc.php

    r5021 r5178  
    513513  $menu->register_block( new RegisteredBlock( 'mbCategories', 'Categories', 'piwigo')); 
    514514  $menu->register_block( new RegisteredBlock( 'mbTags', 'Related tags', 'piwigo')); 
    515   $menu->register_block( new RegisteredBlock( 'mbSpecials', 'special_categories', 'piwigo')); 
    516   $menu->register_block( new RegisteredBlock( 'mbMenu', 'title_menu', 'piwigo')); 
    517   $menu->register_block( new RegisteredBlock( 'mbIdentification', 'identification', 'piwigo') ); 
     515  $menu->register_block( new RegisteredBlock( 'mbSpecials', 'Specials', 'piwigo')); 
     516  $menu->register_block( new RegisteredBlock( 'mbMenu', 'Menu', 'piwigo')); 
     517  $menu->register_block( new RegisteredBlock( 'mbIdentification', 'Identification', 'piwigo') ); 
    518518} 
    519519 
  • 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.