Changeset 1336


Ignore:
Timestamp:
02/02/07 14:45:49 (13 years ago)
Author:
tarmo
Message:

Closes #1120.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/extractTranslations.py

    r1335 r1336  
    226226            msgid=" ".join(("Browse",fol,"made by")) 
    227227            ctl['lemill'].add(msgid,msgid,references=['f.ex. Browse activities made by [username]']) 
     228        # Some content types in plural form for browse subheadings 
     229        show_by_elements = [x[1][1] for x in TYPE_NAMES.items() if x[0] in ("Learning resource", "LeMillReference", "Piece")] 
     230        for msgid in show_by_elements: 
     231            ctl['lemill'].add(msgid,msgid,references=["Used like this: 'Show: %s'" % msgid,]) 
    228232 
    229233        for domain in ['lemill',]: 
Note: See TracChangeset for help on using the changeset viewer.