This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit bea5382f7f874885ec300ceb12e7ef76183f8d03 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Wed Sep 6 17:11:56 2017 +0200 Vérification des traductions, Séparation des traductions (1 fichier par langue) rechargement de type de vote à la modification de la locale (ref #123) --- .../rest/api/PollenRestApiRequestFilter.java | 24 +- pollen-ui-riot-js/src/main/web/i18n.json | 1063 -------------------- pollen-ui-riot-js/src/main/web/i18n/en.json | 536 ++++++++++ pollen-ui-riot-js/src/main/web/i18n/fr.json | 536 ++++++++++ pollen-ui-riot-js/src/main/web/js/FetchService.js | 5 +- pollen-ui-riot-js/src/main/web/js/Poll.js | 10 + pollen-ui-riot-js/src/main/web/js/PollForm.js | 12 +- pollen-ui-riot-js/src/main/web/js/Session.js | 5 +- .../src/main/web/tag/poll/Poll.tag.html | 8 +- .../src/main/web/tag/poll/Settings.tag.html | 8 + 10 files changed, 1126 insertions(+), 1081 deletions(-) diff --git a/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/PollenRestApiRequestFilter.java b/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/PollenRestApiRequestFilter.java index 5ee83aa9..3c369f7f 100644 --- a/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/PollenRestApiRequestFilter.java +++ b/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/PollenRestApiRequestFilter.java @@ -21,6 +21,7 @@ package org.chorem.pollen.rest.api; * #L% */ +import com.google.common.collect.ImmutableList; import com.google.gson.Gson; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; @@ -91,6 +92,8 @@ public class PollenRestApiRequestFilter implements ContainerRequestFilter, Conta public static final String REQUEST_HEADER_SESSION_TOKEN = "X-Pollen-Session-Token"; public static final String REQUEST_HEADER_UI_CONTEXT = "X-Pollen-UI-context"; + public static final ImmutableList<Locale> ACCEPT_LANGUAGES = ImmutableList.of(Locale.FRENCH, Locale.ENGLISH); + public static final Locale DEFAULT_LANGUAGE = Locale.FRENCH; /** Logger. */ @@ -228,22 +231,23 @@ public class PollenRestApiRequestFilter implements ContainerRequestFilter, Conta } private Locale getUserLocale(ContainerRequestContext context) { - Locale language = context.getLanguage(); - if (log.isDebugEnabled()) { - log.debug("Found Accept-Language: " + language); - } + Locale language = context.getLanguage(); - if (language == null - || (!Locale.FRENCH.getLanguage().equals(language.getLanguage()) - && !Locale.ENGLISH.getLanguage().equals(language.getLanguage()))) { + if (! ACCEPT_LANGUAGES.contains(language)) { - language = Locale.FRANCE; + List<Locale> languages = context.getAcceptableLanguages(); - if (log.isInfoEnabled()) { - log.info("Use default language: " + language); + if (log.isDebugEnabled()) { + log.debug("Found Accept-Language: " + languages.stream() + .map(Locale::getDisplayName) + .reduce((l1, l2) -> l1 + ", " + l2)); } + language = languages.stream() + .filter(ACCEPT_LANGUAGES::contains) + .findFirst() + .orElse(DEFAULT_LANGUAGE); } return language; diff --git a/pollen-ui-riot-js/src/main/web/i18n.json b/pollen-ui-riot-js/src/main/web/i18n.json deleted file mode 100644 index b4d34d79..00000000 --- a/pollen-ui-riot-js/src/main/web/i18n.json +++ /dev/null @@ -1,1063 +0,0 @@ -{ - "fr": { - "main_pollen_title": "Pollen - ", - "main_home" : "Application de sondage", - "main_signup" : "Inscription", - "main_signcheck" : "Validation du compte", - "main_createdPolls" : "Mes sondages", - "main_invitedPolls" : "Mes invitations", - "main_participatedPolls" : "Mes participations", - "main_admin_polls" : "Tous les sondages", - "main_admin_users" : "Les utilisateurs", - "main_newPoll" : "Nouveau sondage", - "main_editPoll" : "Edition du sondage", - "main_userProfile" : "Mon profil", - "main_favoriteLists" : "Listes de votants", - "pagination_all": "Tous", - "pagination_resultsPerPage": "Résultats par page", - "summary_choices": "Choix", - "summary_voteCountingType": "Type de sondage", - "summary_dates": "Dates", - "summary_addingChoices": "Ajout de choix", - "summary_voting": "Ouvert", - "summary_fromDate": "à partir du", - "summary_toDate": "jusqu'au", - "summary_administrate": "Administrer le sondage", - "summary_sharing": "Partage", - "summary_shareByQR": "Afficher un QR code pour accéder au sondage", - "summary_shareByEmail": "Envoyer des invitations par email", - "summary_invitations": "Nombre d'invitations à voter envoyées par email:", - "summary_vote": "Voter", - "summary_members": "Participants", - "summary_membersNb": "participants ont reçu un email avec un lien pour voter.", - "poll_403": "Erreur : le sondage n'est pas accessible", - "poll_newPoll": "Nouveau sondage", - "poll_closePoll": "Clôturer le sondage", - "poll_reopenPoll": "Réouvrir le sondage", - "poll_clonePoll": "Cloner le sondage", - "poll_deletePoll": "Supprimer le sondage", - "poll_editPoll": "Modifier le sondage", - "poll_creationSuccess": "Votre sondage {0} a été créé avec succès.", - "poll_saveSuccess": "Votre sondage {0} a été enregistré avec succès.", - "poll_tab_votes": "Votes", - "poll_summaryTab": "Résumé", - "poll_settings": "Configuration", - "poll_tab_results": "Résultats", - "poll_CLOSED": "Fermé", - "poll_ADDING_CHOICES": "Ajout de choix", - "poll_VOTING": "Ouvert", - "poll_CREATED": "Créé", - "poll_createdBy": "Auteur :", - "poll_voteCountingType": "Type de sondage : ", - "poll_dateVotes": "Période de vote", - "poll_dateAddChoices": "Période d'ajout de choix", - "poll_dateFrom": "Du", - "poll_dateFromNoEnd": "À partir du", - "poll_dateTo": "Au", - "poll_noChoice": "aucun choix", - "poll_choice": "choix", - "poll_choices": "choix", - "poll_noVote": "aucun vote", - "poll_vote": "vote", - "poll_votes": "votes", - "poll_subscribers": "invités", - "poll_participants": "participants", - "poll_participation": "de participation", - "poll_closedFrom": "Fermé depuis le", - "poll_urlForAdmin" : "Administrer ce sondage avec cette adresse", - "poll_urlForVote" : "Inviter de nouveaux participants en leur envoyant cette adresse", - "poll_urlForEditVote" : "Vote enregistré, vous pourrez le modifier à l'adresse suivante (lorsque vous n'êtes pas connecté) : ", - "poll_qrcode": "Afficher un QR code pour partager le sondage", - "poll_rss": "Vous abonner au flux du sondage", - "poll_print": "Imprimer la page", - "poll_results_title": "Résultats", - "poll_results_noResult": "Les résultats ne sont pas encore disponibles.", - "poll_results_ranks": "Rangs", - "poll_results_choices": "Choix", - "poll_results_results": "Résultats", - "poll_results_unit_1_one": "vote", - "poll_results_unit_1_many": "votes", - "poll_results_unit_2_one": "%", - "poll_results_unit_2_many": "%", - "poll_results_unit_3_one": "combat", - "poll_results_unit_3_many": "combats", - "poll_results_unit_4_one": "", - "poll_results_unit_4_many": "", - "poll_results_unit_5_one": "point", - "poll_results_unit_5_many": "points", - "poll_results_unit_6_one": "vote", - "poll_results_unit_6_many": "votes", - "poll_results_unit_7_one": "vote", - "poll_results_unit_7_many": "votes", - "poll_results_borda_title": "Tableau des points", - "poll_results_borda_ranks": "Rangs", - "poll_results_borda_points": "Points", - "poll_results_borda_total": "Totaux", - "poll_results_condorcet_title": "Tableau des combats", - "poll_results_condorcet_total": "Totaux", - "poll_results_instantRunoff_title": "Tableau des éliminations", - "poll_results_instantRunoff_rounds": "Tours", - "poll_results_coombs_title": "Tableau des éliminations", - "poll_results_coombs_rounds": "Tours", - "poll_results_coombs_ranks": "Rangs", - "poll_results_coombs_firstRank": "1er", - "poll_results_coombs_lastRank": "Der.", - "poll_comments_one": "Commentaire", - "poll_comments_many": "Commentaires", - "poll_comments_noComment": "Pas de commentaire.", - "poll_comments_title": "Commentaires", - "poll_comments_sendComment": "Envoyer", - "poll_comments_authorPlaceholder": "Saisir votre nom", - "poll_comments_textPlaceholder": "Saisir le commentaire", - "poll_comments_cancelEditComment": "Annuler", - "poll_comments_deleteComment" : "Voulez-vous supprimer ce commentaire ?", - "poll_comments_updateComment": "Valider", - "poll_comments_close": "Fermer", - "poll_comments_sort_asc": "Trier du plus récent au plus ancien", - "poll_comments_sort_desc": "Trier du plus ancien au plus récent", - "poll_comments_goToEnd": "Aller à la fin", - "poll_comments_goToStart": "Aller au début", - "poll_comments_delete": "Supprimer", - "poll_comments_edit": "Modifier", - "poll_voteStart": "Les votes ont commencé, certaines options ne sont pas modifiables.", - "poll_votes_title": "Votes", - "poll_votes_deleteVote": "Supprimer le vote ?", - "poll_votes_anonymousVoter": "Anonyme", - "poll_votes_authorPlaceHolder": "Renseignez votre nom", - "poll_votes_toVote": "Voter", - "poll_votes_validateEdition": "Valider", - "poll_votes_cancelEdition": "Annuler", - "poll_votes_tooManyChoicesSelected": "Trop de choix sélectionnés. Maximum :", - "poll_votes_addChoice": "Ajouter un choix", - "poll_votes_choices": "Choix", - "poll_votes_delete": "Supprimer le vote ?", - "poll_votes_results": "Resultats", - "poll_votes_noVote": "Aucun vote", - "poll_votes_results_unit_1_one": "vote", - "poll_votes_results_unit_1_many": "votes", - "poll_votes_results_unit_2_one": "%", - "poll_votes_results_unit_2_many": "%", - "poll_votes_results_unit_3_one": "combat", - "poll_votes_results_unit_3_many": "combats", - "poll_votes_results_unit_4_one": "", - "poll_votes_results_unit_4_many": "", - "poll_votes_results_unit_5_one": "point", - "poll_votes_results_unit_5_many": "points", - "poll_votes_results_unit_6_one": "vote", - "poll_votes_results_unit_6_many": "votes", - "poll_votes_results_unit_7_one": "vote", - "poll_votes_results_unit_7_many": "votes", - "poll_votes_voteNotOpen": "Les votes ne sont pas encore ouverts.", - "polls_createdPolls": "Mes sondages", - "polls_assignPollToMe": "Attacher le sondage", - "polls_assignPollToMe_title": "Attacher un sondage à mon compte", - "polls_assignPollToMe_desc": "Si vous avez créé un sondage sans être connecté, vous pouvez le rattacher à votre compte en remplissant ce formulaire avec l'url d'administration du sondage.", - "polls_assignSuccessMessage": "Le sondage « {0} » a bien été rattaché à votre compte.", - "polls_alreadyAssignMessage": "Le sondage est déjà rattaché à votre compte", - "polls_invitedPolls": "Mes invitations", - "polls_participatedPolls": "Mes participations", - "polls_polls": "Tous les sondages", - "polls_name": "Nom", - "polls_sort": "Trier par", - "polls_createDate": "Date de création", - "polls_noPoll": "Aucun sondage", - "polls_one": "sondage", - "polls_many": "sondages", - "signup_title": "Créer un compte", - "signup_email": "Email", - "signup_email_placeholder": "Entrez votre adresse email", - "signup_name": "Nom", - "signup_name_placeholder": "Entrez votre nom", - "signup_password": "Mot de passe", - "signup_password_placeholder": "Entrez votre mot de passe", - "signup_repeat_password": "Confirmation du mot de passe", - "signup_repeat_password_placeholder": "Répétez votre mot de passe", - "signup_repeat_password_error": "Les deux mots de passe ne sont pas identiques.", - "signup_validate": "Valider", - "signup_resendValidation": "Déja inscrit, mais compte non validé ?", - "signup_error": "Impossible d'enregister le compte.", - "signup_error_email": "L'adresse email est déjà utilisé pour un autre compte.", - "signup_createAccount_title": "Votre compte a bien été créé", - "signup_createAccount_message": "Un courriel vous a été envoyé avec l'url de validation de votre compte.", - "signup_createAccount_action": "Continuer", - "resendvalidation_title": "Renvoyer un courriel de validation de compte", - "resendvalidation_cancel": "Annuler", - "resendvalidation_action": "Envoyer", - "resendvalidation_placeholder": "Entrez votre courriel", - "resendvalidation_sent": "Un nouveau courriel d'invitation a été envoyé", - "resendvalidation_error_emailNotFound": "Le courriel n'a pas été trouvé", - "signcheck_title": "Validation de votre compte", - "signcheck_signin": "Vous connecter", - "signcheck_resendValidation": "Envoyer une nouvelle invitation", - "signcheck_message": "Votre compte doit être validé afin de pouvoir vous connecter.", - "signcheck_validating": "Votre compte est en cour de validation...", - "signcheck_validating_error": "Votre compte n'a pas pu être validé, essayer de renvoyer une invitation.", - "signcheck_validating_success": "Votre compte a été validé. Vous pouvez vous connecter.", - "signin_title": "Connexion", - "signin_login": "Email", - "signin_login_placeholder": "Entrez votre email", - "signin_password": "Mot de passe", - "signin_password_placeholder": "Entrez votre mot de passe", - "signin_lostpassword": "Mot de passe perdu ?", - "signin_connexion": "Se connecter", - "signin_error_signin_emailOrPasswordInvalid": "Courriel ou mot de passe invalide", - "signin_error_signin_banned": "Compte bloqué", - "signin_error_signin_emailNotValidated": "Vous devez valider votre compte avant de pouvoir vous connecter. Relevez vos emails, nous vous avons envoyé un lien de validation.", - "newpassword_title": "Obtenir un nouveau mot de passe", - "newpassword_action": "Envoyer", - "newpassword_placeholder": "Entrez votre courriel", - "newpassword_error_emailNotFound": "Le courriel n'a pas été trouvé", - "newpassword_sent": "Un nouveau mot de passe vient d'être envoyé", - "footer_doc": "Pollen 3.0", - "footer_download": "Télécharger", - "footer_contact": "Nous contacter", - "footer_participate": "Contribuer au projet", - "footer_license": "Licence", - "header_signin": "Connexion", - "header_signup": "Inscription", - "header_signout": "Déconnexion", - "header_home": "Accueil", - "header_i18n_lang": "Langue", - "header_myProfile": "Mon profil", - "header_myPolls": "Mes sondages", - "header_myInvitedPolls": "Mes invitations", - "header_myParticipatedPolls": "Mes participations", - "header_polls": "Sondages", - "header_users": "Utilisateurs", - "header_myFavoriteLists": "Mes listes de votants", - "header_createOtherPoll": "Nouveau sondage standard", - "header_createDatePoll": "Nouveau sondage de dates", - "header_feedback": "Un bug, une remarque ?", - "header_newPoll" : "Nouveau sondage", - "poll_cancel": "Annuler", - "poll_description_next": "Suivant", - "poll_description_info": "Informations", - "poll_description_title": "Titre", - "poll_description_titlePlaceHolder": "Renseignez le titre du sondage", - "poll_description_titleNotBlank": "Le titre ne doit pas être blanc", - "poll_description_description": "Description", - "poll_description_descriptionPlaceHolder": "Renseignez la description du sondage", - "poll_description_user": "Créateur", - "poll_description_name": "Votre nom", - "poll_description_namePlaceHolder": "Renseignez votre nom", - "poll_description_nameNotBlank": "Vote nom ne doit pas être blanc", - "poll_description_email": "Votre courriel", - "poll_description_emailPlaceHolder": "Renseignez votre courriel", - "poll_settings_restricted": "Sondage restreint ?", - "poll_settings_basic_usage": "Options par défaut", - "poll_settings_use_basic_usage": "Utiliser les options par défaut", - "poll_settings_basic_usage_detail": "Par défaut Pollen vous propose : ", - "poll_settings_basic_usage_detail_type": "Un sondage à dépouillement majoritaire (le choix ayant le plus de votes gagne)", - "poll_settings_basic_usage_detail_multi_choices": "Les participants peuvent voter pour plusieurs choix", - "poll_settings_basic_usage_detail_opening": "Le vote est ouvert dès la création du sondage", - "poll_settings_basic_usage_detail_closing": "Il peut être clos manuellement par son créateur", - "poll_settings_basic_usage_detail_comments": "Tout le monde peut voir les votes et les commentaires", - "poll_settings_basic_usage_detail_results": "Les résultats sont visibles de tous et disponible en continus", - "poll_settings_basic_usage_detail_notifications": "Aucune notification de vote et pas de rappel de la fin proche d'un sondage", - "poll_settings_previous": "Précédent", - "poll_settings_next": "Continuer", - "poll_settings_skip": "Passer", - "poll_settings_save": "Enregistrer", - "poll_settings_pollIsClosed": "Le sondage est fermé, vous ne pouvez plus l'éditer.", - "poll_settings_showOptions": "Voir les options avancées", - "poll_settings_hideOptions": "Masquer les options avancées", - "poll_settings_resultVisibility": "Qui peut voir les résultats ?", - "poll_settings_resultVisibility_creator": "Uniquement le créateur", - "poll_settings_resultVisibility_everybody": "Tout le monde", - "poll_settings_resultVisibility_voter": "Les participants", - "poll_settings_commentVisibility": "Qui peut voir les commentaires ?", - "poll_settings_commentVisibility_creator": "Uniquement le créateur", - "poll_settings_commentVisibility_everybody": "Tout le monde", - "poll_settings_commentVisibility_voter": "Les participants", - "poll_settings_voteVisibility": "Qui peut voir les votes ?", - "poll_settings_voteVisibility_anonymous": "Personne", - "poll_settings_voteVisibility_creator": "Uniquement le créateur", - "poll_settings_voteVisibility_everybody": "Tout le monde", - "poll_settings_voteVisibility_voter": "Les participants", - "poll_settings_nav_poll": "Sondage", - "poll_settings_nav_result": "Résultats", - "poll_settings_nav_voters": "Participants", - "poll_settings_nav_votePeriod": "Période de vote", - "poll_settings_nav_resultVisibility": "Visibilité des résultats", - "poll_settings_nav_continuousResult": "Résultats continus", - "poll_settings_nav_choices": "Choix", - "poll_settings_nav_addChoices": "Ajouter des choix", - "poll_settings_nav_limitChoices": "Limiter les choix", - "poll_settings_nav_votes": "Votes", - "poll_settings_nav_voteCountingType": "Type de scrutin", - "poll_settings_nav_voteVisibility": "Visibilité", - "poll_settings_nav_anonymousVote": "Anonymisation", - "poll_settings_nav_comments": "Commentaires", - "poll_settings_nav_commentVisibility": "Visiblité", - "poll_settings_nav_notification": "Notifications", - "poll_settings_poll_configuration": "Configuration du sondage", - "poll_settings_continuousResult": "Voir les résultats en continu", - "poll_settings_choicesConfiguration": "Configuration des choix", - "poll_settings_votersConfiguration": "Configuration des participants", - "poll_settings_voters": "Renseignez la liste des participants", - "poll_settings_addChoices": "Ajout de choix par les participants", - "poll_settings_limitChoices": "Limiter le nombre de choix par vote", - "poll_settings_votesConfiguration": "Configuration des votes", - "poll_settings_voteCountingType": "Type de scrutin pour effectuer le dépouillement du sondage", - "poll_settings_voteCountingType_normal": "Normal", - "poll_settings_voteCountingType_pourcentage": "Pourcentage", - "poll_settings_voteCountingType_condorcet": "Condorcet", - "poll_settings_anonymousVote": "Rendre les votes anonymes", - "poll_settings_commentsConfiguration": "Configuration des commentaires", - "poll_settings_resultsConfiguration": "Configuration des résultats", - "poll_settings_votePeriod": "Période ouverture des votes", - "poll_settings_help": "Aide", - "poll_settings_beginDate": "Ouverture du", - "poll_settings_endDate": "au", - "poll_settings_beginChoiceDate": "Ajout de choix du", - "poll_settings_endChoiceDate": "au", - "poll_settings_maxChoiceNumber": "Nombre maximum de choix", - "poll_settings_nav_pollTitle": "Titre", - "poll_settings_nav_pollDescription": "Description", - "poll_settings_nav_votersPrivacy": "Qui peut voter ?", - "poll_settings_freePoll": "Tout le monde peut voter (Sondage public)", - "poll_settings_restrictedPoll": "Seul les invités peuvent voter (Sondage privé)", - "poll_settings_restrictedPoll_withMe": "Je participe au sondage", - "poll_settings_notification": "Recevoir des notifications :", - "poll_settings_notification_disabled": "Pour activer les notifications, vous devez renseigner votre courriel dans la partie 'Description'.", - "poll_settings_voteNotification": "À chaque action sur les votes", - "poll_settings_commentNotification": "À chaque action sur les commentaires", - "poll_settings_newChoiceNotification": "À chaque ajout de choix", - "poll_settings_notifyMeBeforePollEnds": "Recevoir une notification avant la fin des votes", - "poll_settings_notifyMeBeforePollEnds_disabled": "Pour activer le rappel de la fin du sondage, vous devez renseigner votre courriel dans la partie 'Description', et choisir une date de fin pour le sondage en activant la période d'ouverture des votes.", - "poll_settings_notifyMeHoursBeforePollEnds": "Combien d'heures avant ?", - "poll_choices_title": "Liste des choix", - "poll_choices_label": "Choix", - "poll_choices_description": "Description", - "poll_previous": "Précédent", - "poll_next": "Suivant", - "poll_save": "Enregistrer", - "poll_choices_moreChoices": "Ajouter des choix", - "poll_choices_moreChoice": "Ajouter un choix", - "poll_choices_choicePeriod": "Ajout de choix", - "poll_step_general": "Description", - "poll_step_choices": "Choix", - "poll_step_options": "Options", - "poll_step_voters": "Participants", - "poll_voters_previous": "Précédent", - "poll_voters_save": "Enregistrer", - "poll_voters_freePoll": "Tout le monde peut voter (Sondage public)", - "poll_voters_restrictedPoll": "Seul les invités peuvent voter (Sondage privé)", - "poll_voters_restrictedPoll_withMe": "Je participe au sondage", - "poll_voters_restrictedPoll_participants": "Participants au sondage", - "poll_voters_restrictedPoll_withGroup": "Organiser les invités dans des groupes", - "poll_voters_invite": "Inviter des participants", - "poll_voters_already_invite_label": "Participants déjà invités", - "poll_voters_new_invite_label": "Renseignez le courriel des participants (séparé par un espace)", - "poll_created_title": "Sondage créé", - "poll_created_message": "Le sondage vient d'être créé. Un courriel vous a été adressé ainsi qu'aux éventuels participants.", - "poll_created_edit": "Pour gérer le sondage, veuillez utiliser le lien suivant", - "poll_created_vote": "Pour voter, veuillez utiliser le lien suivant", - "poll_created_editUrl": "Gérer le sondage", - "poll_created_voteUrl": "Voter", - "users_title": "Les utilisateurs", - "users_noUser": "Aucun utilisateur", - "users_one": "utilisateur", - "users_many": "utilisateurs", - "user_banned": "Banni", - "user_emailValidate": "En cours de validation", - "user_emailIsValidate": "Courriel validé", - "user_administrator": "Administrateur", - "user_edit": "Modifier l'utilisateur", - "user_ban": "Désactiver", - "user_banUser": "Désactiver l'utilisateur", - "user_banUserMessage": "Désactiver l'utilisateur ?", - "user_deleteUser": "Supprimer l'utilisateur", - "user_deleteUserMessage": "Supprimer l'utilisateur ?", - "user_name": "Nom", - "user_email": "Courriel", - "user_cancel": "Annuler", - "user_save": "Enregistrer", - "userProfile_title": "Mon profil", - "userProfile_identity": "Identité", - "userProfile_name": "Nom", - "userProfile_name_placeholder": "Entrez votre nom d'utilisateur", - "userProfile_email": "Courriel", - "userProfile_email_placeholder": "Entrez votre courriel", - "userProfile_emailValidate": "Courriel vérifié", - "userProfile_emailValidationWaiting": "En cours de validation", - "userProfile_resendValidation": "Envoyer une nouvelle invitation", - "userProfile_saveIdentity": "Enregistrer", - "userProfile_passwordChange": "Changement de mot de passe", - "userProfile_oldPassword": "Ancien mot de passe", - "userProfile_oldPassword_placeholder": "Entrez votre ancien mot de passe", - "userProfile_newPassword": "Nouveau mot de passe", - "userProfile_newPassword_placeholder": "Entrez votre nouveau mot de passe", - "userProfile_repeatPassword": "Confirmation du mot de passe", - "userProfile_repeatPassword_placeholder": "Répétez votre mot de passe", - "userProfile_repeatPassword_error": "Les deux mots de passe ne sont pas identiques.", - "userProfile_savePassword": "Enregistrer", - "choice_description_placeholder": "Vous pouvez saisir une description pour ce choix", - "date-picker_today": "Aujourd'hui", - "date-picker_dateplaceholder": "Date", - "time-picker_timeplaceholder": "Heure", - "choice_text": "Renseignez un texte", - "choice_text_placeholder": "Renseignez un texte ou sélectionnez un autre type", - "choice_text_notBlank": "Le texte ne doit pas être blanc", - "choice_ressource": "Utiliser une image", - "choice_addFile": "Ajouter un fichier", - "choice_date": "Renseignez une date", - "choice_time": "Ajouter une heure à la date", - "choice_description": "Ajouter un descriptif du choix", - "choice_download": "Télécharger", - "choice_fileSizeMax_title": "Fichier trop lourd", - "choice_fileSizeMax_message": "Le fichier « {0} » de taille de {1} ne doit pas dépasser {2}.", - "favoriteList_title": "Mes listes de votants", - "favoriteList_one": "liste de votants", - "favoriteList_many": "listes de votants", - "favoriteList_addFavoriteList": "Ajouter une nouvelle liste de votants", - "favoriteList_export": "Exporter les listes de votants", - "favoriteList_children": "sous-listes", - "favoriteList_child": "sous-liste", - "favoriteList_members": "membres", - "favoriteList_member": "membre", - "favoriteList_noMember": "Aucun membre", - "favoriteList_new": "Nouvelle liste", - "favoriteList_edit": "Modifier cette liste", - "favoriteList_name": "Nom", - "favoriteList_name_placdeholder": "Renseignez le nom de la nouvelle liste", - "favoriteList_add": "Ajouter", - "search_label": "Rechercher", - "favoriteList_createDate": "Date de création", - "favoriteList_name": "Nom", - "favoriteList_email": "Courriel", - "favoriteList_noFavoriteList": "Aucune liste de votants", - "favoriteList_cancel": "Annuler", - "favoriteList_back": "Retour", - "favoriteList_save": "Enregistrer", - "favoriteList_edit": "Modifier la liste de votants", - "favoriteList_delete": "Supprimer", - "favoriteList_deleteMessage": "Supprimer la liste de votants ?", - "favoriteList_loading": "Chargement...", - "favoriteList_member_new": "Nouveau membre", - "favoriteList_member_import": "Importer", - "favoriteList_member_importCsv": "Importer un fichier CSV", - "favoriteList_member_csvFile": "Fichier des membres", - "favoriteList_member_csvFile_exemple": "# Courriel;Nom;Poids\ndupond@domaine.fr;Jean Dupond;1.00\npseudo@bleu.fr;Arnaud Lemaitre;4.50\nmiller@courriel.com;Benjamin Miller;3.00", - "favoriteList_member_csvFile_exemple_label": "Exemple de fichier", - "favoriteList_member_csvFile_exemple_detail": "Si le poids est omis, sa valeur par défaut est 1", - "favoriteList_member_importLdap": "Importer un annuaire LDAP", - "favoriteList_member_ldap": "Adresse de l'annuaire LDAP", - "favoriteList_member_ldap_exemple": "ldap://ldap.domaine.org/ou=companies,o=entreprise?cn,mail?sub?(objectclass=people)\nldaps://login:password@ldap.domaine.org/ou=companies,o=libre-entreprise?cn,mail?sub?(objectclass=people)", - "favoriteList_member_ldap_exemple_label": "Exemple d'adresse LDAP", - "favoriteList_member_ldap_exemple_detail": "Si votre identifiant ou mot de passe contiennent les caractères « : » ou « @ », vous devez les remplacer respectivement par « %3A » et « %40 »", - "favoriteList_member_edit": "Modifier ce membre", - "favoriteList_member_delete": "Supprimer ce membre", - "favoriteList_member_deleteMessage": "Supprimer ce membre ?", - "favoriteList_member_cancel": "Annuler", - "favoriteList_member_save": "Enregistrer", - "favoriteList_member_name": "Nom", - "favoriteList_member_name_placeholder": "Le nom du membre", - "favoriteList_member_email": "Courriel", - "favoriteList_member_email_placeholder": "Le courriel du membre", - "favoriteList_member_weight": "Poids", - "favoriteList_member_ldap_placeholder": "L'adresse de l'annuaire LDAP", - "favoriteList_member_add": "Ajouter", - "favoriteList_childrenLists": "Sous-listes", - "favoriteList_weight": "Poids", - "favoriteList_noChildList": "Aucune sous-listes", - "favoriteList_childList_new": "Nouvelle sous-liste", - "favoriteList_childList": "Sous-liste", - "favoriteList_childList_child": "Sous-liste", - "favoriteList_childList_weight": "Poids", - "favoriteList_childList_cancel": "Annuler", - "favoriteList_childList_save": "Enregistrer", - "favoriteList_childList_add": "Ajouter", - "favoriteList_childList_edit": "Modifier la sous-liste", - "favoriteList_childList_delete": "Retirer la sous-liste", - "favoriteList_childList_deleteMessage": "Retirer la sou-liste ?", - "favoriteList_importFavoriteLists": "Importer des listes de votants", - "favoriteList_import_file": "Fichier à importer", - "favoriteList_import_file_detail": "Le fichier doit être au format JSON", - "favoriteList_import": "Importer", - "error_manager_403": "Erreur : Accès refusé", - "error_manager_500": "Erreur : Service indisponile", - "voterList_new": "Nouveelle liste", - "voterList_edit": "Modifier la liste", - "voterList_name": "Nom", - "voterList_name_error_alreadyExist": "Le Nom existe dèjà dans cette liste", - "voterList_weight": "Poids", - "voterList_main_list": "Liste principale", - "voterList_addMember": "Ajouter un participant", - "voterList_addVoterList": "Ajouter une sous-liste", - "voterList_exportFavoriteList": "Exporter dans une nouvelle liste de votants", - "voterList_importFavoriteList": "Importer une liste de votants", - "voterList_importFavoriteList_none": "Aucune liste de votants enregistrées", - "voterList_delete": "Supprimer la liste", - "voterList_deleteMessage": "Supprimer la liste ?", - "voterList_mainList": "Liste principale du sondage : ", - "voterList_resendInvitation": "Renvoyer une invitation aux participants de cette liste n'ayant pas votés", - "voterList_resendInvitation_success": "invitations sont envoyées", - "voterList_resendInvitation_one": "1 invitation est envoyée", - "voterList_resendInvitation_none": "Tout les participants de cette liste ont votés", - "voterList_member_new": "Nouveau participant", - "voterList_member_edit": "Modifier le participant", - "voterList_member_name": "Nom", - "voterList_member_name_error_alreadyExist": "Le Nom existe dèjà dans cette liste", - "voterList_member_email": "Courriel", - "voterList_member_email_error_alreadyExist": "Le Courriel existe dèjà dans cette liste", - "voterList_member_weight": "Poids", - "voterList_member_delete": "Supprimer le participant", - "voterList_member_deleteMessage": "Supprimer le participant ?", - "voterList_member_resendInvitation": "Renvoyer une invitation", - "voterList_member_resendInvitation_success": "L'invitation est envoyée", - "modal_cancel": "Annuler", - "modal_ok": "Ok", - "confirm_cancel": "Annuler", - "confirm_delete": "Supprimer", - "information_ok": "Ok", - "report_title": "Signaler !", - "report_add_title": "Signaler comme inapproprié !", - "report_add_action": "Signaler", - "report_level": "Que souhaitez-vous signaler ?", - "report_level_spam": "Spam", - "report_level_spam_detail": "Un Spam ou une publicité", - "report_level_off_topic": "Hors-sujet", - "report_level_off_topic_detail": "Un contenu hors-sujet", - "report_level_illegal": "Illégal", - "report_level_illegal_detail": "Un contenu manifestement illégal", - "report_email": "Votre courriel", - "report_email_placeholder": "Votre-courriel@exemple.com", - "report_count": "Signalement", - "report_score": "Score", - "report_reports_title": "Signalements", - "report_toIgnore": "Ignorer", - "report_toEnable": "Ré-activer", - "report_ignores": "Ignorés", - "feedback_title": "Envoyer un bug, une remarque", - "feedback_detail": "Si vous voyez un bug ou si vous avez simplement une remarque à faire, remplissez ce formulaire pour nous faire parvenir votre avis. N'hésitez pas à en abuser !", - "feedback_category": "Catégorie", - "feedback_category_bug": "Bug", - "feedback_category_ergonomics": "Ergonomie", - "feedback_category_other": "Autres", - "feedback_description": "Merci de détailler ci-dessous votre rapport de bug ou votre remarque", - "feedback_descriptionNotBlank": "La description ne doit pas être blanc", - "feedback_uploadScreenShot": "Copie d'écran", - "feedback_create_success": "La remarque est envoyée." - }, - "en": { - "main_pollen_title": "Pollen - ", - "main_home" : "Poll app", - "main_signup" : "Registration", - "main_signcheck" : "Account validation", - "main_createdPolls" : "My polls", - "main_invitedPolls" : "My invitations", - "main_participatedPolls" : "My participations", - "main_admin_polls" : "All the polls", - "main_admin_users" : "The users", - "main_newPoll" : "New poll", - "main_editPoll" : "Poll edition", - "main_userProfile" : "My profile", - "main_favoriteLists" : "List of favorites", - "pagination_all": "All", - "pagination_resultsPerPage": "Results per page", - "summary_choices": "Choices", - "summary_voteCountingType": "Poll type", - "summary_dates": "Dates", - "summary_addingChoices": "Choice adding", - "summary_voting": "Open", - "summary_fromDate": "from", - "summary_toDate": "to", - "summary_administrate": "Administrate the poll", - "summary_sharing": "Sharing", - "summary.shareByQR": "Show the QR Code to go to the poll", - "summary.shareByEmail": "Send invitations by email", - "summary_invitations": "Number of invitations to vote sent by email:", - "summary_vote": "Vote", - "summary_members": "Participants", - "summary_membersNb": "participants received an email with a link to vote.", - "poll_403": "Error : the poll is not available", - "poll_tab_votes": "Votes", - "poll_summaryTab": "Summary", - "poll_settings": "Settings", - "poll_closePoll": "Close poll", - "poll_reopenPoll": "Reopen poll", - "poll_clonePoll": "Clone poll", - "poll_deletePoll": "Delete poll", - "poll_editPoll": "Edit poll", - "poll_tab_results": "Results", - "poll_CLOSED": "Closed", - "poll_ADDING_CHOICES": "Adding choices", - "poll_VOTING": "Voting", - "poll_CREATED": "Created", - "poll_createdBy": "Author", - "poll_voteCountingType": "Poll type: ", - "poll_beginChoiceFrom": "add choice from", - "poll_votingFrom": "Start date:", - "poll_votingTo": "End date:", - "poll_beginChoiceTo": "add choice to", - "poll_noChoice": "no choice", - "poll_choice": "choice", - "poll_choices": "choices", - "poll_noVote": "no vote", - "poll_vote": "vote", - "poll_votes": "votes", - "poll_subscribers": "subscribers", - "poll_participants": "participants", - "poll_participation": "of participation", - "poll_closedFrom": "Closing from", - "poll_urlForAdmin" : "Administrate poll with this address", - "poll_urlForVote" : "Invited new participants with this address", - "poll_urlForEditVote" : "Vote saved, you can modify it using this address when you are not connected: ", - "poll_qrcode": "Show a QR code to share the poll", - "poll_rss": "Subscribe to the poll stream", - "poll_print": "Print the page", - "poll_results_noResult": "Results are not yet available.", - "poll_results_title": "Results", - "poll_results_ranks": "Ranks", - "poll_results_choices": "Choices", - "poll_results_results": "Results", - "poll_results_unit_1_one": "vote", - "poll_results_unit_1_many": "votes", - "poll_results_unit_2_one": "%", - "poll_results_unit_2_many": "%", - "poll_results_unit_3_one": "battle", - "poll_results_unit_3_many": "battles", - "poll_results_unit_4_one": "", - "poll_results_unit_4_many": "", - "poll_results_unit_5_one": "point", - "poll_results_unit_5_many": "points", - "poll_results_unit_6_one": "vote", - "poll_results_unit_6_many": "votes", - "poll_results_unit_7_one": "vote", - "poll_results_unit_7_many": "votes", - "poll_results_borda_title": "Score table", - "poll_results_borda_ranks": "Ranks", - "poll_results_borda_points": "Points", - "poll_results_borda_total": "Total", - "poll_results_condorcet_title": "Battle table", - "poll_results_condorcet_total": "Total", - "poll_results_instantRunoff_title": "Eliminations table", - "poll_results_instantRunoff_rounds": "Rounds", - "poll_results_coombs_title": "Eliminations table", - "poll_results_coombs_rounds": "Rounds", - "poll_results_coombs_ranks": "Ranks", - "poll_results_coombs_firstRank": "First", - "poll_results_coombs_lastRank": "Last", - "poll_comments_one": "Comment", - "poll_comments_many": "Comments", - "poll_comments_noComment": "No comment.", - "poll_comments_title": "Comments", - "poll_comments_sendComment": "Send", - "poll_comments_addComment": "Add a comment", - "poll_comments_authorPlaceholder": "Fill your name", - "poll_comments_textPlaceholder": "Fill your comment", - "poll_comments_cancelEditComment": "Cancel", - "poll_comments_deleteComment" : "Delete", - "poll_comments_updateComment": "Save", - "poll_comments_close": "Close", - "poll_comments_sort_asc": "Sort from newest to oldest", - "poll_comments_sort_desc": "Sort from oldest to newest", - "poll_comments_goToEnd": "Go to end", - "poll_comments_goToStart": "Go to start", - "poll_comments_delete": "Delete", - "poll_comments_edit": "Edit", - "poll_voteStart": "Votes are started, some options can't be updated.", - "poll_votes_title": "Votes", - "poll_votes_deleteVote": "Delete vote?", - "poll_votes_anonymousVoter": "Anonymous", - "poll_votes_authorPlaceHolder": "Fill your name", - "poll_votes_toVote": "Vote", - "poll_votes_validateEdition": "Validate", - "poll_votes_cancelEdition": "Cancel", - "poll_votes_tooManyChoicesSelected": "Too many choices selected. Maximum:", - "poll_votes_addChoice": "Add choice", - "poll_votes_choices": "Choices", - "poll_votes_delete": "Delete vote?", - "poll_votes_results": "Results", - "poll_votes_noVote": "No vote", - "poll_votes_results_unit_1_one": "vote", - "poll_votes_results_unit_1_many": "votes", - "poll_votes_results_unit_2_one": "%", - "poll_votes_results_unit_2_many": "%", - "poll_votes_results_unit_3_one": "battle", - "poll_votes_results_unit_3_many": "battles", - "poll_votes_results_unit_4_one": "", - "poll_votes_results_unit_4_many": "", - "poll_votes_results_unit_5_one": "point", - "poll_votes_results_unit_5_many": "points", - "poll_votes_results_unit_6_one": "vote", - "poll_votes_results_unit_6_many": "votes", - "poll_votes_results_unit_7_one": "vote", - "poll_votes_results_unit_7_many": "votes", - "poll_votes_voteNotOpen": "Votes are not open.", - "polls_createdPolls": "My polls", - "polls_assignPollToMe": "Link a poll to my account", - "polls_assignPollToMe_title": "Link the poll", - "polls_assignPollToMe_desc": "If you created a poll without being connected, you can link it to your account by fillin the form below with the administration url of the poll.", - "polls_assignSuccessMessage": "The poll \"{0}\" has successfully been linked to your account:", - "polls_alreadyAssignMessage": "Th poll is already linked to your account", - "polls_invitedPolls": "My invitations", - "polls_participatedPolls": "My participations", - "polls_polls": "All polls", - "polls_name": "Name", - "polls_sort": "Sort by", - "polls_noPoll": "No poll", - "polls_one": "poll", - "polls_many": "polls", - "signup_title": "Create an account", - "signup_email": "Email", - "signup_email_placeholder": "Enter your email", - "signup_name": "User name", - "signup_name_placeholder": "Enter your name", - "signup_password": "Password", - "signup_password_placeholder": "Enter you password", - "signup_repeat_password": "Password confirmation", - "signup_repeat_password_placeholder": "Confirm your password", - "signup_repeat_password_error": "The two passwords are not identical.", - "signup_validate": "Create", - "signup_resendValidation": "Already member, but account never validated ?", - "signup_error": "Could not register account.", - "signup_error_email": "This email is already used.", - "signup_createAccount_title": "Your account was created", - "signup_createAccount_message": "We sent you an email with the account validation process.", - "signup_createAccount_action": "Continue", - "signcheck_title": "Validate your account", - "signcheck_signin": "Sign in", - "signcheck_resendValidation": "Send a new invitation", - "signcheck_message": "Your account must be validate before you can connect.", - "signcheck_validating": "Your account is validating...", - "signcheck_validating_error": "Your account could not be validated, try to send a new invitation.", - "signcheck_validating_success": "Your account was validated! You can now sign in. Enjoy!", - "resendvalidation_title": "Send another validation email", - "resendvalidation_cancel": "Cancel", - "resendvalidation_action": "Send again", - "resendvalidation_sent": "A new invitation email was sent", - "resendvalidation_placeholder": "Fill your email", - "resendvalidation_error_emailNotFound": "Your email was not found", - "signin_title": "Connexion", - "signin_login": "Email", - "signin_login_placeholder": "Enter your email", - "signin_password": "Password", - "signin_password_placeholder": "Enter your password", - "signin_lostpassword": "Lost password?", - "signin_connexion": "Connect", - "signin_error_signin_emailOrPasswordInvalid": "Email or password invalid", - "signin_error_signin_banned": "Bloked account", - "signin_error_signin_emailNotValidated": "You must validate your account before connecting. Check your emails, we sent you an activation link.", - "newpassword_placeholder": "Fill your email", - "newpassword_title": "Get a new password", - "newpassword_action": "Send password", - "newpassword_error_emailNotFound": "Your email was not found", - "newpassword_sent": "A new password was sent", - "footer_doc": "Pollen 2.0", - "footer_download": "Download", - "footer_contact": "Contact us", - "footer_participate": "Get involved!", - "footer_license": "Licence", - "header_signin": "SignIn", - "header_signup": "SignUp", - "header_signout": "Disconnect", - "header_home": "Home", - "header_i18n_lang": "Language", - "header_myProfile": "My profile", - "header_myPolls": "My polls", - "header_myInvitedPolls": "Invited polls", - "header_myParticipatedPolls": "Participated polls", - "header_feedback": "Bug, observation ?", - "header_newPoll" : "Nouveau sondage", - "header_polls": "Polls", - "header_users": "Users", - "header_myFavoriteLists": "My favorite lists", - "header_createOtherPoll": "New standard poll", - "header_createDatePoll": "New date poll", - "poll_creationSuccess": "Your poll {0} has been successfully created.", - "poll_saveSuccess": "Your poll {0} has been successfully saved.", - "poll_description_cancel": "Cancel", - "poll_description_next": "Next", - "poll_description_info": "Information", - "poll_description_title": "Title", - "poll_description_titlePlaceHolder": "Enter poll title", - "poll_description_titleNotBlank": "Title must be not blank", - "poll_description_description": "Description", - "poll_description_descriptionPlaceHolder": "Enter poll description", - "poll_description_user": "Creator", - "poll_description_name": "Your name", - "poll_description_namePlaceHolder": "Enter your name", - "poll_description_nameNotBlank": "Name nust be not blank", - "poll_description_email": "Your email", - "poll_description_emailPlaceHolder": "Enter your email", - "poll_settings_basic_usage": "For a basic poll, you can skip this step.", - "poll_settings_use_basic_usage": "Use the default options", - "poll_settings_previous": "Previous", - "poll_settings_next": "Continue", - "poll_settings_skip": "Skip", - "poll_settings_save": "Save", - "poll_settings_pollIsClosed": "Poll is closed, you can't edit it any longer.", - "poll_settings_showOptions": "Show options", - "poll_settings_hideOptions": "Hide options", - "poll_settings_resultVisibility": "Who can see results?", - "poll_settings_resultVisibility_creator": "Only creator", - "poll_settings_resultVisibility_everybody": "Everybody", - "poll_settings_resultVisibility_voter": "Only voters", - "poll_settings_commentVisibility": "Who can see comments?", - "poll_settings_commentVisibility_creator": "Only creator", - "poll_settings_commentVisibility_everybody": "Everybody", - "poll_settings_commentVisibility_voter": "Only voters", - "poll_settings_voteVisibility": "Who can see votes?", - "poll_settings_voteVisibility_anonymous": "Nobody", - "poll_settings_voteVisibility_creator": "Only creator", - "poll_settings_voteVisibility_everybody": "Everybody", - "poll_settings_voteVisibility_voter": "Only voters", - "poll_settings_nav_poll": "Poll", - "poll_settings_nav_votePeriod": "Vote period", - "poll_settings_nav_result": "Results", - "poll_settings_nav_voters": "Voters", - "poll_settings_nav_resultVisibility": "Visibility", - "poll_settings_nav_continuousResult": "Continuous", - "poll_settings_nav_choices": "Choices", - "poll_settings_nav_addChoices": "Add choices", - "poll_settings_nav_limitChoices": "Limit choices", - "poll_settings_nav_votes": "Votes", - "poll_settings_nav_voteCountingType": "Vote counting type", - "poll_settings_nav_voteVisibility": "Visibility", - "poll_settings_nav_anonymousVote": "Anomize", - "poll_settings_nav_comments": "Comments", - "poll_settings_nav_commentVisibility": "Visibility", - "poll_settings_poll_configuration": "Poll configuration", - "poll_settings_nav_pollTitle": "Title", - "poll_settings_nav_pollDescription": "Description", - "poll_settings_votersConfiguration": "Voters configuration", - "poll_settings_voters": "Fill voters separated by space", - "poll_settings_nav_votersPrivacy": "Who can vote?", - "poll_settings_resultsConfiguration": "Results configuration", - "poll_settings_continuousResult": "Use continuous results", - "poll_settings_choicesConfiguration": "Choices configuration", - "poll_settings_addChoices": "add choices by users", - "poll_settings_limitChoices": "Limit number of choices to use on a vote", - "poll_settings_votesConfiguration": "Votes configuration", - "poll_settings_voteCountingType": "Vote counting type used to compute poll's results.", - "poll_settings_voteCountingType_normal": "Normal", - "poll_settings_voteCountingType_pourcentage": "Pourcentage", - "poll_settings_voteCountingType_condorcet": "Condorcet", - "poll_settings_anonymousVote": "Anonymize votes", - "poll_settings_commentsConfiguration": "Comments configuration", - "poll_settings_votePeriod": "Voting period", - "poll_settings_help": "Help", - "poll_settings_beginDate": "Voting from", - "poll_settings_endDate": "to", - "poll_settings_beginChoiceDate": "Add choices from", - "poll_settings_endChoiceDate": "to", - "poll_settings_maxChoiceNumber": "Maximum number of choices", - "poll_settings_freePoll": "Everybody can vote (Public poll)", - "poll_settings_restrictedPoll": "Only invited people can vote (Private poll)", - "poll_settings_restrictedPoll_withMe": "I also want to participate", - "poll_settings_notification": "Receive notifications:", - "poll_settings_notification_disabled": "To enable the notifications, you need to enter you email address in the 'Description' part.", - "poll_settings_voteNotification": "For every action on the votes", - "poll_settings_commentNotification": "For every action on the comments", - "poll_settings_newChoiceNotification": "For every new choice added", - "poll_settings_notifyMeBeforePollEnds": "Receive a notification before the end of the votes", - "poll_settings_notifyMeBeforePollEnds_disabled": "To enable the notifications, you need to enter you email address in the 'Description' part, and select an end date for the poll by enabling the vote opening period.", - "poll_settings_notifyMeHoursBeforePollEnds": "How many hours before?", - "poll_choices_title": "Choices List", - "poll_choices_label": "Choice", - "poll_choices_description": "Description", - "poll_choices_previous": "Previous", - "poll_choices_next": "Next", - "poll_choices_save": "Save", - "poll_choices_moreChoices": "Add more choices", - "poll_choices_moreChoice": "Add one choice", - "poll_choices_choicePeriod": "Add choices", - "poll_step_general": "General", - "poll_step_choices": "Choices", - "poll_step_options": "Options", - "poll_step_voters": "Voters", - "poll_voters_description": "Who can vote?", - "poll_voters_previous": "Previous", - "poll_voters_save": "Save", - "poll_voters_freePoll": "Everybody can vote (Public poll)", - "poll_voters_restrictedPoll": "Only invited people can vote (Private poll)", - "poll_voters_restrictedPoll_withMe": "I also want to participate", - "poll_voters_restrictedPoll_participants": "Poll participants", - "poll_voters_restrictedPoll_withGroup": "Organize participants in groups", - "poll_voters_invite": "Invite people to vote", - "poll_voters_already_invite_label": "Participants already invited", - "poll_voters_new_invite_label": "Type participants emails separated by space", - "poll_created_title": "Poll created", - "poll_created_message": "The poll was created. An email was sent to you and declared voters.", - "poll_created_edit": "To manage the poll, please use following link", - "poll_created_vote": "To vote on poll, please use following link", - "poll_created_editUrl": "Manage poll", - "poll_created_voteUrl": "Vote on poll", - "users_title": "All users", - "users_noUser": "No user", - "users_one": "user", - "users_many": "users", - "user_banned": "banned", - "user_emailValidate": "email validation waiting", - "user_emailIsValidate": "email validate", - "user_administrator": "Administrator", - "user_edit": "Edit user", - "user_ban": "Ban", - "user_banUser": "Ban user", - "user_banUserMessage": "Ban user ?", - "user_deleteUser": "Delete user", - "user_deleteUserMessage": "Delete user ?", - "user_name": "Name", - "user_email": "Email", - "user_cancel": "Cancel", - "user_save": "Save", - "userProfile_title": "My profile", - "userProfile_identity": "Identity", - "userProfile_name": "Name", - "userProfile_name_placeholder": "Enter your user name", - "userProfile_email": "Email", - "userProfile_email_placeholder": "Enter your email", - "userProfile_emailValidate": "Validate", - "userProfile_emailValidationWaiting": "Validation wainting", - "userProfile_resendValidation": "Send a new invitation", - "userProfile_saveIdentity": "Save", - "userProfile_passwordChange": "Password change", - "userProfile_oldPassword": "Old password", - "userProfile_oldPassword_placeholder": "Enter your old password", - "userProfile_newPassword": "New password", - "userProfile_newPassword_placeholder": "Enter your new password", - "userProfile_repeatPassword": "New password confirmation", - "userProfile_repeatPassword_placeholder": "Confirm your new password", - "userProfile_repeatPassword_error": "The two passwords are not identical.", - "userProfile_savePassword": "Save", - "choice_description_placeholder": "You can enter a description for this choice", - "date-picker_today": "Today", - "date-picker_dateplaceholder": "Date", - "time-picker_timeplaceholder": "Time", - "choice_text": "Set a text", - "choice_text_notBlank": "text must be not blank", - "choice_ressource": "Use image", - "choice_addFile": "Add image", - "choice_date": "Set a date", - "choice_time": "add hours to date", - "choice_description": "add description", - "choice_download": "Download", - "choice_fileSizeMax_title": "File to big", - "choice_fileSizeMax_message": "File \"{0}\" for size {1} can't be over {2}.", - "favoriteList_title": "My favorite lists", - "favoriteList_one": "favorite list", - "favoriteList_many": "favorite lists", - "favoriteList_addFavoriteList": "Add new favorite list", - "favoriteList_export": "Export favorite lists", - "favoriteList_children": "sub-lists", - "favoriteList_child": "sub-list", - "favoriteList_members": "members", - "favoriteList_member": "member", - "favoriteList_noMember": "No membre", - "favoriteList_new": "New list", - "favoriteList_edit": "Edit this list", - "favoriteList_name": "Name", - "favoriteList_name_placdeholder": "Enter new list name", - "favoriteList_add": "Add", - "search_label": "Search", - "favoriteList_sort": "Sort by", - "favoriteList_createDate": "Creation Date", - "favoriteList_email": "Email", - "favoriteList_noFavoriteList": "no favorite list", - "favoriteList_cancel": "Cancel", - "favoriteList_back": "Back", - "favoriteList_save": "Save", - "favoriteList_delete": "Delete", - "favoriteList_deleteMessage": "Delete favorite list ?", - "favoriteList_loading": "Loading...", - "favoriteList_member_new": "New member", - "favoriteList_member_import": "Import", - "favoriteList_member_importCsv": "Import from CSV file", - "favoriteList_member_csvFile": "members file", - "favoriteList_member_csvFile_exemple": "# Email Name\nsmith@domain.uk John Smith \npseudo@yellow.uk Mathieu Anderson \nmiller@courriel.com William Miller ", - "favoriteList_member_csvFile_exemple_label": "file example", - "favoriteList_member_csvFile_exemple_detail": "If weight is mising, default value is 1", - "favoriteList_member_importLdap": "Import from LDAP repository", - "favoriteList_member_ldap": "LDAP repository address", - "favoriteList_member_ldap_exemple": "ldap://ldap.domaine.org/ou=companies,o=entreprise?cn,mail?sub?(objectclass=people)\nldaps://login:password@ldap.domaine.org/ou=companies,o=libre-entreprise?cn,mail?sub?(objectclass=people)", - "favoriteList_member_ldap_exemple_label": "LDAP example", - "favoriteList_member_ldap_exemple_detail": "If your login ou password contains characters \":\" or \"@\", you must remplace by \"%3A\" and \"%40\"", - "favoriteList_member_edit": "Edit member", - "favoriteList_member_delete": "Delete Member", - "favoriteList_member_deleteMessage": "Delete member ?", - "favoriteList_member_cancel": "Cancel", - "favoriteList_member_save": "Save", - "favoriteList_member_name": "Name", - "favoriteList_member_name_placeholder": "Member name", - "favoriteList_member_email": "Email", - "favoriteList_member_email_placeholder": "Member email", - "favoriteList_member_weight": "Weight", - "favoriteList_member_ldap_placeholder": "LDAP repository address", - "favoriteList_member_add": "Add", - "favoriteList_childrenLists": "Sub-lists", - "favoriteList_weight": "Weight", - "favoriteList_noChildList": "No sub-lists", - "favoriteList_childList_new": "New sud-list", - "favoriteList_childList": "Sub-list", - "favoriteList_childList_child": "Sub-list", - "favoriteList_childList_weight": "Weight", - "favoriteList_childList_cancel": "Cancel", - "favoriteList_childList_save": "Save", - "favoriteList_childList_add": "Ajouter", - "favoriteList_childList_edit": "Edit sub-list", - "favoriteList_childList_delete": "Remove sub-list", - "favoriteList_childList_deleteMessage": "Remove sub-list ?", - "favoriteList_importFavoriteLists": "Import favorite lists", - "favoriteList_import_file": "Import file", - "favoriteList_import_file_detail": "File must be in JSON format", - "favoriteList_import": "Import", - "error_manager_403": "Error: Forbidden access", - "error_manager_500": "Error: Service unavailable", - "voterList_name": "Name", - "voterList_weight": "Weight", - "voterList_addMember": "Add member", - "voterList_addVoterList": "Add sub-list", - "voterList_exportFavoriteList": "Export to new favorite list", - "voterList_importFavoriteList": "Import favorite list", - "voterList_importFavoriteList_none": "None favorite list saved", - "voterList_mainList": "Poll main list : ", - "voterList_resendInvitation": "Resend an invitation to member of this list who not voting", - "voterList_resendInvitation_success": "invitations send", - "voterList_resendInvitation_one": "1 invitation send", - "voterList_resendInvitation_none": "All member of this liste has voting", - "voterList_delete": "Delete list", - "voterList_deleteMessage": "Delete list ?", - "voterList_member_name": "Name", - "voterList_member_email": "Email", - "voterList_member_weight": "Weight", - "voterList_member_delete": "Delete member", - "voterList_member_deleteMessage": "Delete member ?", - "voterList_member_resendInvitation": "Resent a invitation", - "voterList_member_resendInvitation_success": "invitation send", - "modal_cancel": "Cancel", - "modal_ok": "Ok", - "confirm_cancel": "Cancel", - "confirm_delete": "Delete", - "information_ok": "Ok", - "report_title": "Report !", - "report_add_title": "Report as inappropriate !", - "report_add_action": "Report", - "report_level": "What whould you report ?", - "report_level_spam": "Spam", - "report_level_spam_detail": "A Spam or advertising", - "report_level_off_topic": "Oft topic", - "report_level_off_topic_detail": "A off topic content", - "report_level_illegal": "Illegal", - "report_level_illegal_detail": "A manifestly illegal content", - "report_email": "Your email", - "report_email_placeholder": "your-email@exemple.com", - "report_count": "Reporting", - "report_score": "Score", - "report_reports_title": "Reports", - "report_toIgnore": "Ignore", - "report_toEnable": "Enable", - "report_ignores": "Ignores", - "feedback_title": "Send a bug, an observation", - "feedback_detail": "If you see a bug or if you have an obvervation to do, set this form for send your opinon. Do not hesitate to abuse it !", - "feedback_category": "Category", - "feedback_category_bug": "Bug", - "feedback_category_ergonomics": "Ergonomics", - "feedback_category_other": "Others", - "feedback_description": "Thank to details below your bug report ou your observation", - "feedback_descriptionNotBlank": "Observation must be not blank", - "feedback_uploadScreenShot": "Screenshot", - "feedback_create_success": "Observation has benn send." - } -} diff --git a/pollen-ui-riot-js/src/main/web/i18n/en.json b/pollen-ui-riot-js/src/main/web/i18n/en.json new file mode 100644 index 00000000..16119427 --- /dev/null +++ b/pollen-ui-riot-js/src/main/web/i18n/en.json @@ -0,0 +1,536 @@ +{ + "main_pollen_title": "Pollen - ", + "main_home" : "Poll app", + "main_signup" : "Registration", + "main_signcheck" : "Account validation", + "main_createdPolls" : "My polls", + "main_invitedPolls" : "My invitations", + "main_participatedPolls" : "My participations", + "main_admin_polls" : "All the polls", + "main_admin_users" : "The users", + "main_newPoll" : "New poll", + "main_editPoll" : "Poll edition", + "main_userProfile" : "My profile", + "main_favoriteLists" : "List of favorites", + "pagination_all": "All", + "pagination_resultsPerPage": "Results per page", + "summary_choices": "Choices", + "summary_voteCountingType": "Poll type", + "summary_dates": "Dates", + "summary_addingChoices": "Choice adding", + "summary_voting": "Open", + "summary_fromDate": "from", + "summary_toDate": "to", + "summary_administrate": "Administrate the poll", + "summary_sharing": "Sharing", + "summary_shareByQR": "Show the QR Code to go to the poll", + "summary_shareByEmail": "Send invitations by email", + "summary_invitations": "Number of invitations to vote sent by email:", + "summary_vote": "Vote", + "summary_members": "Participants", + "summary_membersNb": "participants received an email with a link to vote.", + "poll_403": "Error : the poll is not available", + "poll_newPoll": "New poll", + "poll_closePoll": "Close poll", + "poll_reopenPoll": "Reopen poll", + "poll_clonePoll": "Clone poll", + "poll_deletePoll": "Delete poll", + "poll_editPoll": "Edit poll", + "poll_creationSuccess": "Your poll {0} has been successfully created.", + "poll_saveSuccess": "Your poll {0} has been successfully saved.", + "poll_tab_votes": "Votes", + "poll_summaryTab": "Summary", + "poll_settings": "Settings", + "poll_tab_results": "Results", + "poll_CLOSED": "Closed", + "poll_ADDING_CHOICES": "Adding choices", + "poll_VOTING": "Voting", + "poll_CREATED": "Created", + "poll_createdBy": "Author", + "poll_voteCountingType": "Poll type: ", + "poll_dateVotes": "Voting period", + "poll_dateAddChoices": "Adding choices period", + "poll_dateFrom": "From", + "poll_dateFromNoEnd": "From", + "poll_dateTo": "To", + "poll_noChoice": "no choice", + "poll_choice": "choice", + "poll_choices": "choices", + "poll_noVote": "no vote", + "poll_vote": "vote", + "poll_votes": "votes", + "poll_subscribers": "subscribers", + "poll_participants": "participants", + "poll_participation": "of participation", + "poll_closedFrom": "Closing from", + "poll_urlForAdmin" : "Administrate poll with this address", + "poll_urlForVote" : "Invited new participants with this address", + "poll_urlForEditVote" : "Vote saved, you can modify it using this address when you are not connected: ", + "poll_qrcode": "Show a QR code to share the poll", + "poll_rss": "Subscribe to the poll stream", + "poll_print": "Print the page", + "poll_results_title": "Results", + "poll_results_noResult": "Results are not yet available.", + "poll_results_ranks": "Ranks", + "poll_results_choices": "Choices", + "poll_results_results": "Results", + "poll_results_unit_1_one": "vote", + "poll_results_unit_1_many": "votes", + "poll_results_unit_2_one": "%", + "poll_results_unit_2_many": "%", + "poll_results_unit_3_one": "battle", + "poll_results_unit_3_many": "battles", + "poll_results_unit_4_one": "", + "poll_results_unit_4_many": "", + "poll_results_unit_5_one": "point", + "poll_results_unit_5_many": "points", + "poll_results_unit_6_one": "vote", + "poll_results_unit_6_many": "votes", + "poll_results_unit_7_one": "vote", + "poll_results_unit_7_many": "votes", + "poll_results_borda_title": "Score table", + "poll_results_borda_ranks": "Ranks", + "poll_results_borda_points": "Points", + "poll_results_borda_total": "Total", + "poll_results_condorcet_title": "Battle table", + "poll_results_condorcet_total": "Total", + "poll_results_instantRunoff_title": "Eliminations table", + "poll_results_instantRunoff_rounds": "Rounds", + "poll_results_coombs_title": "Eliminations table", + "poll_results_coombs_rounds": "Rounds", + "poll_results_coombs_ranks": "Ranks", + "poll_results_coombs_firstRank": "First", + "poll_results_coombs_lastRank": "Last", + "poll_comments_one": "Comment", + "poll_comments_many": "Comments", + "poll_comments_noComment": "No comment.", + "poll_comments_title": "Comments", + "poll_comments_sendComment": "Send", + "poll_comments_authorPlaceholder": "Fill your name", + "poll_comments_textPlaceholder": "Fill your comment", + "poll_comments_cancelEditComment": "Cancel", + "poll_comments_deleteComment" : "Delete", + "poll_comments_updateComment": "Save", + "poll_comments_close": "Close", + "poll_comments_sort_asc": "Sort from newest to oldest", + "poll_comments_sort_desc": "Sort from oldest to newest", + "poll_comments_goToEnd": "Go to end", + "poll_comments_goToStart": "Go to start", + "poll_comments_delete": "Delete", + "poll_comments_edit": "Edit", + "poll_voteStart": "Votes are started, some options can't be updated.", + "poll_votes_title": "Votes", + "poll_votes_deleteVote": "Delete vote?", + "poll_votes_anonymousVoter": "Anonymous", + "poll_votes_authorPlaceHolder": "Fill your name", + "poll_votes_toVote": "Vote", + "poll_votes_validateEdition": "Validate", + "poll_votes_cancelEdition": "Cancel", + "poll_votes_tooManyChoicesSelected": "Too many choices selected. Maximum:", + "poll_votes_addChoice": "Add choice", + "poll_votes_choices": "Choices", + "poll_votes_delete": "Delete vote?", + "poll_votes_results": "Results", + "poll_votes_noVote": "No vote", + "poll_votes_results_unit_1_one": "vote", + "poll_votes_results_unit_1_many": "votes", + "poll_votes_results_unit_2_one": "%", + "poll_votes_results_unit_2_many": "%", + "poll_votes_results_unit_3_one": "battle", + "poll_votes_results_unit_3_many": "battles", + "poll_votes_results_unit_4_one": "", + "poll_votes_results_unit_4_many": "", + "poll_votes_results_unit_5_one": "point", + "poll_votes_results_unit_5_many": "points", + "poll_votes_results_unit_6_one": "vote", + "poll_votes_results_unit_6_many": "votes", + "poll_votes_results_unit_7_one": "vote", + "poll_votes_results_unit_7_many": "votes", + "poll_votes_voteNotOpen": "Votes are not open.", + "polls_createdPolls": "My polls", + "polls_assignPollToMe": "Link a poll to my account", + "polls_assignPollToMe_title": "Link the poll", + "polls_assignPollToMe_desc": "If you created a poll without being connected, you can link it to your account by fillin the form below with the administration url of the poll.", + "polls_assignSuccessMessage": "The poll \"{0}\" has successfully been linked to your account:", + "polls_alreadyAssignMessage": "Th poll is already linked to your account", + "polls_invitedPolls": "My invitations", + "polls_participatedPolls": "My participations", + "polls_polls": "All polls", + "polls_name": "Name", + "polls_sort": "Sort by", + "polls_noPoll": "No poll", + "polls_one": "poll", + "polls_many": "polls", + "signup_title": "Create an account", + "signup_email": "Email", + "signup_email_placeholder": "Enter your email", + "signup_name": "User name", + "signup_name_placeholder": "Enter your name", + "signup_password": "Password", + "signup_password_placeholder": "Enter you password", + "signup_repeat_password": "Password confirmation", + "signup_repeat_password_placeholder": "Confirm your password", + "signup_repeat_password_error": "The two passwords are not identical.", + "signup_validate": "Create", + "signup_resendValidation": "Already member, but account never validated ?", + "signup_error": "Could not register account.", + "signup_error_email": "This email is already used.", + "signup_createAccount_title": "Your account was created", + "signup_createAccount_message": "We sent you an email with the account validation process.", + "signup_createAccount_action": "Continue", + "resendvalidation_title": "Send another validation email", + "resendvalidation_cancel": "Cancel", + "resendvalidation_action": "Send again", + "resendvalidation_placeholder": "Fill your email", + "resendvalidation_sent": "A new invitation email was sent", + "resendvalidation_error_emailNotFound": "Your email was not found", + "signcheck_title": "Validate your account", + "signcheck_signin": "Sign in", + "signcheck_resendValidation": "Send a new invitation", + "signcheck_message": "Your account must be validate before you can connect.", + "signcheck_validating": "Your account is validating...", + "signcheck_validating_error": "Your account could not be validated, try to send a new invitation.", + "signcheck_validating_success": "Your account was validated! You can now sign in. Enjoy!", + "signin_title": "Connexion", + "signin_login": "Email", + "signin_login_placeholder": "Enter your email", + "signin_password": "Password", + "signin_password_placeholder": "Enter your password", + "signin_lostpassword": "Lost password?", + "signin_connexion": "Connect", + "signin_error_signin_emailOrPasswordInvalid": "Email or password invalid", + "signin_error_signin_banned": "Bloked account", + "signin_error_signin_emailNotValidated": "You must validate your account before connecting. Check your emails, we sent you an activation link.", + "newpassword_title": "Get a new password", + "newpassword_action": "Send password", + "newpassword_placeholder": "Fill your email", + "newpassword_error_emailNotFound": "Your email was not found", + "newpassword_sent": "A new password was sent", + "footer_doc": "Pollen 2.0", + "footer_download": "Download", + "footer_contact": "Contact us", + "footer_participate": "Get involved!", + "footer_license": "Licence", + "header_signin": "SignIn", + "header_signup": "SignUp", + "header_signout": "Disconnect", + "header_home": "Home", + "header_i18n_lang": "Language", + "header_myProfile": "My profile", + "header_myPolls": "My polls", + "header_myInvitedPolls": "Invited polls", + "header_myParticipatedPolls": "Participated polls", + "header_polls": "Polls", + "header_users": "Users", + "header_myFavoriteLists": "My favorite lists", + "header_createOtherPoll": "New standard poll", + "header_createDatePoll": "New date poll", + "header_feedback": "Bug, observation ?", + "header_newPoll" : "New poll", + "poll_cancel": "Cancel", + "poll_description_next": "Next", + "poll_description_info": "Information", + "poll_description_title": "Title", + "poll_description_titlePlaceHolder": "Enter poll title", + "poll_description_titleNotBlank": "Title must be not blank", + "poll_description_description": "Description", + "poll_description_descriptionPlaceHolder": "Enter poll description", + "poll_description_user": "Creator", + "poll_description_name": "Your name", + "poll_description_namePlaceHolder": "Enter your name", + "poll_description_nameNotBlank": "Name nust be not blank", + "poll_description_email": "Your email", + "poll_description_emailPlaceHolder": "Enter your email", + "poll_settings_restricted": "Restricted poll ?", + "poll_settings_basic_usage": "For a basic poll, you can skip this step.", + "poll_settings_use_basic_usage": "Use the default options", + "poll_settings_basic_usage_detail": "Default Pollen offers you : ", + "poll_settings_basic_usage_detail_type": "A majority vote count (the choice with the most votes wins)", + "poll_settings_basic_usage_detail_multi_choices": "Participants can vote for many choices", + "poll_settings_basic_usage_detail_opening": "Voting is open as soon as the poll is created", + "poll_settings_basic_usage_detail_closing": "It can be manually closed by its creator", + "poll_settings_basic_usage_detail_comments": "Everyone can see the votes and comments", + "poll_settings_basic_usage_detail_results": "The results are visible to all and available in continuous", + "poll_settings_basic_usage_detail_notifications": "No notification of vote and no recall of the close end of a poll", + "poll_settings_previous": "Previous", + "poll_settings_next": "Continue", + "poll_settings_skip": "Skip", + "poll_settings_save": "Save", + "poll_settings_pollIsClosed": "Poll is closed, you can't edit it any longer.", + "poll_settings_showOptions": "Show options", + "poll_settings_hideOptions": "Hide options", + "poll_settings_resultVisibility": "Who can see results?", + "poll_settings_resultVisibility_creator": "Only creator", + "poll_settings_resultVisibility_everybody": "Everybody", + "poll_settings_resultVisibility_voter": "Only voters", + "poll_settings_commentVisibility": "Who can see comments?", + "poll_settings_commentVisibility_creator": "Only creator", + "poll_settings_commentVisibility_everybody": "Everybody", + "poll_settings_commentVisibility_voter": "Only voters", + "poll_settings_voteVisibility": "Who can see votes ?", + "poll_settings_voteVisibility_anonymous": "Nobody", + "poll_settings_voteVisibility_creator": "Only creator", + "poll_settings_voteVisibility_everybody": "Everybody", + "poll_settings_voteVisibility_voter": "Only voters", + "poll_settings_nav_poll": "Poll", + "poll_settings_nav_result": "Results", + "poll_settings_nav_voters": "Voters", + "poll_settings_nav_votePeriod": "Vote period", + "poll_settings_nav_resultVisibility": "Visibility", + "poll_settings_nav_continuousResult": "Continuous", + "poll_settings_nav_choices": "Choices", + "poll_settings_nav_addChoices": "Add choices", + "poll_settings_nav_limitChoices": "Limit choices", + "poll_settings_nav_votes": "Votes", + "poll_settings_nav_voteCountingType": "Vote counting type", + "poll_settings_nav_voteVisibility": "Visibility", + "poll_settings_nav_anonymousVote": "Anomize", + "poll_settings_nav_comments": "Comments", + "poll_settings_nav_commentVisibility": "Visibility", + "poll_settings_nav_notification": "Notifications", + "poll_settings_poll_configuration": "Poll configuration", + "poll_settings_continuousResult": "Use continuous results", + "poll_settings_choicesConfiguration": "Choices configuration", + "poll_settings_votersConfiguration": "Voters configuration", + "poll_settings_voters": "Fill voters separated by space", + "poll_settings_addChoices": "add choices by users", + "poll_settings_limitChoices": "Limit number of choices to use on a vote", + "poll_settings_votesConfiguration": "Votes configuration", + "poll_settings_voteCountingType": "Vote counting type used to compute poll's results.", + "poll_settings_voteCountingType_normal": "Normal", + "poll_settings_voteCountingType_pourcentage": "Pourcentage", + "poll_settings_voteCountingType_condorcet": "Condorcet", + "poll_settings_anonymousVote": "Anonymize votes", + "poll_settings_commentsConfiguration": "Comments configuration", + "poll_settings_resultsConfiguration": "Results configuration", + "poll_settings_votePeriod": "Voting period", + "poll_settings_help": "Help", + "poll_settings_beginDate": "Voting from", + "poll_settings_endDate": "to", + "poll_settings_beginChoiceDate": "Add choices from", + "poll_settings_endChoiceDate": "to", + "poll_settings_maxChoiceNumber": "Maximum number of choices", + "poll_settings_freePoll": "Everybody can vote (Public poll)", + "poll_settings_restrictedPoll": "Only invited people can vote (Private poll)", + "poll_settings_restrictedPoll_withMe": "I also want to participate", + "poll_settings_notification": "Receive notifications:", + "poll_settings_notification_disabled": "To enable the notifications, you need to enter you email address in the 'Description' part.", + "poll_settings_voteNotification": "For every action on the votes", + "poll_settings_commentNotification": "For every action on the comments", + "poll_settings_newChoiceNotification": "For every new choice added", + "poll_settings_notifyMeBeforePollEnds": "Receive a notification before the end of the votes", + "poll_settings_notifyMeBeforePollEnds_disabled": "To enable the notifications, you need to enter you email address in the 'Description' part, and select an end date for the poll by enabling the vote opening period.", + "poll_settings_notifyMeHoursBeforePollEnds": "How many hours before?", + "poll_choices_title": "Choices List", + "poll_choices_label": "Choice", + "poll_choices_description": "Description", + "poll_previous": "Previous", + "poll_next": "Next", + "poll_save": "Save", + "poll_choices_moreChoices": "Add more choices", + "poll_choices_moreChoice": "Add one choice", + "poll_choices_choicePeriod": "Add choices", + "poll_step_general": "General", + "poll_step_choices": "Choices", + "poll_step_options": "Options", + "poll_step_voters": "Voters", + "poll_voters_previous": "Previous", + "poll_voters_save": "Save", + "poll_voters_freePoll": "Everybody can vote (Public poll)", + "poll_voters_restrictedPoll": "Only invited people can vote (Private poll)", + "poll_voters_restrictedPoll_withMe": "I also want to participate", + "poll_voters_restrictedPoll_participants": "Poll participants", + "poll_voters_restrictedPoll_withGroup": "Organize participants in groups", + "poll_voters_invite": "Invite people to vote", + "poll_voters_already_invite_label": "Participants already invited", + "poll_voters_new_invite_label": "Type participants emails separated by space", + "poll_created_title": "Poll created", + "poll_created_message": "The poll was created. An email was sent to you and declared voters.", + "poll_created_edit": "To manage the poll, please use following link", + "poll_created_vote": "To vote on poll, please use following link", + "poll_created_editUrl": "Manage poll", + "poll_created_voteUrl": "Vote on poll", + "users_title": "All users", + "users_noUser": "No user", + "users_one": "user", + "users_many": "users", + "user_banned": "banned", + "user_emailValidate": "email validation waiting", + "user_emailIsValidate": "email validate", + "user_administrator": "Administrator", + "user_edit": "Edit user", + "user_ban": "Ban", + "user_banUser": "Ban user", + "user_banUserMessage": "Ban user ?", + "user_deleteUser": "Delete user", + "user_deleteUserMessage": "Delete user ?", + "user_name": "Name", + "user_email": "Email", + "user_cancel": "Cancel", + "user_save": "Save", + "userProfile_title": "My profile", + "userProfile_identity": "Identity", + "userProfile_name": "Name", + "userProfile_name_placeholder": "Enter your user name", + "userProfile_email": "Email", + "userProfile_email_placeholder": "Enter your email", + "userProfile_emailValidate": "Validate", + "userProfile_emailValidationWaiting": "Validation wainting", + "userProfile_resendValidation": "Send a new invitation", + "userProfile_saveIdentity": "Save", + "userProfile_passwordChange": "Password change", + "userProfile_oldPassword": "Old password", + "userProfile_oldPassword_placeholder": "Enter your old password", + "userProfile_newPassword": "New password", + "userProfile_newPassword_placeholder": "Enter your new password", + "userProfile_repeatPassword": "New password confirmation", + "userProfile_repeatPassword_placeholder": "Confirm your new password", + "userProfile_repeatPassword_error": "The two passwords are not identical.", + "userProfile_savePassword": "Save", + "choice_description_placeholder": "You can enter a description for this choice", + "date-picker_today": "Today", + "date-picker_dateplaceholder": "Date", + "time-picker_timeplaceholder": "Time", + "choice_text": "Set a text", + "choice_text_placeholder": "Set a text or select a other type", + "choice_text_notBlank": "text must be not blank", + "choice_ressource": "Use image", + "choice_addFile": "Add image", + "choice_date": "Set a date", + "choice_time": "add hours to date", + "choice_description": "add description", + "choice_download": "Download", + "choice_fileSizeMax_title": "File to big", + "choice_fileSizeMax_message": "File \"{0}\" for size {1} can't be over {2}.", + "favoriteList_title": "My favorite lists", + "favoriteList_one": "favorite list", + "favoriteList_many": "favorite lists", + "favoriteList_addFavoriteList": "Add new favorite list", + "favoriteList_export": "Export favorite lists", + "favoriteList_children": "sub-lists", + "favoriteList_child": "sub-list", + "favoriteList_members": "members", + "favoriteList_member": "member", + "favoriteList_noMember": "No membre", + "favoriteList_new": "New list", + "favoriteList_edit": "Edit this list", + "favoriteList_name": "Name", + "favoriteList_name_placdeholder": "Enter new list name", + "favoriteList_add": "Add", + "search_label": "Search", + "favoriteList_createDate": "Creation Date", + "favoriteList_email": "Email", + "favoriteList_noFavoriteList": "no favorite list", + "favoriteList_cancel": "Cancel", + "favoriteList_back": "Back", + "favoriteList_save": "Save", + "favoriteList_edit": "Edit favorite list", + "favoriteList_delete": "Delete", + "favoriteList_deleteMessage": "Delete favorite list ?", + "favoriteList_loading": "Loading...", + "favoriteList_member_new": "New member", + "favoriteList_member_import": "Import", + "favoriteList_member_importCsv": "Import from CSV file", + "favoriteList_member_csvFile": "members file", + "favoriteList_member_csvFile_exemple": "# Email;Name;weight\nsmith@domain.uk;John Smith;1.00\npseudo@yellow.uk;Mathieu Anderson;4.50\nmiller@courriel.com;William Miller;3.00", + "favoriteList_member_csvFile_exemple_label": "file example", + "favoriteList_member_csvFile_exemple_detail": "If weight is mising, default value is 1", + "favoriteList_member_importLdap": "Import from LDAP repository", + "favoriteList_member_ldap": "LDAP repository address", + "favoriteList_member_ldap_exemple": "ldap://ldap.domaine.org/ou=companies,o=entreprise?cn,mail?sub?(objectclass=people)\nldaps://login:password@ldap.domaine.org/ou=companies,o=libre-entreprise?cn,mail?sub?(objectclass=people)", + "favoriteList_member_ldap_exemple_label": "LDAP example", + "favoriteList_member_ldap_exemple_detail": "If your login ou password contains characters \":\" or \"@\", you must remplace by \"%3A\" and \"%40\"", + "favoriteList_member_edit": "Edit member", + "favoriteList_member_delete": "Delete Member", + "favoriteList_member_deleteMessage": "Delete member ?", + "favoriteList_member_cancel": "Cancel", + "favoriteList_member_save": "Save", + "favoriteList_member_name": "Name", + "favoriteList_member_name_placeholder": "Member name", + "favoriteList_member_email": "Email", + "favoriteList_member_email_placeholder": "Member email", + "favoriteList_member_weight": "Weight", + "favoriteList_member_ldap_placeholder": "LDAP repository address", + "favoriteList_member_add": "Add", + "favoriteList_childrenLists": "Sub-lists", + "favoriteList_weight": "Weight", + "favoriteList_noChildList": "No sub-lists", + "favoriteList_childList_new": "New sud-list", + "favoriteList_childList": "Sub-list", + "favoriteList_childList_child": "Sub-list", + "favoriteList_childList_weight": "Weight", + "favoriteList_childList_cancel": "Cancel", + "favoriteList_childList_save": "Save", + "favoriteList_childList_add": "Add", + "favoriteList_childList_edit": "Edit sub-list", + "favoriteList_childList_delete": "Remove sub-list", + "favoriteList_childList_deleteMessage": "Remove sub-list ?", + "favoriteList_importFavoriteLists": "Import favorite lists", + "favoriteList_import_file": "Import file", + "favoriteList_import_file_detail": "File must be in JSON format", + "favoriteList_import": "Import", + "error_manager_403": "Error: Forbidden access", + "error_manager_500": "Error: Service unavailable", + "voterList_new": "New list", + "voterList_edit": "Edit list", + "voterList_name": "Name", + "voterList_name_error_alreadyExist": "Name already exist in this list", + "voterList_weight": "Weight", + "voterList_main_list": "Main List", + "voterList_addMember": "Add member", + "voterList_addVoterList": "Add sub-list", + "voterList_exportFavoriteList": "Export to new favorite list", + "voterList_importFavoriteList": "Import favorite list", + "voterList_importFavoriteList_none": "None favorite list saved", + "voterList_delete": "Delete list", + "voterList_deleteMessage": "Delete list ?", + "voterList_mainList": "Poll main list : ", + "voterList_resendInvitation": "Resend an invitation to member of this list who not voting", + "voterList_resendInvitation_success": "invitations send", + "voterList_resendInvitation_one": "1 invitation send", + "voterList_resendInvitation_none": "All member of this liste has voting", + "voterList_member_new": "New member", + "voterList_member_edit": "Edit member", + "voterList_member_name": "Name", + "voterList_member_name_error_alreadyExist": "Name already exist in this list", + "voterList_member_email": "Email", + "voterList_member_email_error_alreadyExist": "Email already exist in this list", + "voterList_member_weight": "Weight", + "voterList_member_delete": "Delete member", + "voterList_member_deleteMessage": "Delete member ?", + "voterList_member_resendInvitation": "Resent a invitation", + "voterList_member_resendInvitation_success": "invitation send", + "modal_cancel": "Cancel", + "modal_ok": "Ok", + "confirm_cancel": "Cancel", + "confirm_delete": "Delete", + "information_ok": "Ok", + "report_title": "Report !", + "report_add_title": "Report as inappropriate !", + "report_add_action": "Report", + "report_level": "What whould you report ?", + "report_level_spam": "Spam", + "report_level_spam_detail": "A Spam or advertising", + "report_level_off_topic": "Oft topic", + "report_level_off_topic_detail": "A off topic content", + "report_level_illegal": "Illegal", + "report_level_illegal_detail": "A manifestly illegal content", + "report_email": "Your email", + "report_email_placeholder": "your-email@exemple.com", + "report_count": "Reporting", + "report_score": "Score", + "report_reports_title": "Reports", + "report_toIgnore": "Ignore", + "report_toEnable": "Enable", + "report_ignores": "Ignores", + "feedback_title": "Send a bug, an observation", + "feedback_detail": "If you see a bug or if you have an obvervation to do, set this form for send your opinon. Do not hesitate to abuse it !", + "feedback_category": "Category", + "feedback_category_bug": "Bug", + "feedback_category_ergonomics": "Ergonomics", + "feedback_category_other": "Others", + "feedback_description": "Thank to details below your bug report ou your observation", + "feedback_descriptionNotBlank": "Observation must be not blank", + "feedback_uploadScreenShot": "Screenshot", + "feedback_create_success": "Observation has benn send." +} diff --git a/pollen-ui-riot-js/src/main/web/i18n/fr.json b/pollen-ui-riot-js/src/main/web/i18n/fr.json new file mode 100644 index 00000000..00ac76f8 --- /dev/null +++ b/pollen-ui-riot-js/src/main/web/i18n/fr.json @@ -0,0 +1,536 @@ +{ + "main_pollen_title": "Pollen - ", + "main_home" : "Application de sondage", + "main_signup" : "Inscription", + "main_signcheck" : "Validation du compte", + "main_createdPolls" : "Mes sondages", + "main_invitedPolls" : "Mes invitations", + "main_participatedPolls" : "Mes participations", + "main_admin_polls" : "Tous les sondages", + "main_admin_users" : "Les utilisateurs", + "main_newPoll" : "Nouveau sondage", + "main_editPoll" : "Edition du sondage", + "main_userProfile" : "Mon profil", + "main_favoriteLists" : "Listes de votants", + "pagination_all": "Tous", + "pagination_resultsPerPage": "Résultats par page", + "summary_choices": "Choix", + "summary_voteCountingType": "Type de sondage", + "summary_dates": "Dates", + "summary_addingChoices": "Ajout de choix", + "summary_voting": "Ouvert", + "summary_fromDate": "à partir du", + "summary_toDate": "jusqu'au", + "summary_administrate": "Administrer le sondage", + "summary_sharing": "Partage", + "summary_shareByQR": "Afficher un QR code pour accéder au sondage", + "summary_shareByEmail": "Envoyer des invitations par email", + "summary_invitations": "Nombre d'invitations à voter envoyées par email:", + "summary_vote": "Voter", + "summary_members": "Participants", + "summary_membersNb": "participants ont reçu un email avec un lien pour voter.", + "poll_403": "Erreur : le sondage n'est pas accessible", + "poll_newPoll": "Nouveau sondage", + "poll_closePoll": "Clôturer le sondage", + "poll_reopenPoll": "Réouvrir le sondage", + "poll_clonePoll": "Cloner le sondage", + "poll_deletePoll": "Supprimer le sondage", + "poll_editPoll": "Modifier le sondage", + "poll_creationSuccess": "Votre sondage {0} a été créé avec succès.", + "poll_saveSuccess": "Votre sondage {0} a été enregistré avec succès.", + "poll_tab_votes": "Votes", + "poll_summaryTab": "Résumé", + "poll_settings": "Configuration", + "poll_tab_results": "Résultats", + "poll_CLOSED": "Fermé", + "poll_ADDING_CHOICES": "Ajout de choix", + "poll_VOTING": "Ouvert", + "poll_CREATED": "Créé", + "poll_createdBy": "Auteur :", + "poll_voteCountingType": "Type de sondage : ", + "poll_dateVotes": "Période de vote", + "poll_dateAddChoices": "Période d'ajout de choix", + "poll_dateFrom": "Du", + "poll_dateFromNoEnd": "À partir du", + "poll_dateTo": "Au", + "poll_noChoice": "aucun choix", + "poll_choice": "choix", + "poll_choices": "choix", + "poll_noVote": "aucun vote", + "poll_vote": "vote", + "poll_votes": "votes", + "poll_subscribers": "invités", + "poll_participants": "participants", + "poll_participation": "de participation", + "poll_closedFrom": "Fermé depuis le", + "poll_urlForAdmin" : "Administrer ce sondage avec cette adresse", + "poll_urlForVote" : "Inviter de nouveaux participants en leur envoyant cette adresse", + "poll_urlForEditVote" : "Vote enregistré, vous pourrez le modifier à l'adresse suivante (lorsque vous n'êtes pas connecté) : ", + "poll_qrcode": "Afficher un QR code pour partager le sondage", + "poll_rss": "Vous abonner au flux du sondage", + "poll_print": "Imprimer la page", + "poll_results_title": "Résultats", + "poll_results_noResult": "Les résultats ne sont pas encore disponibles.", + "poll_results_ranks": "Rangs", + "poll_results_choices": "Choix", + "poll_results_results": "Résultats", + "poll_results_unit_1_one": "vote", + "poll_results_unit_1_many": "votes", + "poll_results_unit_2_one": "%", + "poll_results_unit_2_many": "%", + "poll_results_unit_3_one": "combat", + "poll_results_unit_3_many": "combats", + "poll_results_unit_4_one": "", + "poll_results_unit_4_many": "", + "poll_results_unit_5_one": "point", + "poll_results_unit_5_many": "points", + "poll_results_unit_6_one": "vote", + "poll_results_unit_6_many": "votes", + "poll_results_unit_7_one": "vote", + "poll_results_unit_7_many": "votes", + "poll_results_borda_title": "Tableau des points", + "poll_results_borda_ranks": "Rangs", + "poll_results_borda_points": "Points", + "poll_results_borda_total": "Totaux", + "poll_results_condorcet_title": "Tableau des combats", + "poll_results_condorcet_total": "Totaux", + "poll_results_instantRunoff_title": "Tableau des éliminations", + "poll_results_instantRunoff_rounds": "Tours", + "poll_results_coombs_title": "Tableau des éliminations", + "poll_results_coombs_rounds": "Tours", + "poll_results_coombs_ranks": "Rangs", + "poll_results_coombs_firstRank": "1er", + "poll_results_coombs_lastRank": "Der.", + "poll_comments_one": "Commentaire", + "poll_comments_many": "Commentaires", + "poll_comments_noComment": "Pas de commentaire.", + "poll_comments_title": "Commentaires", + "poll_comments_sendComment": "Envoyer", + "poll_comments_authorPlaceholder": "Saisir votre nom", + "poll_comments_textPlaceholder": "Saisir le commentaire", + "poll_comments_cancelEditComment": "Annuler", + "poll_comments_deleteComment" : "Voulez-vous supprimer ce commentaire ?", + "poll_comments_updateComment": "Valider", + "poll_comments_close": "Fermer", + "poll_comments_sort_asc": "Trier du plus récent au plus ancien", + "poll_comments_sort_desc": "Trier du plus ancien au plus récent", + "poll_comments_goToEnd": "Aller à la fin", + "poll_comments_goToStart": "Aller au début", + "poll_comments_delete": "Supprimer", + "poll_comments_edit": "Modifier", + "poll_voteStart": "Les votes ont commencé, certaines options ne sont pas modifiables.", + "poll_votes_title": "Votes", + "poll_votes_deleteVote": "Supprimer le vote ?", + "poll_votes_anonymousVoter": "Anonyme", + "poll_votes_authorPlaceHolder": "Renseignez votre nom", + "poll_votes_toVote": "Voter", + "poll_votes_validateEdition": "Valider", + "poll_votes_cancelEdition": "Annuler", + "poll_votes_tooManyChoicesSelected": "Trop de choix sélectionnés. Maximum :", + "poll_votes_addChoice": "Ajouter un choix", + "poll_votes_choices": "Choix", + "poll_votes_delete": "Supprimer le vote ?", + "poll_votes_results": "Resultats", + "poll_votes_noVote": "Aucun vote", + "poll_votes_results_unit_1_one": "vote", + "poll_votes_results_unit_1_many": "votes", + "poll_votes_results_unit_2_one": "%", + "poll_votes_results_unit_2_many": "%", + "poll_votes_results_unit_3_one": "combat", + "poll_votes_results_unit_3_many": "combats", + "poll_votes_results_unit_4_one": "", + "poll_votes_results_unit_4_many": "", + "poll_votes_results_unit_5_one": "point", + "poll_votes_results_unit_5_many": "points", + "poll_votes_results_unit_6_one": "vote", + "poll_votes_results_unit_6_many": "votes", + "poll_votes_results_unit_7_one": "vote", + "poll_votes_results_unit_7_many": "votes", + "poll_votes_voteNotOpen": "Les votes ne sont pas encore ouverts.", + "polls_createdPolls": "Mes sondages", + "polls_assignPollToMe": "Attacher le sondage", + "polls_assignPollToMe_title": "Attacher un sondage à mon compte", + "polls_assignPollToMe_desc": "Si vous avez créé un sondage sans être connecté, vous pouvez le rattacher à votre compte en remplissant ce formulaire avec l'url d'administration du sondage.", + "polls_assignSuccessMessage": "Le sondage « {0} » a bien été rattaché à votre compte.", + "polls_alreadyAssignMessage": "Le sondage est déjà rattaché à votre compte", + "polls_invitedPolls": "Mes invitations", + "polls_participatedPolls": "Mes participations", + "polls_polls": "Tous les sondages", + "polls_name": "Nom", + "polls_sort": "Trier par", + "polls_noPoll": "Aucun sondage", + "polls_one": "sondage", + "polls_many": "sondages", + "signup_title": "Créer un compte", + "signup_email": "Email", + "signup_email_placeholder": "Entrez votre adresse email", + "signup_name": "Nom", + "signup_name_placeholder": "Entrez votre nom", + "signup_password": "Mot de passe", + "signup_password_placeholder": "Entrez votre mot de passe", + "signup_repeat_password": "Confirmation du mot de passe", + "signup_repeat_password_placeholder": "Répétez votre mot de passe", + "signup_repeat_password_error": "Les deux mots de passe ne sont pas identiques.", + "signup_validate": "Valider", + "signup_resendValidation": "Déja inscrit, mais compte non validé ?", + "signup_error": "Impossible d'enregister le compte.", + "signup_error_email": "L'adresse email est déjà utilisé pour un autre compte.", + "signup_createAccount_title": "Votre compte a bien été créé", + "signup_createAccount_message": "Un courriel vous a été envoyé avec l'url de validation de votre compte.", + "signup_createAccount_action": "Continuer", + "resendvalidation_title": "Renvoyer un courriel de validation de compte", + "resendvalidation_cancel": "Annuler", + "resendvalidation_action": "Envoyer", + "resendvalidation_placeholder": "Entrez votre courriel", + "resendvalidation_sent": "Un nouveau courriel d'invitation a été envoyé", + "resendvalidation_error_emailNotFound": "Le courriel n'a pas été trouvé", + "signcheck_title": "Validation de votre compte", + "signcheck_signin": "Vous connecter", + "signcheck_resendValidation": "Envoyer une nouvelle invitation", + "signcheck_message": "Votre compte doit être validé afin de pouvoir vous connecter.", + "signcheck_validating": "Votre compte est en cour de validation...", + "signcheck_validating_error": "Votre compte n'a pas pu être validé, essayer de renvoyer une invitation.", + "signcheck_validating_success": "Votre compte a été validé. Vous pouvez vous connecter.", + "signin_title": "Connexion", + "signin_login": "Email", + "signin_login_placeholder": "Entrez votre email", + "signin_password": "Mot de passe", + "signin_password_placeholder": "Entrez votre mot de passe", + "signin_lostpassword": "Mot de passe perdu ?", + "signin_connexion": "Se connecter", + "signin_error_signin_emailOrPasswordInvalid": "Courriel ou mot de passe invalide", + "signin_error_signin_banned": "Compte bloqué", + "signin_error_signin_emailNotValidated": "Vous devez valider votre compte avant de pouvoir vous connecter. Relevez vos emails, nous vous avons envoyé un lien de validation.", + "newpassword_title": "Obtenir un nouveau mot de passe", + "newpassword_action": "Envoyer", + "newpassword_placeholder": "Entrez votre courriel", + "newpassword_error_emailNotFound": "Le courriel n'a pas été trouvé", + "newpassword_sent": "Un nouveau mot de passe vient d'être envoyé", + "footer_doc": "Pollen 3.0", + "footer_download": "Télécharger", + "footer_contact": "Nous contacter", + "footer_participate": "Contribuer au projet", + "footer_license": "Licence", + "header_signin": "Connexion", + "header_signup": "Inscription", + "header_signout": "Déconnexion", + "header_home": "Accueil", + "header_i18n_lang": "Langue", + "header_myProfile": "Mon profil", + "header_myPolls": "Mes sondages", + "header_myInvitedPolls": "Mes invitations", + "header_myParticipatedPolls": "Mes participations", + "header_polls": "Sondages", + "header_users": "Utilisateurs", + "header_myFavoriteLists": "Mes listes de votants", + "header_createOtherPoll": "Nouveau sondage standard", + "header_createDatePoll": "Nouveau sondage de dates", + "header_feedback": "Un bug, une remarque ?", + "header_newPoll" : "Nouveau sondage", + "poll_cancel": "Annuler", + "poll_description_next": "Suivant", + "poll_description_info": "Informations", + "poll_description_title": "Titre", + "poll_description_titlePlaceHolder": "Renseignez le titre du sondage", + "poll_description_titleNotBlank": "Le titre ne doit pas être blanc", + "poll_description_description": "Description", + "poll_description_descriptionPlaceHolder": "Renseignez la description du sondage", + "poll_description_user": "Créateur", + "poll_description_name": "Votre nom", + "poll_description_namePlaceHolder": "Renseignez votre nom", + "poll_description_nameNotBlank": "Vote nom ne doit pas être blanc", + "poll_description_email": "Votre courriel", + "poll_description_emailPlaceHolder": "Renseignez votre courriel", + "poll_settings_restricted": "Sondage restreint ?", + "poll_settings_basic_usage": "Options par défaut", + "poll_settings_use_basic_usage": "Utiliser les options par défaut", + "poll_settings_basic_usage_detail": "Par défaut Pollen vous propose : ", + "poll_settings_basic_usage_detail_type": "Un sondage à dépouillement majoritaire (le choix ayant le plus de votes gagne)", + "poll_settings_basic_usage_detail_multi_choices": "Les participants peuvent voter pour plusieurs choix", + "poll_settings_basic_usage_detail_opening": "Le vote est ouvert dès la création du sondage", + "poll_settings_basic_usage_detail_closing": "Il peut être clos manuellement par son créateur", + "poll_settings_basic_usage_detail_comments": "Tout le monde peut voir les votes et les commentaires", + "poll_settings_basic_usage_detail_results": "Les résultats sont visibles de tous et disponible en continus", + "poll_settings_basic_usage_detail_notifications": "Aucune notification de vote et pas de rappel de la fin proche d'un sondage", + "poll_settings_previous": "Précédent", + "poll_settings_next": "Continuer", + "poll_settings_skip": "Passer", + "poll_settings_save": "Enregistrer", + "poll_settings_pollIsClosed": "Le sondage est fermé, vous ne pouvez plus l'éditer.", + "poll_settings_showOptions": "Voir les options avancées", + "poll_settings_hideOptions": "Masquer les options avancées", + "poll_settings_resultVisibility": "Qui peut voir les résultats ?", + "poll_settings_resultVisibility_creator": "Uniquement le créateur", + "poll_settings_resultVisibility_everybody": "Tout le monde", + "poll_settings_resultVisibility_voter": "Les participants", + "poll_settings_commentVisibility": "Qui peut voir les commentaires ?", + "poll_settings_commentVisibility_creator": "Uniquement le créateur", + "poll_settings_commentVisibility_everybody": "Tout le monde", + "poll_settings_commentVisibility_voter": "Les participants", + "poll_settings_voteVisibility": "Qui peut voir les votes ?", + "poll_settings_voteVisibility_anonymous": "Personne", + "poll_settings_voteVisibility_creator": "Uniquement le créateur", + "poll_settings_voteVisibility_everybody": "Tout le monde", + "poll_settings_voteVisibility_voter": "Les participants", + "poll_settings_nav_poll": "Sondage", + "poll_settings_nav_result": "Résultats", + "poll_settings_nav_voters": "Participants", + "poll_settings_nav_votePeriod": "Période de vote", + "poll_settings_nav_resultVisibility": "Visibilité des résultats", + "poll_settings_nav_continuousResult": "Résultats continus", + "poll_settings_nav_choices": "Choix", + "poll_settings_nav_addChoices": "Ajouter des choix", + "poll_settings_nav_limitChoices": "Limiter les choix", + "poll_settings_nav_votes": "Votes", + "poll_settings_nav_voteCountingType": "Type de scrutin", + "poll_settings_nav_voteVisibility": "Visibilité", + "poll_settings_nav_anonymousVote": "Anonymisation", + "poll_settings_nav_comments": "Commentaires", + "poll_settings_nav_commentVisibility": "Visiblité", + "poll_settings_nav_notification": "Notifications", + "poll_settings_poll_configuration": "Configuration du sondage", + "poll_settings_continuousResult": "Voir les résultats en continu", + "poll_settings_choicesConfiguration": "Configuration des choix", + "poll_settings_votersConfiguration": "Configuration des participants", + "poll_settings_voters": "Renseignez la liste des participants", + "poll_settings_addChoices": "Ajout de choix par les participants", + "poll_settings_limitChoices": "Limiter le nombre de choix par vote", + "poll_settings_votesConfiguration": "Configuration des votes", + "poll_settings_voteCountingType": "Type de scrutin pour effectuer le dépouillement du sondage", + "poll_settings_voteCountingType_normal": "Normal", + "poll_settings_voteCountingType_pourcentage": "Pourcentage", + "poll_settings_voteCountingType_condorcet": "Condorcet", + "poll_settings_anonymousVote": "Rendre les votes anonymes", + "poll_settings_commentsConfiguration": "Configuration des commentaires", + "poll_settings_resultsConfiguration": "Configuration des résultats", + "poll_settings_votePeriod": "Période ouverture des votes", + "poll_settings_help": "Aide", + "poll_settings_beginDate": "Ouverture du", + "poll_settings_endDate": "au", + "poll_settings_beginChoiceDate": "Ajout de choix du", + "poll_settings_endChoiceDate": "au", + "poll_settings_maxChoiceNumber": "Nombre maximum de choix", + "poll_settings_freePoll": "Tout le monde peut voter (Sondage public)", + "poll_settings_restrictedPoll": "Seul les invités peuvent voter (Sondage privé)", + "poll_settings_restrictedPoll_withMe": "Je participe au sondage", + "poll_settings_notification": "Recevoir des notifications :", + "poll_settings_notification_disabled": "Pour activer les notifications, vous devez renseigner votre courriel dans la partie 'Description'.", + "poll_settings_voteNotification": "À chaque action sur les votes", + "poll_settings_commentNotification": "À chaque action sur les commentaires", + "poll_settings_newChoiceNotification": "À chaque ajout de choix", + "poll_settings_notifyMeBeforePollEnds": "Recevoir une notification avant la fin des votes", + "poll_settings_notifyMeBeforePollEnds_disabled": "Pour activer le rappel de la fin du sondage, vous devez renseigner votre courriel dans la partie 'Description', et choisir une date de fin pour le sondage en activant la période d'ouverture des votes.", + "poll_settings_notifyMeHoursBeforePollEnds": "Combien d'heures avant ?", + "poll_choices_title": "Liste des choix", + "poll_choices_label": "Choix", + "poll_choices_description": "Description", + "poll_previous": "Précédent", + "poll_next": "Suivant", + "poll_save": "Enregistrer", + "poll_choices_moreChoices": "Ajouter des choix", + "poll_choices_moreChoice": "Ajouter un choix", + "poll_choices_choicePeriod": "Ajout de choix", + "poll_step_general": "Description", + "poll_step_choices": "Choix", + "poll_step_options": "Options", + "poll_step_voters": "Participants", + "poll_voters_previous": "Précédent", + "poll_voters_save": "Enregistrer", + "poll_voters_freePoll": "Tout le monde peut voter (Sondage public)", + "poll_voters_restrictedPoll": "Seul les invités peuvent voter (Sondage privé)", + "poll_voters_restrictedPoll_withMe": "Je participe au sondage", + "poll_voters_restrictedPoll_participants": "Participants au sondage", + "poll_voters_restrictedPoll_withGroup": "Organiser les invités dans des groupes", + "poll_voters_invite": "Inviter des participants", + "poll_voters_already_invite_label": "Participants déjà invités", + "poll_voters_new_invite_label": "Renseignez le courriel des participants (séparé par un espace)", + "poll_created_title": "Sondage créé", + "poll_created_message": "Le sondage vient d'être créé. Un courriel vous a été adressé ainsi qu'aux éventuels participants.", + "poll_created_edit": "Pour gérer le sondage, veuillez utiliser le lien suivant", + "poll_created_vote": "Pour voter, veuillez utiliser le lien suivant", + "poll_created_editUrl": "Gérer le sondage", + "poll_created_voteUrl": "Voter", + "users_title": "Les utilisateurs", + "users_noUser": "Aucun utilisateur", + "users_one": "utilisateur", + "users_many": "utilisateurs", + "user_banned": "Banni", + "user_emailValidate": "En cours de validation", + "user_emailIsValidate": "Courriel validé", + "user_administrator": "Administrateur", + "user_edit": "Modifier l'utilisateur", + "user_ban": "Désactiver", + "user_banUser": "Désactiver l'utilisateur", + "user_banUserMessage": "Désactiver l'utilisateur ?", + "user_deleteUser": "Supprimer l'utilisateur", + "user_deleteUserMessage": "Supprimer l'utilisateur ?", + "user_name": "Nom", + "user_email": "Courriel", + "user_cancel": "Annuler", + "user_save": "Enregistrer", + "userProfile_title": "Mon profil", + "userProfile_identity": "Identité", + "userProfile_name": "Nom", + "userProfile_name_placeholder": "Entrez votre nom d'utilisateur", + "userProfile_email": "Courriel", + "userProfile_email_placeholder": "Entrez votre courriel", + "userProfile_emailValidate": "Courriel vérifié", + "userProfile_emailValidationWaiting": "En cours de validation", + "userProfile_resendValidation": "Envoyer une nouvelle invitation", + "userProfile_saveIdentity": "Enregistrer", + "userProfile_passwordChange": "Changement de mot de passe", + "userProfile_oldPassword": "Ancien mot de passe", + "userProfile_oldPassword_placeholder": "Entrez votre ancien mot de passe", + "userProfile_newPassword": "Nouveau mot de passe", + "userProfile_newPassword_placeholder": "Entrez votre nouveau mot de passe", + "userProfile_repeatPassword": "Confirmation du mot de passe", + "userProfile_repeatPassword_placeholder": "Répétez votre mot de passe", + "userProfile_repeatPassword_error": "Les deux mots de passe ne sont pas identiques.", + "userProfile_savePassword": "Enregistrer", + "choice_description_placeholder": "Vous pouvez saisir une description pour ce choix", + "date-picker_today": "Aujourd'hui", + "date-picker_dateplaceholder": "Date", + "time-picker_timeplaceholder": "Heure", + "choice_text": "Renseignez un texte", + "choice_text_placeholder": "Renseignez un texte ou sélectionnez un autre type", + "choice_text_notBlank": "Le texte ne doit pas être blanc", + "choice_ressource": "Utiliser une image", + "choice_addFile": "Ajouter un fichier", + "choice_date": "Renseignez une date", + "choice_time": "Ajouter une heure à la date", + "choice_description": "Ajouter un descriptif du choix", + "choice_download": "Télécharger", + "choice_fileSizeMax_title": "Fichier trop lourd", + "choice_fileSizeMax_message": "Le fichier « {0} » de taille de {1} ne doit pas dépasser {2}.", + "favoriteList_title": "Mes listes de votants", + "favoriteList_one": "liste de votants", + "favoriteList_many": "listes de votants", + "favoriteList_addFavoriteList": "Ajouter une nouvelle liste de votants", + "favoriteList_export": "Exporter les listes de votants", + "favoriteList_children": "sous-listes", + "favoriteList_child": "sous-liste", + "favoriteList_members": "membres", + "favoriteList_member": "membre", + "favoriteList_noMember": "Aucun membre", + "favoriteList_new": "Nouvelle liste", + "favoriteList_edit": "Modifier cette liste", + "favoriteList_name": "Nom", + "favoriteList_name_placdeholder": "Renseignez le nom de la nouvelle liste", + "favoriteList_add": "Ajouter", + "search_label": "Rechercher", + "favoriteList_createDate": "Date de création", + "favoriteList_email": "Courriel", + "favoriteList_noFavoriteList": "Aucune liste de votants", + "favoriteList_cancel": "Annuler", + "favoriteList_back": "Retour", + "favoriteList_save": "Enregistrer", + "favoriteList_edit": "Modifier la liste de votants", + "favoriteList_delete": "Supprimer", + "favoriteList_deleteMessage": "Supprimer la liste de votants ?", + "favoriteList_loading": "Chargement...", + "favoriteList_member_new": "Nouveau membre", + "favoriteList_member_import": "Importer", + "favoriteList_member_importCsv": "Importer un fichier CSV", + "favoriteList_member_csvFile": "Fichier des membres", + "favoriteList_member_csvFile_exemple": "# Courriel;Nom;Poids\ndupond@domaine.fr;Jean Dupond;1.00\npseudo@bleu.fr;Arnaud Lemaitre;4.50\nmiller@courriel.com;Benjamin Miller;3.00", + "favoriteList_member_csvFile_exemple_label": "Exemple de fichier", + "favoriteList_member_csvFile_exemple_detail": "Si le poids est omis, sa valeur par défaut est 1", + "favoriteList_member_importLdap": "Importer un annuaire LDAP", + "favoriteList_member_ldap": "Adresse de l'annuaire LDAP", + "favoriteList_member_ldap_exemple": "ldap://ldap.domaine.org/ou=companies,o=entreprise?cn,mail?sub?(objectclass=people)\nldaps://login:password@ldap.domaine.org/ou=companies,o=libre-entreprise?cn,mail?sub?(objectclass=people)", + "favoriteList_member_ldap_exemple_label": "Exemple d'adresse LDAP", + "favoriteList_member_ldap_exemple_detail": "Si votre identifiant ou mot de passe contiennent les caractères « : » ou « @ », vous devez les remplacer respectivement par « %3A » et « %40 »", + "favoriteList_member_edit": "Modifier ce membre", + "favoriteList_member_delete": "Supprimer ce membre", + "favoriteList_member_deleteMessage": "Supprimer ce membre ?", + "favoriteList_member_cancel": "Annuler", + "favoriteList_member_save": "Enregistrer", + "favoriteList_member_name": "Nom", + "favoriteList_member_name_placeholder": "Le nom du membre", + "favoriteList_member_email": "Courriel", + "favoriteList_member_email_placeholder": "Le courriel du membre", + "favoriteList_member_weight": "Poids", + "favoriteList_member_ldap_placeholder": "L'adresse de l'annuaire LDAP", + "favoriteList_member_add": "Ajouter", + "favoriteList_childrenLists": "Sous-listes", + "favoriteList_weight": "Poids", + "favoriteList_noChildList": "Aucune sous-listes", + "favoriteList_childList_new": "Nouvelle sous-liste", + "favoriteList_childList": "Sous-liste", + "favoriteList_childList_child": "Sous-liste", + "favoriteList_childList_weight": "Poids", + "favoriteList_childList_cancel": "Annuler", + "favoriteList_childList_save": "Enregistrer", + "favoriteList_childList_add": "Ajouter", + "favoriteList_childList_edit": "Modifier la sous-liste", + "favoriteList_childList_delete": "Retirer la sous-liste", + "favoriteList_childList_deleteMessage": "Retirer la sou-liste ?", + "favoriteList_importFavoriteLists": "Importer des listes de votants", + "favoriteList_import_file": "Fichier à importer", + "favoriteList_import_file_detail": "Le fichier doit être au format JSON", + "favoriteList_import": "Importer", + "error_manager_403": "Erreur : Accès refusé", + "error_manager_500": "Erreur : Service indisponile", + "voterList_new": "Nouvelle liste", + "voterList_edit": "Modifier la liste", + "voterList_name": "Nom", + "voterList_name_error_alreadyExist": "Le Nom existe dèjà dans cette liste", + "voterList_weight": "Poids", + "voterList_main_list": "Liste principale", + "voterList_addMember": "Ajouter un participant", + "voterList_addVoterList": "Ajouter une sous-liste", + "voterList_exportFavoriteList": "Exporter dans une nouvelle liste de votants", + "voterList_importFavoriteList": "Importer une liste de votants", + "voterList_importFavoriteList_none": "Aucune liste de votants enregistrées", + "voterList_delete": "Supprimer la liste", + "voterList_deleteMessage": "Supprimer la liste ?", + "voterList_mainList": "Liste principale du sondage : ", + "voterList_resendInvitation": "Renvoyer une invitation aux participants de cette liste n'ayant pas votés", + "voterList_resendInvitation_success": "invitations sont envoyées", + "voterList_resendInvitation_one": "1 invitation est envoyée", + "voterList_resendInvitation_none": "Tout les participants de cette liste ont votés", + "voterList_member_new": "Nouveau participant", + "voterList_member_edit": "Modifier le participant", + "voterList_member_name": "Nom", + "voterList_member_name_error_alreadyExist": "Le Nom existe dèjà dans cette liste", + "voterList_member_email": "Courriel", + "voterList_member_email_error_alreadyExist": "Le Courriel existe dèjà dans cette liste", + "voterList_member_weight": "Poids", + "voterList_member_delete": "Supprimer le participant", + "voterList_member_deleteMessage": "Supprimer le participant ?", + "voterList_member_resendInvitation": "Renvoyer une invitation", + "voterList_member_resendInvitation_success": "L'invitation est envoyée", + "modal_cancel": "Annuler", + "modal_ok": "Ok", + "confirm_cancel": "Annuler", + "confirm_delete": "Supprimer", + "information_ok": "Ok", + "report_title": "Signaler !", + "report_add_title": "Signaler comme inapproprié !", + "report_add_action": "Signaler", + "report_level": "Que souhaitez-vous signaler ?", + "report_level_spam": "Spam", + "report_level_spam_detail": "Un Spam ou une publicité", + "report_level_off_topic": "Hors-sujet", + "report_level_off_topic_detail": "Un contenu hors-sujet", + "report_level_illegal": "Illégal", + "report_level_illegal_detail": "Un contenu manifestement illégal", + "report_email": "Votre courriel", + "report_email_placeholder": "Votre-courriel@exemple.com", + "report_count": "Signalement", + "report_score": "Score", + "report_reports_title": "Signalements", + "report_toIgnore": "Ignorer", + "report_toEnable": "Ré-activer", + "report_ignores": "Ignorés", + "feedback_title": "Envoyer un bug, une remarque", + "feedback_detail": "Si vous voyez un bug ou si vous avez simplement une remarque à faire, remplissez ce formulaire pour nous faire parvenir votre avis. N'hésitez pas à en abuser !", + "feedback_category": "Catégorie", + "feedback_category_bug": "Bug", + "feedback_category_ergonomics": "Ergonomie", + "feedback_category_other": "Autres", + "feedback_description": "Merci de détailler ci-dessous votre rapport de bug ou votre remarque", + "feedback_descriptionNotBlank": "La description ne doit pas être blanc", + "feedback_uploadScreenShot": "Copie d'écran", + "feedback_create_success": "La remarque est envoyée." +} diff --git a/pollen-ui-riot-js/src/main/web/js/FetchService.js b/pollen-ui-riot-js/src/main/web/js/FetchService.js index 8966f29b..1426bb72 100644 --- a/pollen-ui-riot-js/src/main/web/js/FetchService.js +++ b/pollen-ui-riot-js/src/main/web/js/FetchService.js @@ -32,8 +32,9 @@ class FetchService { if (!(body instanceof FormData)) { headers["Content-Type"] = "application/json;charset=UTF-8"; } - headers["X-Pollen-UI-context"] = JSON.stringify(require("./Session").pollenUIContext); - + let session = require("./Session"); + headers["X-Pollen-UI-context"] = JSON.stringify(session.pollenUIContext); + headers["Content-Language"] = session.locale; let loadEvent = {}; bus.trigger("loading", loadEvent); return fetch( diff --git a/pollen-ui-riot-js/src/main/web/js/Poll.js b/pollen-ui-riot-js/src/main/web/js/Poll.js index a311f39c..8815ae0f 100644 --- a/pollen-ui-riot-js/src/main/web/js/Poll.js +++ b/pollen-ui-riot-js/src/main/web/js/Poll.js @@ -171,6 +171,16 @@ class Poll { return Promise.reject("Init poll after load votes"); } + reloadVoteCountingTypeValue() { + if (this._initPromise) { + return voteCountingTypeService.getVoteCountingType(this.voteCountingType).then(result => { + this.voteCountingTypeValue = result; + return Promise.resolve(this); + }); + } + return Promise.reject("Init poll after reload vote counting type"); + } + getVoteChoice(vote, choice) { return vote.choice.find(c => c.choiceId === choice.id); } diff --git a/pollen-ui-riot-js/src/main/web/js/PollForm.js b/pollen-ui-riot-js/src/main/web/js/PollForm.js index f1428cf9..b02734f0 100644 --- a/pollen-ui-riot-js/src/main/web/js/PollForm.js +++ b/pollen-ui-riot-js/src/main/web/js/PollForm.js @@ -55,14 +55,18 @@ class PollForm { _loadVoteCountingTypes() { if (!this.voteCountingTypes) { - return voteCountingTypeService.getVoteCountingTypes().then(result => { - this.voteCountingTypes = result; - return Promise.resolve(); - }); + return this.reloadVoteCountingTypes(); } return Promise.resolve(); } + reloadVoteCountingTypes() { + return voteCountingTypeService.getVoteCountingTypes().then(result => { + this.voteCountingTypes = result; + return Promise.resolve(); + }); + } + loadPoll(pollId, permission, clone) { return Promise.all([ pollService.getPoll(pollId, permission), diff --git a/pollen-ui-riot-js/src/main/web/js/Session.js b/pollen-ui-riot-js/src/main/web/js/Session.js index bd294085..27553a40 100644 --- a/pollen-ui-riot-js/src/main/web/js/Session.js +++ b/pollen-ui-riot-js/src/main/web/js/Session.js @@ -49,7 +49,10 @@ class Session { resourceDownloadUrl: this.configuration.endPoint + "/v1/resources/{resourceId}/download" }; // pour contenir les traductions - this.i18n = require("../i18n.json"); + this.i18n = { + fr: require("../i18n/fr.json"), + en: require("../i18n/en.json") + }; // pour contenir l"utillisateur connecté this.user = null; diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Poll.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Poll.tag.html index 7600dc3d..49d60cfa 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Poll.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Poll.tag.html @@ -154,11 +154,17 @@ require("./Report.tag.html"); }); this.listen("user", (user, oldUser) => { - if (user != oldUser) { + if (user !== oldUser) { this.poll.reloadPoll().then(() => {}, () =>{}); } }); + this.listen("locale", ()=> { + this.poll.reloadVoteCountingTypeValue().then(() => { + this.update(); + }, () =>{}); + }); + this.closePoll = (e) => { e.preventDefault(); e.stopPropagation(); diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Settings.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Settings.tag.html index 3b04d5bf..41456b7e 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Settings.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Settings.tag.html @@ -494,6 +494,14 @@ require("../components/date-time-picker.tag.html"); } }; + this.listen("locale", () => { + this.form.reloadVoteCountingTypes().then(() => { + this.voteCountingTypes = new Map(this.form.voteCountingTypes.map((t) => [t.id.toString(), t])); + this.canLimitNumberOfChoices = this.voteCountingTypes.get(this.form.model.voteCountingType.toString()).canLimitNumberOfChoices; + this.updateVoteCountingTypeHelp(); + }); + }); + </script> <style> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.