Changeset 284 for trunk


Ignore:
Timestamp:
12/19/09 15:19:12 (14 years ago)
Author:
nanardon
Message:
  • translate 'includes' template
Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Epoll/I18N/fr.po

    r283 r284  
    7373msgstr "Août" 
    7474 
     75#: root/templates/includes/admin_menu.tt:7 
     76msgid "Ballot" 
     77msgstr "Bulletins" 
     78 
    7579#: root/templates/admin/denied.tt:4 
    7680msgid "Cannot modify a started or finish poll" 
     
    8589msgstr "Confirmez votre vote" 
    8690 
     91#: root/templates/includes/header.tt:40 
     92msgid "Create a new poll" 
     93msgstr "Créer un nouveau vote" 
     94 
    8795#: root/templates/admin/date.tt:112 
    8896msgid "Date format is" 
    8997msgstr "Le format des dates est" 
    9098 
     99#: root/templates/includes/admin_menu.tt:11 
     100msgid "Dates" 
     101msgstr "Date:" 
     102 
    91103#: root/templates/admin/date.tt:42 
    92104msgid "Dec" 
     
    100112msgid "Decrypt ballots" 
    101113msgstr "Déchiffrer les bulletins" 
     114 
     115#: root/templates/includes/admin_menu.tt:17 
     116msgid "Delete" 
     117msgstr "Effacer" 
    102118 
    103119#: root/templates/admin/delete.tt:8 
     
    170186"paraticiapte to this poll" 
    171187msgstr "" 
    172 "Login/mot de passe invalide, êtes vous autoriser\nà participer à ce vote" 
     188"Login/mot de passe invalide, êtes vous autoriser\n" 
     189"à participer à ce vote" 
    173190 
    174191#: root/templates/admin/date.tt:112 
     
    257274msgstr "Novembre" 
    258275 
     276#: root/templates/includes/signing_list.tt:13 
     277msgid "Number" 
     278msgstr "Nombre" 
     279 
    259280#: root/templates/admin/ballot.tt:15 
    260281msgid "Number of elected people" 
     
    302323msgid "Poll end:" 
    303324msgstr "Fin du vote:" 
     325 
     326#: root/templates/includes/poll_running.tt:3 
     327msgid "Poll is currently running" 
     328msgstr "Le vote est en cours" 
    304329 
    305330#: root/templates/admin/date.tt:115 
     
    387412msgstr "valide" 
    388413 
     414#: root/templates/includes/admin_menu.tt:14 
     415msgid "Validate" 
     416msgstr "Valider" 
     417 
     418#: root/templates/includes/admin_menu.tt:9 
     419msgid "Voting" 
     420msgstr "Votant" 
     421 
     422#: root/templates/includes/signing_list.tt:11 
     423msgid "Voting list" 
     424msgstr "Liste des votants" 
     425 
    389426#: root/templates/includes/header.tt:28 
    390427msgid "Web voting system" 
    391428msgstr "SystÚme de vote en ligne" 
     429 
     430#: root/templates/includes/header.tt:39 
     431msgid "Welcome" 
     432msgstr "Acceuil" 
    392433 
    393434#: root/templates/admin/date.tt:47 
     
    408449"(indépendement du bulletin)" 
    409450 
     451#: root/templates/includes/poll_running.tt:4 
     452msgid "You can" 
     453msgstr "Vous pouvez" 
     454 
    410455#: root/templates/admin/includes/poll_settings.tt:47 
    411456msgid "You can choose a passphrase to protect the key:" 
     
    416461msgstr "Vous venez de soumettre votre bulletin" 
    417462 
     463#: root/templates/includes/header.tt:43 
     464msgid "Your poll:" 
     465msgstr "Votre vote:" 
     466 
    418467#: root/templates/ballot/default.tt:42 
    419468msgid "Your vote will be definitive after validation" 
     
    455504msgid "format:" 
    456505msgstr "format:" 
     506 
     507#: root/templates/includes/signing_list.tt:23 
     508msgid "has vote" 
     509msgstr "a voté" 
    457510 
    458511#: root/templates/ballot/closed.tt:11 root/templates/ballot/done.tt:17 
     
    513566msgstr "envoyer les mots de passe" 
    514567 
     568#: root/templates/includes/signing_list.tt:14 
     569msgid "sign" 
     570msgstr "émargement" 
     571 
    515572#: root/templates/admin/date.tt:122 root/templates/admin/date.tt:131 
    516573msgid "time:" 
     
    521578msgstr "valide" 
    522579 
     580#: root/templates/includes/poll_running.tt:5 
     581msgid "vote here" 
     582msgstr "voter ici" 
     583 
     584#: root/templates/includes/signing_list.tt:13 
     585msgid "voting" 
     586msgstr "votant" 
     587 
    523588#: root/templates/ballot/done.tt:9 
    524589msgid "your ballot id is:" 
  • trunk/lib/Epoll/I18N/messages.pot

    r283 r284  
    7272msgstr "" 
    7373 
     74#: root/templates/includes/admin_menu.tt:7 
     75msgid "Ballot" 
     76msgstr "" 
     77 
    7478#: root/templates/admin/denied.tt:4 
    7579msgid "Cannot modify a started or finish poll" 
     
    8488msgstr "" 
    8589 
     90#: root/templates/includes/header.tt:40 
     91msgid "Create a new poll" 
     92msgstr "" 
     93 
    8694#: root/templates/admin/date.tt:112 
    8795msgid "Date format is" 
    8896msgstr "" 
    8997 
     98#: root/templates/includes/admin_menu.tt:11 
     99msgid "Dates" 
     100msgstr "" 
     101 
    90102#: root/templates/admin/date.tt:42 
    91103msgid "Dec" 
     
    98110#: root/templates/admin/includes/ballot_decrypt.tt:11 
    99111msgid "Decrypt ballots" 
     112msgstr "" 
     113 
     114#: root/templates/includes/admin_menu.tt:17 
     115msgid "Delete" 
    100116msgstr "" 
    101117 
     
    254270msgstr "" 
    255271 
     272#: root/templates/includes/signing_list.tt:13 
     273msgid "Number" 
     274msgstr "" 
     275 
    256276#: root/templates/admin/ballot.tt:15 
    257277msgid "Number of elected people" 
     
    298318#: root/templates/admin/date.tt:124 
    299319msgid "Poll end:" 
     320msgstr "" 
     321 
     322#: root/templates/includes/poll_running.tt:3 
     323msgid "Poll is currently running" 
    300324msgstr "" 
    301325 
     
    376400msgstr "" 
    377401 
     402#: root/templates/includes/admin_menu.tt:14 
     403msgid "Validate" 
     404msgstr "" 
     405 
     406#: root/templates/includes/admin_menu.tt:9 
     407msgid "Voting" 
     408msgstr "" 
     409 
     410#: root/templates/includes/signing_list.tt:11 
     411msgid "Voting list" 
     412msgstr "" 
     413 
    378414#: root/templates/includes/header.tt:28 
    379415msgid "Web voting system" 
     416msgstr "" 
     417 
     418#: root/templates/includes/header.tt:39 
     419msgid "Welcome" 
    380420msgstr "" 
    381421 
     
    395435msgstr "" 
    396436 
     437#: root/templates/includes/poll_running.tt:4 
     438msgid "You can" 
     439msgstr "" 
     440 
    397441#: root/templates/admin/includes/poll_settings.tt:47 
    398442msgid "You can choose a passphrase to protect the key:" 
     
    403447msgstr "" 
    404448 
     449#: root/templates/includes/header.tt:43 
     450msgid "Your poll:" 
     451msgstr "" 
     452 
    405453#: root/templates/ballot/default.tt:42 
    406454msgid "Your vote will be definitive after validation" 
     
    443491msgstr "" 
    444492 
     493#: root/templates/includes/signing_list.tt:23 
     494msgid "has vote" 
     495msgstr "" 
     496 
    445497#: root/templates/ballot/closed.tt:11 root/templates/ballot/done.tt:17 root/templates/ballot/signed.tt:7 
    446498msgid "here" 
     
    499551msgstr "" 
    500552 
     553#: root/templates/includes/signing_list.tt:14 
     554msgid "sign" 
     555msgstr "" 
     556 
    501557#: root/templates/admin/date.tt:122 root/templates/admin/date.tt:131 
    502558msgid "time:" 
     
    507563msgstr "" 
    508564 
     565#: root/templates/includes/poll_running.tt:5 
     566msgid "vote here" 
     567msgstr "" 
     568 
     569#: root/templates/includes/signing_list.tt:13 
     570msgid "voting" 
     571msgstr "" 
     572 
    509573#: root/templates/ballot/done.tt:9 
    510574msgid "your ballot id is:" 
  • trunk/root/templates/includes/admin_menu.tt

    r269 r284  
    55<a href="[% c.uri_for('/admin', poll.uid) %]">[% poll.info.label | html %]</a> 
    66[% IF poll.status == 'BEFORE' %] 
    7 :: <a href="[% c.uri_for('/admin', poll.uid, 'ballot') %]">Bulletins</a> 
     7:: <a href="[% c.uri_for('/admin', poll.uid, 'ballot') %]">[% l('Ballot') %]</a> 
    88[% END %] 
    9 :: <a href="[% c.uri_for('/admin', poll.uid, 'voting') %]">Electeurs</a> 
     9:: <a href="[% c.uri_for('/admin', poll.uid, 'voting') %]">[% l('Voting') %]</a> 
    1010[% IF poll.status == 'BEFORE' %] 
    11 :: <a href="[% c.uri_for('/admin', poll.uid, 'date') %]">Dates</a> 
     11:: <a href="[% c.uri_for('/admin', poll.uid, 'date') %]">[% l('Dates') %]</a> 
    1212[% END %] 
    1313[% IF poll.status == 'AFTER' %] 
    14 :: <a href="[% c.uri_for('/admin', poll.uid, 'validate') %]">Validation</a> 
     14:: <a href="[% c.uri_for('/admin', poll.uid, 'validate') %]">[% l('Validate') %]</a> 
    1515[% END %] 
    1616[% IF poll.status != 'RUNNING' %] 
    17 :: <a href="[% c.uri_for('/admin', poll.uid, 'delete') %]">Effacer</a> 
     17:: <a href="[% c.uri_for('/admin', poll.uid, 'delete') %]">[% l('Delete') %]</a> 
    1818[% END %] 
    1919</div> 
  • trunk/root/templates/includes/ballot_form.tt

    r267 r284  
    2323 
    2424[% count = 0 %] 
    25 [% "<p>Depuis la liste électorale:</p>" IF count == 0 %] 
     25[% "<p>[% l('From voting list') %]</p>" IF count == 0 %] 
    2626[% IF poll.voting_keys.size %] 
    2727[% WHILE count < (poll.info('elected_choice') || 0) %] 
     
    3838[% END %] 
    3939[% ELSE %] 
    40 <p>Pas de votant à afficher</p> 
     40<p>[% l('No voting to show') %]</p> 
    4141[% END %] 
    4242 
     
    4444[% count = 0 %] 
    4545[% WHILE count < poll.info('free_choice') %] 
    46 [% "<p>Choi(x) libre(s):</p>" IF count == 0 %] 
     46[% "<p>[% l('Free choice') %]</p>" IF count == 0 %] 
    4747<input type="text" name="fsbal" value="[% fsbal.$count %]"><br> 
    4848[% count = count + 1 %] 
    4949[% END %] 
    5050<br> 
    51 <input type="submit" name="ballot" value="Voter &gt;&gt;"> 
     51<input type="submit" name="ballot" value="[% l('Voter') _ ' ' %] &gt;&gt;"> 
    5252</form> 
    5353<hr> 
    5454<form action="[% b_form_url %]" method="POST"> 
    55 <input type="submit" name="ballot" value="Voter blanc &gt;&gt;"> 
     55<input type="submit" name="ballot" value="[% l('Empty ballot') _ ' ' %] &gt;&gt;"> 
    5656</form> 
  • 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 %] 
  • trunk/root/templates/includes/poll.tt

    r269 r284  
    1111<p>[% poll.info('procedure') | html | html_line_break %]</p> 
    1212[% END %] 
    13 <p>[% poll.info('choice_count') %] choix est/sont à faire 
     13<p>[% l('[_1] choice have to be done', poll.info('choice_count') %] 
    1414[%- IF poll.info('choice_count') != poll.info('elected_count') -%] 
    15 pour [% poll.info('elected_count') %] élu(s)[%- END -%].</p> 
     15[% l('for [_1] elected', poll.info('elected_count')) %][%- END -%].</p> 
    1616[% IF poll.info('dstart') && poll.info('dend') %] 
    17 <p>Scrutin ouvert du <b>[% poll.info('dstart') _ ' ' _ poll.info('hstart') | html %]</b> au 
    18 <b>[% poll.info('dend') _ ' ' _ poll.info('hend') | html %]</b></p> 
     17<p>[% l('Poll open from <b>[_1] [_2]</b> to <b>[_3] [_4]</b>', 
     18poll.info('dstart'), poll.info('hstart'), 
     19poll.info('dend'), poll.info('hend') %]</p> 
    1920[% END %] 
    20 Ont voté: [% poll.signing_count %] / [% poll.voting_count %]<br> 
    21 Bulletins: [% poll.ballot_count %] 
     21[% l('Participated') _ ' ' %] [% poll.signing_count %] / [% poll.voting_count %]<br> 
     22[% l('Ballot:') _ ' ' %] [% poll.ballot_count %] 
    2223[% IF poll.signing_count != poll.ballot_count %] 
    23 <p class="alert">Le nombre de bulletins et le nombre de personnes ayant voté divergent, 
    24 suspicion de tricherie</p> 
     24<p class="alert"> 
     25[% l('The number of ballot and people having voted differ') %] 
     26</p> 
    2527[% END %] 
    2628</div> 
     
    2830[% IF loop.first %] 
    2931<div style="float: right; width: 20%; top: 0px;" class="box"> 
    30 <p>Bulletin:</p> 
     32<p>[% l('Ballot:') %]</p> 
    3133<ol style="padding-left:15px; margin:5px;"> 
    3234[% END %] 
  • trunk/root/templates/includes/poll_results.tt

    r227 r284  
    1010</div> 
    1111[% IF poll.list_ballot_needvalid.size %] 
    12 <p>Resultats provisoires:</p> 
    13 <p class="alert">Le gestionnaire doit vérifier la validité de certains bulletins</p> 
     12<p>[% l('Temporary results') %]</p> 
     13<p class="alert">[% l('Poll administrator must validate some ballot') %]</p> 
    1414[% ELSE %] 
    15 <p>Resultats:</p> 
     15<p>[% l('Results:') %]</p> 
    1616[% END %] 
    17 <p>Nombre de choix à retenir: [% poll.info('choice_count') %]</p> 
     17<p>[% l('Number of choice to retain:') _ ' ' %][% poll.info('choice_count') %]</p> 
    1818 
    1919<table border="1"> 
    20 <tr><td>Participation</td><td>[% poll.signing_count %]</td><td>[% poll.signing_count / poll.voting_count * 100 | format('%.2f %%') IF poll.voting_count %]</td></tr> 
    21 <tr><td>Nombre de bulltetins</td><td>[% poll.ballot_count %]</td><td></td></tr> 
    22 <tr><td>Nombre de bulltetins blanc</td><td>[% poll.empty_ballot_count %]</td><td>[% poll.empty_ballot_count / poll.ballot_count * 100 | format('%.2f %%') IF poll.ballot_count %]</td></tr> 
    23 <tr><td>Nombre de bulltetins nuls</td><td>[% poll.invalid_ballot_count %]</td><td>[% poll.invalid_ballot_count / poll.ballot_count * 100 | format('%.2f %%') IF poll.ballot_count %]</td></tr> 
    24 <tr><td>Nombre de voix exprimées</td><td>[% poll.voices_ballot_count %]</td><td>[% poll.voices_ballot_count / poll.ballot_count * 100 | format('%.2f %%') IF poll.ballot_count %]</td></tr> 
     20<tr><td>[% l('Participation' %]</td><td>[% poll.signing_count %]</td><td>[% poll.signing_count / poll.voting_count * 100 | format('%.2f %%') IF poll.voting_count %]</td></tr> 
     21<tr><td>[% l('Ballot Number') %]</td><td>[% poll.ballot_count %]</td><td></td></tr> 
     22<tr><td>[% l('Number of empty ballot') %]</td><td>[% poll.empty_ballot_count %]</td><td>[% poll.empty_ballot_count / poll.ballot_count * 100 | format('%.2f %%') IF poll.ballot_count %]</td></tr> 
     23<tr><td>[% l('Number of nul ballot') %]</td><td>[% poll.invalid_ballot_count %]</td><td>[% poll.invalid_ballot_count / poll.ballot_count * 100 | format('%.2f %%') IF poll.ballot_count %]</td></tr> 
     24<tr><td>[% l('Number of voices') %]</td><td>[% poll.voices_ballot_count %]</td><td>[% poll.voices_ballot_count / poll.ballot_count * 100 | format('%.2f %%') IF poll.ballot_count %]</td></tr> 
    2525</table> 
    2626 
     
    2828[% FOREACH res = poll.results %] 
    2929[% IF loop.first %] 
    30 <p>Score:</p> 
     30<p>[% l('Score:') %]</p> 
    3131<table border="1"><tr> 
    32 <th>Légende:</th> 
    33 <td class="majabs">Majorité Absolue</td> 
    34 <td class="selected">Elus</td> 
    35 <td class="notselected">Non élu</td> 
     32<th>[% l('Legend:') %]</th> 
     33<td class="majabs">[% l('Absolute Majority') %]</td> 
     34<td class="selected">[% l('Elected') %]</td> 
     35<td class="notselected">l('Not elected') %]</td> 
    3636</tr></table><br> 
    3737<table border="1"> 
    38 <tr><th>Score</th><th>Ligne N°</th><th>choix</th><th>Nb voix</th><th>%</th><th></th></tr> 
     38<tr><th>Score</th><th>[% l('Line n°') %]</th><th>[% l('choice') %]</th><th>[% 
     39l('Number of voice') %]</th><th>[% l('%') %]</th><th></th></tr> 
    3940[% END %] 
    4041 
     
    6364[% END %] 
    6465[% ELSE %] 
    65 <p class="alert">Aucun suffrage exprimé.</p> 
     66<p class="alert">[% l('No results') %]</p> 
    6667[% END %] 
    6768</div> 
     
    7071[% IF loop.first %] 
    7172<div id="ballot_list" class="box"> 
    72 <p>Liste des bulletins:</p> 
     73<p>[% l('Ballot list:') %]</p> 
    7374<table border="1"> 
    74 <tr><th>numéro</th><th>Id</th> 
    75 <th>contenu (=> corrigé en) 
     75<tr><th>[% l('number') %]</th><th>[% l('Id') %]</th> 
     76<th>[% l('date (=> view as)') | html %] 
    7677[% IF poll.info('free_choice') %] 
    77 <br>(*: hors liste) 
     78<br>(*: [% l('not from list') %]) 
    7879[% END %] 
    79 </th><th>remarque</th></tr> 
     80</th><th>[% l('comment') %]</th></tr> 
    8081[% END %] 
    8182<tr> 
     
    99100[% invalid = '#' _ poll.ballot(id).info.invalid %] 
    100101[% IF invalid == '#1' %] 
    101 <span class="alert">Invalidé</span> 
     102<span class="alert">[% l('invalided') %]</span> 
    102103[% ELSIF invalid  == '#' %] 
    103 <i>doit être validé</i> 
     104<i>[% l('must be validated') %]</i> 
    104105[% END %] 
    105106</td> 
     
    113114[% ELSE %][% # can show result %] 
    114115<div class="page_box"> 
    115 <p>Les résultats ne sont pas encore publiés<p> 
     116<p>[% l('Results are not yet published') %]<p> 
    116117</div> 
    117118[% END %] 
  • trunk/root/templates/includes/poll_running.tt

    r227 r284  
    11<!-- $Id$ --> 
    22<div id="poll_running"> 
    3 <p>Le vote est actuellement en cours</p> 
    4 <p>Vous pouvez: <a href="[% c.uri_for('/ballot', c.model('Vote').poll(voteid).uid) %]">Voter ici</a></li></p> 
     3<p>[% l('Poll is currently running') %]</p> 
     4<p>[% l('You can') _ ' ' %]<a href="[% c.uri_for('/ballot', 
     5c.model('Vote').poll(voteid).uid) %]">[% l('vote here') %]</a></li></p> 
    56</div> 
  • trunk/root/templates/includes/signing_list.tt

    r227 r284  
    99[% IF loop.first %] 
    1010<div id="voting_list" class="box"> 
    11 <p>Liste des votants:</p> 
     11<p>[% l('Voting list') %]</p> 
    1212<table border="1"> 
    13 <tr><th>Numéro</th><th>Electeur</th> 
    14 [% IF poll_status != 'RUNNING' %]<th>Emargement</th>[% END %] 
     13<tr><th>[% l('Number') %]</th><th>[% l('voting') %]</th> 
     14[% IF poll_status != 'RUNNING' %]<th>[% l('sign') %]</th>[% END %] 
    1515</tr> 
    1616[% END %] 
     
    2121    [% "&lt;" IF voting.label %][% voting.mail | mail | html %][% "&gt;" IF voting.label %] 
    2222</td> 
    23 [% IF poll_status != 'RUNNING' %]<td>[% "A voté" IF voting.date %]</td>[% END %] 
     23[% IF poll_status != 'RUNNING' %]<td>[% l('has vote') IF voting.date %]</td>[% END %] 
    2424</tr> 
    2525[% IF loop.last %] 
Note: See TracChangeset for help on using the changeset viewer.