Ignore:
Timestamp:
01/21/14 22:21:17 (6 years ago)
Author:
flop25
Message:

changed some antic code
ready for release 2.5.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/template/picture.tpl

    r26898 r26899  
    267267                <dd> 
    268268                {if $rate_summary.count} 
    269                   {if $rate_summary.count == 1} 
    270                     {assign var='rate_text' value='%d rate'|@translate} 
    271                   {else} 
    272                     {assign var='rate_text' value='%d rates'|@translate} 
    273                   {/if} 
    274                         <span id="ratingScore">{$rate_summary.score}</span> <span id="ratingCount">({$pwg->sprintf($rate_text, $rate_summary.count)})</span> 
     269                        <span id="ratingScore">{$rate_summary.score}</span> <span id="ratingCount">({$rate_summary.count|@translate_dec:'%d rate':'%d rates'})</span> 
    275270                {else} 
    276271                        <span id="ratingScore">{'no rate'|@translate}</span> <span id="ratingCount"></span> 
Note: See TracChangeset for help on using the changeset viewer.