Better use of the translation system

This commit is contained in:
Antonin 2016-05-03 21:09:41 +02:00
parent fc235cefeb
commit 00dcd4a006
9 changed files with 9 additions and 9 deletions

View File

@ -136,7 +136,7 @@
}, },
"Poll results": { "Poll results": {
"Votes of the poll": "Stimmabgaben zur Umfrage", "Votes of the poll": "Stimmabgaben zur Umfrage",
"Edit the line:": "Zeile bearbeiten:", "Edit the line: %s": "Zeile bearbeiten: %s",
"Remove the line:": "Zeile entfernen:", "Remove the line:": "Zeile entfernen:",
"Vote no for": "Nein-Stimmen für", "Vote no for": "Nein-Stimmen für",
"Vote yes for": "Ja-Stimmen für", "Vote yes for": "Ja-Stimmen für",

View File

@ -136,7 +136,7 @@
}, },
"Poll results": { "Poll results": {
"Votes of the poll": "Votes", "Votes of the poll": "Votes",
"Edit the line:": "Edit line:", "Edit the line: %s": "Edit line: %s",
"Remove the line:": "Remove line:", "Remove the line:": "Remove line:",
"Vote no for": "Vote \"no\" for", "Vote no for": "Vote \"no\" for",
"Vote yes for": "Vote \"yes\" for", "Vote yes for": "Vote \"yes\" for",

View File

@ -139,7 +139,7 @@
}, },
"Poll results": { "Poll results": {
"Votes of the poll": "Votos de la encuesta", "Votes of the poll": "Votos de la encuesta",
"Edit the line:": "Modificar la fila:", "Edit the line: %s": "Modificar la fila: %s",
"Remove the line:": "Borrar la fila:", "Remove the line:": "Borrar la fila:",
"Vote no for": "Votar « no » para", "Vote no for": "Votar « no » para",
"Vote yes for": "Votar « si » para", "Vote yes for": "Votar « si » para",

View File

@ -136,7 +136,7 @@
}, },
"Poll results": { "Poll results": {
"Votes of the poll": "Votes du sondage", "Votes of the poll": "Votes du sondage",
"Edit the line:": "Modifier la ligne :", "Edit the line: %s": "Modifier la ligne : %s",
"Remove the line:": "Supprimer la ligne :", "Remove the line:": "Supprimer la ligne :",
"Vote no for": "Voter « non » pour", "Vote no for": "Voter « non » pour",
"Vote yes for": "Voter « oui » pour", "Vote yes for": "Voter « oui » pour",

View File

@ -136,7 +136,7 @@
}, },
"Poll results": { "Poll results": {
"Votes of the poll": "Voti del sondaggio ", "Votes of the poll": "Voti del sondaggio ",
"Edit the line:": "Modificare la riga :", "Edit the line: %s": "Modificare la riga : %s",
"Remove the line:": "Eliminare la riga :", "Remove the line:": "Eliminare la riga :",
"Vote no for": "Scegliere \"no\" per", "Vote no for": "Scegliere \"no\" per",
"Vote yes for": "Scegliere \"sì\" per", "Vote yes for": "Scegliere \"sì\" per",

View File

@ -134,7 +134,7 @@
}, },
"Poll results": { "Poll results": {
"Votes of the poll": "Vòtes del sondatge", "Votes of the poll": "Vòtes del sondatge",
"Edit the line:": "Modificar la linha :", "Edit the line: %s": "Modificar la linha : %s",
"Remove the line:": "Suprimir la linha :", "Remove the line:": "Suprimir la linha :",
"Vote no for": "Votar « non » per", "Vote no for": "Votar « non » per",
"Vote yes for": "Votar « òc » per", "Vote yes for": "Votar « òc » per",

View File

@ -196,7 +196,7 @@ function getMessageForOwnVoteEditableVote(SessionService &$sessionService, Smart
'success', 'success',
__('studs', 'Your vote has been registered successfully, but be careful: regarding this poll options, you need to keep this personal link to edit your own vote:'), __('studs', 'Your vote has been registered successfully, but be careful: regarding this poll options, you need to keep this personal link to edit your own vote:'),
$urlEditVote, $urlEditVote,
__('Poll results', 'Edit the line:').' '.$name, __f('Poll results', 'Edit the line: %s', $name),
'glyphicon-pencil'); 'glyphicon-pencil');
if ($canUseSMTP) { if ($canUseSMTP) {
$token = new Token(); $token = new Token();

View File

@ -110,7 +110,7 @@
} }
<td class="hidden-print"> <td class="hidden-print">
<a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-default btn-sm" title="{__('Poll results', 'Edit the line:')|html} {$vote->name|html}"> <a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-default btn-sm" title="{__f('Poll results', 'Edit the line: %s', $vote->name)|html}">
<i class="glyphicon glyphicon-pencil"></i><span class="sr-only">{__('Generic', 'Edit')}</span> <i class="glyphicon glyphicon-pencil"></i><span class="sr-only">{__('Generic', 'Edit')}</span>
</a> </a>
{if $admin} {if $admin}

View File

@ -159,7 +159,7 @@
) )
} }
<td class="hidden-print"> <td class="hidden-print">
<a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-default btn-sm" title="{__('Poll results', 'Edit the line:')|escape} {$vote->name|html}"> <a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-default btn-sm" title="{__f('Poll results', 'Edit the line: %s', $vote->name)|html}">
<i class="glyphicon glyphicon-pencil"></i><span class="sr-only">{__('Generic', 'Edit')}</span> <i class="glyphicon glyphicon-pencil"></i><span class="sr-only">{__('Generic', 'Edit')}</span>
</a> </a>
{if $admin} {if $admin}