Changeset 400 for trunk


Ignore:
Timestamp:
10/06/10 20:20:34 (14 years ago)
Author:
misc
Message:
  • use a special formating, so the string can be correctly translated in german ( and others languages )
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/root/templates/pollinc/binary/ballot.tt

    r390 r400  
    22[% poll = c.model('Vote').poll(voteid) %] 
    33 
    4 <p>[% l('You need to select') _ ' ' _ poll.info('choice_count') _ ' ' _ l('choices') %] 
     4<p>[% l('You need to select [_1] choices', poll.info('choice_count') ) %] 
    55[%- IF poll.info('choice_count') != poll.info('elected_count') -%] 
    6 [% ' ' _ l('for') _ ' ' _ poll.info('elected_count') _ ' ' _ l('elected') %] [%- END -%]</p> 
     6[% ' ' _ l('for [_1] elected', poll.info('elected_count')) %] [%- END -%]</p> 
    77 
    88[% FOREACH key = poll.choices() %] 
Note: See TracChangeset for help on using the changeset viewer.