Ignore:
Timestamp:
12/19/09 15:19:12 (15 years ago)
Author:
nanardon
Message:
  • translate 'includes' template
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/root/templates/includes/header.tt

    r280 r284  
    3232            <option>C</option> 
    3333            [% FOREACH lang = [ 'fr' ] %] 
    34             <option[% " selected" IF locale == l %]>[% lang | html %]</option> 
     34            <option[% " selected" IF locale == lang %]>[% lang | html %]</option> 
    3535            [% END %] 
    3636        </select><input type="submit"> 
    3737        </form> 
    3838    <p id="menu" style="clear: both;"> 
    39     <a href="[% c.uri_for('/') %]">Acceuil</a> :: 
    40     <a href="[% c.uri_for('/newpoll') %]">Créer un nouveau vote</a> 
     39    <a href="[% c.uri_for('/') %]">[% l('Welcome') %]</a> :: 
     40    <a href="[% c.uri_for('/newpoll') %]">[% l('Create a new poll') %]</a> 
    4141    [% IF voteid %] 
    4242    :: <a href="[% c.uri_for('/vote', c.model('Vote').poll(voteid).uid) %]"> 
    43         Votre vote: [% c.model('Vote').poll(voteid).info('label') | truncate(40) | html %] 
     43        [% l('Your poll:') _ ' ' %][% c.model('Vote').poll(voteid).info('label') | truncate(40) | html %] 
    4444    </a> 
    4545    [% END %] 
Note: See TracChangeset for help on using the changeset viewer.