Changeset 1284


Ignore:
Timestamp:
01/16/07 14:32:00 (13 years ago)
Author:
jukka
Message:

Fixed #1099, spent 30min.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/lemill_browse_macros.pt

    r1273 r1284  
    6464            plural python:linkydict[1][0][1];             
    6565            results_n python:frc[key]; 
    66             nicename python:test(results_n>1, plural.lower(), singular.lower()); 
     66            nicename python:test(results_n>1, plural.lower(), singular.lower());             
    6767            "> 
    6868        <tal:worth_listing condition="python:results_n>0 and url!=''"> 
     
    7171        <span i18n:translate="" tal:condition="python:here.id=='recent'" tal:content="string:Browse recent ${plural/lower}"/> 
    7272        <span i18n:translate="" tal:condition="python:here.id=='published'" tal:content="string:Show my ${plural/lower}"/> 
    73         <tal:portfolio condition="python:here.id=='portfolio'" i18n:translate=""> 
    74             <span tal:content="string:Browse ${plural/lower} by " tal:omit-tag="" /><span i18n:name="name" tal:content="here/NiceName | nothing" tal:omit-tag="" />  
     73        <tal:portfolio condition="python:here.id=='portfolio'"> 
     74        <tal:trans i18n:translate="" tal:content="Browse ${plural/lower} made by" /> 
     75         <span tal:replace="here/NiceName" /> 
    7576        </tal:portfolio> 
    7677 
  • trunk/tests/extractTranslations.py

    r975 r1284  
    222222            msgid=" ".join(("Browse content by",suffix)) 
    223223            ctl['lemill'].add(msgid,msgid,references=["Heading",]) 
     224        # Browse x made by [name] 
     225        for fol in folders+community_folders: 
     226            msgid=" ".join(("Browse",fol,"made by")) 
     227            ctl['lemill'].add(msgid,msgid,references=['f.ex. Browse activities made by [username]'] 
    224228 
    225229        for domain in ['lemill',]: 
Note: See TracChangeset for help on using the changeset viewer.