Ignore:
Timestamp:
21 Jul 2012, 17:32:35 (12 years ago)
Author:
Henrik Bettermann
Message:

Also widgets must be translated. Otherwise we'll see 'False' and 'True' for boolean fields.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pdf.py

    r8936 r9040  
    265265                                target_language=lang)
    266266            f_label = Paragraph(f_label, ENTRY1_STYLE)
    267             f_text = widget()
     267            f_text = translate(widget(), domain, target_language=lang)
    268268            f_text = format_html(f_text)
    269269            if f_text:
Note: See TracChangeset for help on using the changeset viewer.