diff --git a/src/app/features/consultation/consultation.component.html b/src/app/features/consultation/consultation.component.html index 0b229b65..0277c06d 100644 --- a/src/app/features/consultation/consultation.component.html +++ b/src/app/features/consultation/consultation.component.html @@ -3,18 +3,18 @@
- ⚰️ Ce sondage a expiré, il n'est plus possible d'y ajouter de votes ou de commentaires + {{ 'participation.poll_expired' | translate }}
- vous êtes admin de ce sondage et pouvez le modifier + {{ 'participation.you_are_admin' | translate }}
- Vous ne pouvez modifier que votre propre vote à ce sondage + {{ 'participation.edit_only_self' | translate }}
@@ -32,9 +32,12 @@

{{ poll.title }}

{{ poll.description }}

- {{ poll.stacks.length }} votants + {{ poll.stacks.length }} + {{ 'participation.voters' | translate }}
-

author : {{ poll.owner?.pseudo }}

+

+ {{ 'participation.author' | translate }} {{ poll.owner?.pseudo }} +

@@ -55,20 +58,21 @@
+
diff --git a/src/assets/i18n/EN.json b/src/assets/i18n/EN.json index 1dc9124b..26f8244c 100644 --- a/src/assets/i18n/EN.json +++ b/src/assets/i18n/EN.json @@ -236,6 +236,45 @@ "validation": { "You must enter a value": "You must enter a value" }, + "participation": { + "vote": "Voter", + "menu_label": "Options", + "fav_title": "Voter", + "fav_description_one": "Le choix préféré avec {{maxYesCount}} oui est", + "fav_description_several": "Les choix préférés sont", + "fav_description_not_exist": "Pas encore de choix préféré", + "vote": "Voter", + "voters": "votants", + "author": "auteur:", + "mode_comptact": "Vue compacte", + "mode_detailed": "Vue détaillée", + "you_are_admin": "vous êtes admin de ce sondage et pouvez le modifier", + "edit_only_self": "Vous ne pouvez modifier que votre propre vote à ce sondage", + "poll": "Sondage", + "yes": "Oui", + "maybe": "Peut-être", + "no": "Non", + "details": "Détails", + "comments": "Commentaires", + "comments_new": "Nouveau commentaire", + "name_label": "Votre nom (obligatoire)", + "content_label": "Votre message (obligatoire)", + "send_button": "Poster", + "poll_expired": "Ce sondage a expiré, il n'est plus possible d'y ajouter de votes ou de commentaires", + "voting_title": "Choisissez vos préférences", + "modal": { + "title": "Vous allez annuler votre vote", + "description": "Tous vos choix seront effacés.\nSouhaitez-vous vraiment annuler ?", + "reject": "Non", + "validate": "Oui annuler" + }, + "vote_confirmed": "Votre vote est confirmé.", + "vote_confirmed_edit": "Vous pouvez le modifier à tout moment.", + "comment_confirmed": "Votre commentaire a bien été posté.", + "vote_edit_title": "Modifiez votre vote", + "send_edit_vote": "Modifier mon vote", + "vote_edit_confirmation": "Votre vote a bien été modifié.", + }, "You must enter a value": "You must enter a value", "SENTENCES": { "create-a-poll": "Create a poll", diff --git a/src/assets/i18n/FR.json b/src/assets/i18n/FR.json index 060fb597..dfc9ae07 100644 --- a/src/assets/i18n/FR.json +++ b/src/assets/i18n/FR.json @@ -175,7 +175,7 @@ "network_error": "n'a pas été créé", "go_back": "Revenir en arrière", "copy": "Copier", - "copy_message": "Texte copié:", + "copy_message": "Texte copié:" }, "visibility": { "top_txt": "Un peu de paramétrage…", @@ -252,6 +252,45 @@ "required": "champ requis", "You must enter a value": "You must enter a value" }, + "participation": { + "vote": "Voter", + "menu_label": "Options", + "fav_title": "Voter", + "fav_description_one": "Le choix préféré avec {{maxYesCount}} oui est", + "fav_description_several": "Les choix préférés sont", + "fav_description_not_exist": "Pas encore de choix préféré", + "vote": "Voter", + "voters": "votants", + "author": "auteur:", + "mode_comptact": "Vue compacte", + "mode_detailed": "Vue détaillée", + "you_are_admin": "vous êtes admin de ce sondage et pouvez le modifier", + "edit_only_self": "Vous ne pouvez modifier que votre propre vote à ce sondage", + "poll": "Sondage", + "yes": "Oui", + "maybe": "Peut-être", + "no": "Non", + "details": "Détails", + "comments": "Commentaires", + "comments_new": "Nouveau commentaire", + "name_label": "Votre nom (obligatoire)", + "content_label": "Votre message (obligatoire)", + "send_button": "Poster", + "poll_expired": "Ce sondage a expiré, il n'est plus possible d'y ajouter de votes ou de commentaires", + "voting_title": "Choisissez vos préférences", + "modal": { + "title": "Vous allez annuler votre vote", + "description": "Tous vos choix seront effacés.\nSouhaitez-vous vraiment annuler ?", + "reject": "Non", + "validate": "Oui annuler" + }, + "vote_confirmed": "Votre vote est confirmé.", + "vote_confirmed_edit": "Vous pouvez le modifier à tout moment.", + "comment_confirmed": "Votre commentaire a bien été posté.", + "vote_edit_title": "Modifiez votre vote", + "send_edit_vote": "Modifier mon vote", + "vote_edit_confirmation": "Votre vote a bien été modifié.", + }, "You must enter a value": "You must enter a value", "SENTENCES": { "create-a-poll": "Créez un sondage",