Changeset e39419d in osmose-frontend


Ignore:
Timestamp:
Mar 9, 2014 12:00:19 AM (6 years ago)
Author:
Frédéric Rodrigo <fred.rodrigo@…>
Children:
d1d679a
Parents:
6c88804
git-author:
Frédéric Rodrigo <fred.rodrigo@…> (08/03/2014 23:21:48)
git-committer:
Frédéric Rodrigo <fred.rodrigo@…> (09/03/2014 00:00:19)
Message:

Prepare i18n

Location:
views
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • views/byuser/byuser_count.rss.tpl

    r93046fc re39419d  
    77    <link>http://{{website}}/byuser/{{username}}</link> 
    88    <item> 
    9         <title>{{_("Number of level 1 errors: %d") % count[1]}}</title> 
     9        <title>{{_("Number of level %d errors: %d") % (1, count[1])}}</title> 
    1010    </item> 
    1111    <item> 
    12         <title>{{_("Number of level 2 errors: %d") % count[2]}}</title> 
     12        <title>{{_("Number of level %d errors: %d") % (2, count[2])}}</title> 
    1313    </item> 
    1414    <item> 
    15         <title>{{_("Number of level 3 errors: %d") % count[3]}}</title> 
     15        <title>{{_("Number of level %d errors: %d") % (3, count[3])}}</title> 
    1616    </item> 
    1717</channel> 
  • views/map/index.tpl

    r2fe59fc re39419d  
    159159  <a href="../byuser/{{user}}">{{user}} ({{user_error_count[1]+user_error_count[2]+user_error_count[3]}}) ▼</a> 
    160160  <ul class="submenu"> 
    161     <li><a href="../byuser/{{user}}?level=1">{{_("Level %s errors (%s)") % (1, user_error_count[1])}}</a></li> 
    162     <li><a href="../byuser/{{user}}?level=2">{{_("Level %s errors (%s)") % (2, user_error_count[2])}}</a></li> 
    163     <li><a href="../byuser/{{user}}?level=3">{{_("Level %s errors (%s)") % (3, user_error_count[3])}}</a></li> 
     161    <li><a href="../byuser/{{user}}?level=1">{{_("Level %d errors (%d)") % (1, user_error_count[1])}}</a></li> 
     162    <li><a href="../byuser/{{user}}?level=2">{{_("Level %d errors (%d)") % (2, user_error_count[2])}}</a></li> 
     163    <li><a href="../byuser/{{user}}?level=3">{{_("Level %d errors (%d)") % (3, user_error_count[3])}}</a></li> 
    164164    <li><a href="../logout">{{_("Logout")}}</a></li> 
    165165  </ul> 
Note: See TracChangeset for help on using the changeset viewer.