Changeset 26899


Ignore:
Timestamp:
Jan 21, 2014, 10:21:17 PM (7 years ago)
Author:
flop25
Message:

changed some antic code
ready for release 2.5.1

Location:
extensions/stripped
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/readme.txt

    r26629 r26899  
    3131Changelog
    3232---------
     33
     34*** version 2.5.1
     35- better compat for 2.6
    3336
    3437*** version 2.5.0
  • 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.