diff --git a/adminstuds.php b/adminstuds.php index 573e908f2f961c7448566f5a4296b63e2ffc918c..a26bbd225ebc827b5897344892e8128c9114967a 100644 --- a/adminstuds.php +++ b/adminstuds.php @@ -120,9 +120,9 @@ if (isset($_POST['update_poll_info'])) { // Update poll in database if ($updated && $adminPollService->updatePoll($poll)) { - $message = new Message('success', __('adminstuds\\Poll saved.')); + $message = new Message('success', __('adminstuds\\Poll saved')); } else { - $message = new Message('danger', __('Error\\Failed to save poll.')); + $message = new Message('danger', __('Error\\Failed to save poll')); $poll = $pollService->findById($poll_id); } } @@ -148,16 +148,16 @@ if (!empty($_POST['save'])) { // Save edition of an old vote $message = new Message('danger', __('Error\\Something is going wrong...')); } if (count($choices) != count($_POST['choices'])) { - $message = new Message('danger', __('Error\\There is a problem with your choices.')); + $message = new Message('danger', __('Error\\There is a problem with your choices')); } if ($message == null) { // Update vote $result = $pollService->updateVote($poll_id, $editedVote, $name, $choices); if ($result) { - $message = new Message('success', __('Update vote successfully.')); + $message = new Message('success', __('adminstuds\\Vote updated')); } else { - $message = new Message('danger', __('Error\\Update vote failed.')); + $message = new Message('danger', __('Error\\Update vote failed')); } } } elseif (isset($_POST['save'])) { // Add a new vote @@ -165,19 +165,19 @@ if (!empty($_POST['save'])) { // Save edition of an old vote $choices = $inputService->filterArray($_POST['choices'], FILTER_VALIDATE_REGEXP, ['options' => ['regexp' => CHOICE_REGEX]]); if (empty($name)) { - $message = new Message('danger', __('Error\\The name is invalid.')); + $message = new Message('danger', __('Error\\The name is invalid')); } if (count($choices) != count($_POST['choices'])) { - $message = new Message('danger', __('Error\\There is a problem with your choices.')); + $message = new Message('danger', __('Error\\There is a problem with your choices')); } if ($message == null) { // Add vote $result = $pollService->addVote($poll_id, $name, $choices); if ($result) { - $message = new Message('success', __('Update vote successfully.')); + $message = new Message('success', __('adminstuds\\Vote added')); } else { - $message = new Message('danger', __('Error\\Update vote failed.')); + $message = new Message('danger', __('Error\\Adding vote failed')); } } } @@ -189,9 +189,9 @@ if (!empty($_POST['save'])) { // Save edition of an old vote if (!empty($_POST['delete_vote'])) { $vote_id = filter_input(INPUT_POST, 'delete_vote', FILTER_VALIDATE_INT); if ($adminPollService->deleteVote($poll_id, $vote_id)) { - $message = new Message('success', __('Vote delete.')); + $message = new Message('success', __('adminstuds\\Vote deleted')); } else { - $message = new Message('danger', __('Error\\Failed to delete the vote.')); + $message = new Message('danger', __('Error\\Failed to delete the vote')); } } @@ -208,9 +208,9 @@ if (isset($_POST['remove_all_votes'])) { } if (isset($_POST['confirm_remove_all_votes'])) { if ($adminPollService->cleanVotes($poll_id)) { - $message = new Message('success', __('All votes deleted.')); + $message = new Message('success', __('adminstuds\\All votes deleted')); } else { - $message = new Message('danger', __('Error\\Failed to delete all votes.')); + $message = new Message('danger', __('Error\\Failed to delete all votes')); } } @@ -223,16 +223,16 @@ if (isset($_POST['add_comment'])) { $comment = strip_tags($_POST['comment']); if (empty($name)) { - $message = new Message('danger', __('Error\\The name is invalid.')); + $message = new Message('danger', __('Error\\The name is invalid')); } if ($message == null) { // Add comment $result = $pollService->addComment($poll_id, $name, $comment); if ($result) { - $message = new Message('success', __('Comment added.')); + $message = new Message('success', __('Comments\\Comment added')); } else { - $message = new Message('danger', __('Error\\Comment failed.')); + $message = new Message('danger', __('Error\\Comment failed')); } } @@ -246,9 +246,9 @@ if (!empty($_POST['delete_comment'])) { $comment_id = filter_input(INPUT_POST, 'delete_comment', FILTER_VALIDATE_INT); if ($adminPollService->deleteComment($poll_id, $comment_id)) { - $message = new Message('success', __('Comment deleted.')); + $message = new Message('success', __('adminstuds\\Comment deleted')); } else { - $message = new Message('danger', __('Error\\Failed to delete the comment.')); + $message = new Message('danger', __('Error\\Failed to delete the comment')); } } @@ -265,9 +265,9 @@ if (isset($_POST['remove_all_comments'])) { } if (isset($_POST['confirm_remove_all_comments'])) { if ($adminPollService->cleanComments($poll_id)) { - $message = new Message('success', __('All comments deleted.')); + $message = new Message('success', __('All comments deleted')); } else { - $message = new Message('danger', __('Error\\Failed to delete all comments.')); + $message = new Message('danger', __('Error\\Failed to delete all comments')); } } @@ -284,9 +284,9 @@ if (isset($_POST['delete_poll'])) { } if (isset($_POST['confirm_delete_poll'])) { if ($adminPollService->deleteEntirePoll($poll_id)) { - $message = new Message('success', __('Generic\\Poll fully deleted.')); + $message = new Message('success', __('Generic\\Poll fully deleted')); } else { - $message = new Message('danger', __('Error\\Failed to delete the poll.')); + $message = new Message('danger', __('Error\\Failed to delete the poll')); } $smarty->assign('poll_id', $poll_id); $smarty->assign('admin_poll_id', $admin_poll_id); @@ -316,9 +316,9 @@ if (!empty($_POST['delete_column'])) { } if ($result) { - $message = new Message('success', __('Column deleted.')); + $message = new Message('success', __('Column deleted')); } else { - $message = new Message('danger', __('Error\\Failed to delete the column.')); + $message = new Message('danger', __('Error\\Failed to delete the column')); } } @@ -347,9 +347,9 @@ if (isset($_POST['confirm_add_slot'])) { } if ($result) { - $message = new Message('success', __('Column added.')); + $message = new Message('success', __('adminstuds\\Choice added')); } else { - $message = new Message('danger', __('Error\\Failed to add the column.')); + $message = new Message('danger', __('Error\\Failed to add the column')); } } diff --git a/locale/fr.json b/locale/fr.json index 566d352375e19baf89e1ff27a2341472db772ef1..ae5fc78fdea5dce5892b1e46581167984f18c682 100644 --- a/locale/fr.json +++ b/locale/fr.json @@ -27,7 +27,8 @@ "for": "à ", "Yes": "Oui", "Ifneedbe": "Si nécessaire", - "No": "Non" + "No": "Non", + "Legend:": "Légende :" }, "Date" : { "(dd/mm/yyyy)": "(jj/mm/aaaa)", @@ -35,8 +36,8 @@ "%A, den %e. %B %Y": "%A %e %B %Y" }, "Language selector": { - "Change the language": "Changer la langue", - "Select the language": "Choisir la langue" + "Select the language": "Choisir la langue", + "Change the language": "Changer la langue" }, "Homepage": { "Schedule an event": "Créer un sondage spécial dates", @@ -67,12 +68,10 @@ "the development site": "le site de développement", "If you want to install the software for your own use and thus increase your independence, we help you on:": "Si vous souhaitez installer ce logiciel pour votre propre usage et ainsi gagner en autonomie, nous vous aidons sur :" }, - "Poll": { - "Poll administration": "Administration du sondage", - "Legend:": "Légende :" + "": { + "Poll administration": "Administration du sondage" }, "PollInfo": { - "Back to the poll": "Retour au sondage", "Remove the poll": "Supprimer le sondage", "Remove all the comments": "Supprimer tous les commentaires", "Remove all the votes": "Supprimer tous les votes", @@ -111,19 +110,9 @@ "Keep comments": "Garder les commentaires", "Keep this poll": "Garder ce sondage" }, - "Help text adminstuds.php": { - "As poll administrator, you can change all the lines of this poll with this button": "En tant qu'administrateur, vous pouvez modifier toutes les lignes de ce sondage avec ce bouton", - "remove a column or a line with": "effacer une colonne ou une ligne avec", - "and add a new column with": "et si vous avez oublié de saisir un choix, vous pouvez rajouter une colonne en cliquant sur", - "Finally, you can change the informations of this poll like the title, the comments or your email address.": "Vous pouvez enfin également modifier les informations relatives à ce sondage comme le titre, les commentaires ou encore votre courriel." - }, - "Help text studs.php": { - "If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line.": "Pour participer à ce sondage, veuillez entrer votre nom, choisir toutes les valeurs qui vous conviennent et valider votre choix avec le bouton en bout de ligne." - }, "Poll results": { "Votes of the poll": "Votes du sondage", "Remove the column": "Effacer la colonne", - "Add a column": "Ajouter une colonne", "Edit the line:": "Modifier la ligne :", "Remove the line:": "Supprimer la ligne :", "Vote no for ": "Voter « non » pour ", @@ -144,21 +133,42 @@ "Add a comment to the poll": "Ajouter un commentaire au sondage", "Your comment": "Votre commentaire", "Send the comment": "Envoyer le commentaire", - "anonyme": "anonyme" + "anonyme": "anonyme", + "Comment added": "Commentaire ajouté" }, "studs": { + "If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line.": "Pour participer à ce sondage, veuillez entrer votre nom, choisir toutes les valeurs qui vous conviennent et valider votre choix avec le bouton en bout de ligne.", + "POLL_LOCKED_WARNING":"L'administrateur a verrouillé ce sondage. Les votes et commentaires sont gelés, il n'est plus possible de participer", "The poll is expired, it will be deleted soon.": "Le sondage a expiré, il sera bientôt supprimé.", "Deletion date:": "Date de suppression :" }, "adminstuds": { + "As poll administrator, you can change all the lines of this poll with this button": "En tant qu'administrateur, vous pouvez modifier toutes les lignes de ce sondage avec ce bouton", + "remove a column or a line with": "effacer une colonne ou une ligne avec", + "and add a new column with": "et si vous avez oublié de saisir un choix, vous pouvez rajouter une colonne en cliquant sur", + "Finally, you can change the informations of this poll like the title, the comments or your email address.": "Vous pouvez enfin également modifier les informations relatives à ce sondage comme le titre, les commentaires ou encore votre courriel.", "Column's adding": "Ajout de colonne", "You can add a new scheduling date to your poll.": "Vous pouvez ajouter une date à votre sondage.", "If you just want to add a new hour to an existant date, put the same date and choose a new hour.": "Si vous voulez juste ajouter un horaire à une date existante, mettez la même date et choisissez un autre horaire. Il sera intégré normalement au sondage existant.", - "Confirm removal of your poll": "Confirmer la suppression de votre sondage", - "Remove this poll!": "Je supprime ce sondage !", - "Keep this poll!": "Je garde ce sondage !", + "Confirm removal of the poll": "Confirmer la suppression du sondage", + "Remove the poll": "Je supprime le sondage", + "Keep the poll": "Je garde le sondage", "Your poll has been removed!": "Votre sondage a été supprimé !", - "Poll saved.": "Sondage sauvegardé." + "Poll saved": "Sondage sauvegardé", + "Vote added": "Vote ajouté", + "Vote updated": "Vote mis à jour", + "Vote deleted": "Vote supprimé", + "All votes deleted": "Tous les votes ont été supprimés", + "Back to the poll": "Retour au sondage", + "Add a column": "Ajouter une colonne", + "Choice added": "Choix ajouté", + "Confirm removal of all votes of the poll": "Confirmer la suppression de tous les votes de ce sondage", + "Keep the votes": "Garder les votes", + "Remove the votes": "Supprimer les votes", + "Confirm removal of all comments of the poll": "Confirmer la suppression de tous les commentaires de ce sondage", + "Keep the comments": "Garder les commentaires", + "Remove the comments": "Supprimer les commentaires", + "The poll has been deleted": "Le sondage a été supprimé" }, "Step 1": { "Poll creation (1 on 3)": "Création de sondage (1 sur 3)", @@ -272,6 +282,8 @@ "Characters \\u0022 ' < et > are not permitted": "Les caractères \\u0022 ' < et > ne sont pas autorisés !", "The date is not correct !": "La date choisie n'est pas correcte !", "Framadate is not properly installed, please check the \"INSTALL\" to setup the database before continuing.": "Framadate n'est pas installé correctement, lisez le fichier INSTALL pour configurer la base de données avant de continuer.", - "Failed to save poll.": "Echèc de la sauvegarde du sondage." + "Failed to save poll": "Echèc de la sauvegarde du sondage", + "Update vote failed": "Mise à jour du vote échoué", + "Adding vote failed": "Ajout d'un vote échoué" } } diff --git a/tpl/add_slot.tpl b/tpl/add_slot.tpl index 8a66e380eb855de0552f1a5e83626aa0026f1c9c..9f634bcc5444f49fe4b3141e036d195f2bb244b1 100644 --- a/tpl/add_slot.tpl +++ b/tpl/add_slot.tpl @@ -3,36 +3,36 @@ {block name=main} <form action="{$admin_poll_id|poll_url:true}" method="POST"> <div class="alert alert-info text-center"> - <h2>{_('Column\'s adding')}</h2> + <h2>{__('adminstuds\\Column\'s adding')}</h2> {if $format === 'D'} <div class="form-group"> - <label for="newdate" class="col-md-4">{_('Day')}</label> + <label for="newdate" class="col-md-4">{__('Generic\\Day')}</label> <div class="col-md-8"> <div class="input-group date"> <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span> - <input type="text" id="newdate" data-date-format="{_('dd/mm/yyyy')}" aria-describedby="dateformat" name="newdate" class="form-control" placeholder="{_('dd/mm/yyyy')}" /> + <input type="text" id="newdate" data-date-format="{__('Date\\dd/mm/yyyy')}" aria-describedby="dateformat" name="newdate" class="form-control" placeholder="{__('Date\\dd/mm/yyyy')}" /> </div> - <span id="dateformat" class="sr-only">{_('(dd/mm/yyyy)')}</span> + <span id="dateformat" class="sr-only">{__('Date\\(dd/mm/yyyy)')}</span> </div> </div> <div class="form-group"> - <label for="newmoment" class="col-md-4">{_('Time')}</label> + <label for="newmoment" class="col-md-4">{__('Generic\\Time')}</label> <div class="col-md-8"> <input type="text" id="newmoment" name="newmoment" class="form-control" /> </div> </div> {else} <div class="form-group"> - <label for="choice" class="col-md-4">{_('Choice')}</label> + <label for="choice" class="col-md-4">{__('Generic\\Choice')}</label> <div class="col-md-8"> <input type="text" id="choice" name="choice" class="form-control" /> </div> </div> {/if} <div class="form-group"> - <button class="btn btn-default" type="submit" name="back">{_('Back to the poll')}</button> - <button type="submit" name="confirm_add_slot" class="btn btn-success">{_('Add a column')}</button> + <button class="btn btn-default" type="submit" name="back">{__('adminstuds\\Back to the poll')}</button> + <button type="submit" name="confirm_add_slot" class="btn btn-success">{__('adminstuds\\Add a column')}</button> </div> </div> </form> diff --git a/tpl/confirm/delete_comments.tpl b/tpl/confirm/delete_comments.tpl index bbc6a6780ae77b1edf027b15b5cd72f4f34e65f7..264a4aef975c6125da1a6e179b7c3dc7ea67bb33 100644 --- a/tpl/confirm/delete_comments.tpl +++ b/tpl/confirm/delete_comments.tpl @@ -3,9 +3,9 @@ {block name=main} <form action="{$admin_poll_id|poll_url:true|html}" method="POST"> <div class="alert alert-danger text-center"> - <h2>{_('Confirm removal of all comments of the poll')}</h2> - <p><button class="btn btn-default" type="submit" name="cancel">{_('Keep comments')}</button> - <button type="submit" name="confirm_remove_all_comments" class="btn btn-danger">{_('Remove all comments!')}</button></p> + <h2>{__('adminstuds\\Confirm removal of all comments of the poll')}</h2> + <p><button class="btn btn-default" type="submit" name="cancel">{__('adminstuds\\Keep the comments')}</button> + <button type="submit" name="confirm_remove_all_comments" class="btn btn-danger">{__('adminstuds\\Remove the comments')}</button></p> </div> </form> {/block} \ No newline at end of file diff --git a/tpl/confirm/delete_poll.tpl b/tpl/confirm/delete_poll.tpl index e2cbbe5933dadca16a4a7b90e30f861ade10a0bb..6a245029796f657fe7598341d7e62e59fcdfda3b 100644 --- a/tpl/confirm/delete_poll.tpl +++ b/tpl/confirm/delete_poll.tpl @@ -3,9 +3,9 @@ {block name=main} <form action="{$admin_poll_id|poll_url:true|html}" method="POST"> <div class="alert alert-danger text-center"> - <h2>{_('Confirm removal of your poll')}</h2> - <p><button class="btn btn-default" type="submit" name="cancel">{_('Keep this poll')}</button> - <button type="submit" name="confirm_delete_poll" class="btn btn-danger">{_('Remove this poll!')}</button></p> + <h2>{__('adminstuds\\Confirm removal of the poll')}</h2> + <p><button class="btn btn-default" type="submit" name="cancel">{__('adminstuds\\Keep the poll')}</button> + <button type="submit" name="confirm_delete_poll" class="btn btn-danger">{__('adminstuds\\Remove the poll')}</button></p> </div> </form> {/block} \ No newline at end of file diff --git a/tpl/confirm/delete_votes.tpl b/tpl/confirm/delete_votes.tpl index d80720187844787ed857af3d8b912b6d555f4b8f..530266ee2d71c85e7935d4315a3ce513786b70c3 100644 --- a/tpl/confirm/delete_votes.tpl +++ b/tpl/confirm/delete_votes.tpl @@ -3,9 +3,9 @@ {block name=main} <form action="{$admin_poll_id|poll_url:true|html}" method="POST"> <div class="alert alert-danger text-center"> - <h2>{_('Confirm removal of all votes of the poll')}</h2> - <p><button class="btn btn-default" type="submit" name="cancel">{_('Keep votes')}</button> - <button type="submit" name="confirm_remove_all_votes" class="btn btn-danger">{_('Remove all votes!')}</button></p> + <h2>{__('adminstuds\\Confirm removal of all votes of the poll')}</h2> + <p><button class="btn btn-default" type="submit" name="cancel">{__('adminstuds\\Keep votes')}</button> + <button type="submit" name="confirm_remove_all_votes" class="btn btn-danger">{__('adminstuds\\Remove the votes')}</button></p> </div> </form> {/block} \ No newline at end of file diff --git a/tpl/error.tpl b/tpl/error.tpl index 5d7e55adba9c7530d1b00f12e8da5a8846e3d277..601e0a4bb95c8f055ff0a32d6963a82dd2a118d6 100644 --- a/tpl/error.tpl +++ b/tpl/error.tpl @@ -1,7 +1,7 @@ {extends file='page.tpl'} {block name=main} - <div class="alert alert-warning"> + <div class="alert alert-warning text-center"> <h2>{$error|html}</h2> <p>{__('Generic\\Back to the homepage of')} <a href="{$SERVER_URL|html}">{$APPLICATION_NAME|html}</a></p> </div> diff --git a/tpl/header.tpl b/tpl/header.tpl index 1fa06c2705bbad83218c75aa7a3ee62b9bb0ace7..53adb2f0d66534292a402e9dd2b2ba2f259d2308 100644 --- a/tpl/header.tpl +++ b/tpl/header.tpl @@ -2,19 +2,19 @@ {if count($langs)>1} <form method="post" action="" class="hidden-print"> <div class="input-group input-group-sm pull-right col-md-2 col-xs-4"> - <select name="lang" class="form-control" title="{_("Select the language")}" > + <select name="lang" class="form-control" title="{__('Language selector\\Select the language')}" > {foreach $langs as $lang_key=>$lang_value} <option lang="{substr($lang_key, 0, 2)}" {if substr($lang_key, 0, 2)==$html_lang}selected{/if} value="{$lang_key|html}">{$lang_value|html}</option> {/foreach} </select> <span class="input-group-btn"> - <button type="submit" class="btn btn-default btn-sm" title="{_("Change the language")}">OK</button> + <button type="submit" class="btn btn-default btn-sm" title="{__('Language selector\\Change the language')}">OK</button> </span> </div> </form> {/if} - <h1><a href="{$SERVER_URL|html}" title="{_("Home")} - {$APPLICATION_NAME|html}"><img src="{$TITLE_IMAGE|resource}" alt="{$APPLICATION_NAME|html}"/></a></h1> + <h1><a href="{$SERVER_URL|html}" title="{__('Generic\\Home')} - {$APPLICATION_NAME|html}"><img src="{$TITLE_IMAGE|resource}" alt="{$APPLICATION_NAME|html}"/></a></h1> {if !empty($title)}<h2 class="lead"><i>{$title|html}</i></h2>{/if} <hr class="trait" role="presentation" /> </header> diff --git a/tpl/part/poll_hint.tpl b/tpl/part/poll_hint.tpl index 341a9f1afef973f0d7172d841f6e7bc991654180..3e493e5af4f360544047adc4a2cc10e4f8861153 100644 --- a/tpl/part/poll_hint.tpl +++ b/tpl/part/poll_hint.tpl @@ -1,11 +1,11 @@ {if $active} <div class="alert alert-info"> - <p>{_("If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line.")}</p> - <p aria-hidden="true"><b>{_('Legend:')}</b> <span class="glyphicon glyphicon-ok"></span> = {_('Yes')}, <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = {_('Ifneedbe')}, <span class="glyphicon glyphicon-ban-circle"></span> = {_('No')}</p> + <p>{__('studs\\If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line.')}</p> + <p aria-hidden="true"><b>{__('Generic\\Legend:')}</b> <span class="glyphicon glyphicon-ok"></span> = {__('Generic\\Yes')}, <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = {__('Generic\\Ifneedbe')}, <span class="glyphicon glyphicon-ban-circle"></span> = {_('No')}</p> </div> {else} <div class="alert alert-danger"> - <p>{_("The administrator locked this poll, votes and comments are frozen, it's not possible to participate anymore.")}</p> - <p aria-hidden="true"><b>{_('Legend:')}</b> <span class="glyphicon glyphicon-ok"></span> = {_('Yes')}, <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = {_('Ifneedbe')}, <span class="glyphicon glyphicon-ban-circle"></span> = {_('No')}</p> + <p>{__('studs\\POLL_LOCKED_WARNING')}</p> + <p aria-hidden="true"><b>{__('Generic\\Legend:')}</b> <span class="glyphicon glyphicon-ok"></span> = {__('Generic\\Yes')}, <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = {__('Generic\\Ifneedbe')}, <span class="glyphicon glyphicon-ban-circle"></span> = {_('No')}</p> </div> {/if} \ No newline at end of file diff --git a/tpl/part/poll_hint_admin.tpl b/tpl/part/poll_hint_admin.tpl index 2b7c1c3d66b35f9ecb6e0fc1307cfcfbad53a363..ac8ffda4aa4466c2ad782c7ee8a5645fa0b16e8b 100644 --- a/tpl/part/poll_hint_admin.tpl +++ b/tpl/part/poll_hint_admin.tpl @@ -1,7 +1,7 @@ <div class="alert alert-info"> - <p>{_('As poll administrator, you can change all the lines of this poll with this button')} <span class="glyphicon glyphicon-pencil"></span><span class="sr-only">{_('Edit')}</span>, - {_('remove a column or a line with')} <span class="glyphicon glyphicon-remove text-danger"></span><span class="sr-only">{_('Remove')}</span> - {_('and add a new column with')} <span class="glyphicon glyphicon-plus text-success"></span><span class="sr-only">{_('Add a column')}</span>.</p> - <p>{_('Finally, you can change the informations of this poll like the title, the comments or your email address.')}</p> - <p aria-hidden="true"><strong>{_('Legend:')}</strong> <span class="glyphicon glyphicon-ok"></span> = {_('Yes')}, <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = {_('Ifneedbe')}, <span class="glyphicon glyphicon-ban-circle"></span> = {_('No')}</p> + <p>{__('adminstuds\\As poll administrator, you can change all the lines of this poll with this button')} <span class="glyphicon glyphicon-pencil"></span><span class="sr-only">{_('Edit')}</span>, + {__('adminstuds\\remove a column or a line with')} <span class="glyphicon glyphicon-remove text-danger"></span><span class="sr-only">{_('Remove')}</span> + {__('adminstuds\\and add a new column with')} <span class="glyphicon glyphicon-plus text-success"></span><span class="sr-only">{_('Add a column')}</span>.</p> + <p>{__('adminstuds\\Finally, you can change the informations of this poll like the title, the comments or your email address.')}</p> + <p aria-hidden="true"><strong>{__('Generic\\Legend:')}</strong> <span class="glyphicon glyphicon-ok"></span> = {__('Generic\\Yes')}, <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = {__('Generic\\Ifneedbe')}, <span class="glyphicon glyphicon-ban-circle"></span> = {__('Generic\\No')}</p> </div> \ No newline at end of file diff --git a/tpl/poll_deleted.tpl b/tpl/poll_deleted.tpl index f0b46a2a4710a55107b98623032c86eae9da032b..6fc2c012d4dfaf96be94f9fb869f3274e6564f77 100644 --- a/tpl/poll_deleted.tpl +++ b/tpl/poll_deleted.tpl @@ -2,7 +2,7 @@ {block name=main} <div class="alert alert-success text-center"> - <h2>{_("Your poll has been removed!")}</h2> - <p>{_('Back to the homepage of')} <a href="{$SERVER_URL|html}">{$APPLICATION_NAME|html}</a></p> + <h2>{__('adminstuds\\The poll has been deleted')}</h2> + <p>{__('Generic\\Back to the homepage of')} <a href="{$SERVER_URL|html}">{$APPLICATION_NAME|html}</a></p> </div> {/block} \ No newline at end of file