Date: Tue, 19 Jan 2016 22:28:34 +0100
Subject: [PATCH 22/35] Check if current user is admin BEFORE check
editedVoteUniqueId
---
tpl/part/vote_table_classic.tpl | 2 +-
tpl/part/vote_table_date.tpl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tpl/part/vote_table_classic.tpl b/tpl/part/vote_table_classic.tpl
index b297982..e1feac7 100644
--- a/tpl/part/vote_table_classic.tpl
+++ b/tpl/part/vote_table_classic.tpl
@@ -98,8 +98,8 @@
{if $active && !$expired &&
(
$poll->editable == constant('Framadate\Editable::EDITABLE_BY_ALL')
- or ($poll->editable == constant('Framadate\Editable::EDITABLE_BY_OWN') && $editedVoteUniqueId == $vote->uniqId)
or $admin
+ or ($poll->editable == constant('Framadate\Editable::EDITABLE_BY_OWN') && $editedVoteUniqueId == $vote->uniqId)
)
}
diff --git a/tpl/part/vote_table_date.tpl b/tpl/part/vote_table_date.tpl
index 2f5145f..762f2b7 100644
--- a/tpl/part/vote_table_date.tpl
+++ b/tpl/part/vote_table_date.tpl
@@ -149,8 +149,8 @@
{if $active && !$expired &&
(
$poll->editable == constant('Framadate\Editable::EDITABLE_BY_ALL')
- or ($poll->editable == constant('Framadate\Editable::EDITABLE_BY_OWN') && $editedVoteUniqueId == $vote->uniqId)
or $admin
+ or ($poll->editable == constant('Framadate\Editable::EDITABLE_BY_OWN') && $editedVoteUniqueId == $vote->uniqId)
)
}
From 7d9a1140a430d01cd10062d36668d9be52d22b9e Mon Sep 17 00:00:00 2001
From: Vincent Gatignol-Jamon
Date: Thu, 4 Feb 2016 15:20:35 +0100
Subject: [PATCH 23/35] add missing translation : ref #127
---
locale/de.json | 6 +++++-
locale/en.json | 6 +++++-
locale/es.json | 6 +++++-
locale/fr.json | 6 +++++-
locale/it.json | 8 ++++++--
5 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/locale/de.json b/locale/de.json
index e3f0b07..8b7577c 100644
--- a/locale/de.json
+++ b/locale/de.json
@@ -252,7 +252,9 @@
"Create the poll": "Umfrage erstellen",
"Your poll will be automatically archived in %d days.": "Ihre Umfrage wird automatisch in %d Tage archiviert werden.",
"You can set a closer archiving date for it.": "Sie können das Datum der Archivierung vorverlegen.",
- "Archiving date:": "Tag der Archivierung:"
+ "Archiving date:": "Tag der Archivierung:",
+ "Your poll will automatically be archived": "DE_Your poll will automatically be archived",
+ "after the last date of your poll.": "DE_after the last date of your poll."
},
"Admin": {
"Back to administration": "Zurück zur Verwaltung",
@@ -333,6 +335,8 @@
"Failed to save poll": "Speichern der Umfrage fehlgeschlagen",
"Update vote failed": "Aktualisierung der Wertung fehlgeschlagen",
"Adding vote failed": "Stimmabgabe fehlgeschlagen",
+ "You already voted": "DE_Vous avez déjà voté",
+ "Poll has been updated before you vote": "DE_Le sondage a été mis à jour avant votre vote",
"Comment failed": "Abgabe des Kommentars gescheitert",
"You can't create a poll with hidden results with the following edition option:": "Sie können mit der folgenden Editier-Option keine Umfrage mit versteckten Ergebnissen erzeugen:",
"Failed to delete column": "Löschen der Spalte fehlgeschlagen",
diff --git a/locale/en.json b/locale/en.json
index d70604d..0d8dd59 100644
--- a/locale/en.json
+++ b/locale/en.json
@@ -252,7 +252,9 @@
"Create the poll": "Create the poll",
"Your poll will be automatically archived in %d days.": "Your poll will be automatically archived in %d days.",
"You can set a closer archiving date for it.": "You can set a specific expiry date for the poll.",
- "Archiving date:": "Expiry date:"
+ "Archiving date:": "Expiry date:",
+ "Your poll will automatically be archived": "Your poll will automatically be archived",
+ "after the last date of your poll.": "after the last date of your poll."
},
"Admin": {
"Back to administration": "Back to administration",
@@ -333,6 +335,8 @@
"Failed to save poll": "Failed to save poll",
"Update vote failed": "Update vote failed",
"Adding vote failed": "Adding vote failed",
+ "You already voted": "You already voted",
+ "Poll has been updated before you vote": "Poll has been updated before you vote",
"Comment failed": "Comment failed",
"You can't create a poll with hidden results with the following edition option:": "You can't create a poll with hidden results with the following option: ",
"Failed to delete column": "Failed to delete column",
diff --git a/locale/es.json b/locale/es.json
index e6fed3f..e10eeb0 100644
--- a/locale/es.json
+++ b/locale/es.json
@@ -252,7 +252,9 @@
"Create the poll": "Crear la encuesta",
"Your poll will be automatically archived in %d days.": "ES_Votre sondage sera automatiquement archivé dans %d jours.",
"You can set a closer archiving date for it.": "ES_Vous pouvez décider d'une date d'archivage plus proche.",
- "Archiving date:": "ES_Date d'archivage :"
+ "Archiving date:": "ES_Date d'archivage :",
+ "Your poll will automatically be archived": "ES_Your poll will automatically be archived",
+ "after the last date of your poll.": "ES_after the last date of your poll."
},
"Admin": {
"Back to administration": "ES_Retour à l'administration",
@@ -333,6 +335,8 @@
"Failed to save poll": "ES_Echec de la sauvegarde du sondage",
"Update vote failed": "ES_Mise à jour du vote échoué",
"Adding vote failed": "ES_Ajout d'un vote échoué",
+ "You already voted": "ES_Vous avez déjà voté",
+ "Poll has been updated before you vote": "ES_Le sondage a été mis à jour avant votre vote",
"Comment failed": "ES_Commentaire échoué",
"You can't create a poll with hidden results with the following edition option:": "ES_Vous ne pouvez pas créer de sondage avec résulats cachés avec les options d'éditions suivantes : ",
"Failed to delete column": "Error al eliminar la columna",
diff --git a/locale/fr.json b/locale/fr.json
index 4a5ce6c..f1683ee 100644
--- a/locale/fr.json
+++ b/locale/fr.json
@@ -252,7 +252,9 @@
"Create the poll": "Créer le sondage",
"Your poll will be automatically archived in %d days.": "Votre sondage sera automatiquement archivé dans %d jours.",
"You can set a closer archiving date for it.": "Vous pouvez décider d'une date d'archivage plus proche.",
- "Archiving date:": "Date d'archivage :"
+ "Archiving date:": "Date d'archivage :",
+ "Your poll will automatically be archived": "Votre sondage sera automatiquement archivé",
+ "after the last date of your poll.": "après le dernier jour de votre sondage."
},
"Admin": {
"Back to administration": "Retour à l'administration",
@@ -348,6 +350,8 @@
"Failed to save poll": "Echec de la sauvegarde du sondage",
"Update vote failed": "Mise à jour du vote échoué",
"Adding vote failed": "Ajout d'un vote échoué",
+ "You already voted": "Vous avez déjà voté",
+ "Poll has been updated before you vote": "Le sondage a été mis à jour avant votre vote",
"Comment failed": "Commentaire échoué",
"You can't create a poll with hidden results with the following edition option:": "Vous ne pouvez pas créer de sondage avec résulats cachés avec les options d'éditions suivantes : ",
"Failed to delete column": "Échec de la suppression de colonne",
diff --git a/locale/it.json b/locale/it.json
index a34bc4e..01b616b 100644
--- a/locale/it.json
+++ b/locale/it.json
@@ -252,7 +252,9 @@
"Create the poll": "Creare il sondaggio",
"Your poll will be automatically archived in %d days.": "Il vostro sondaggio verrà archiviata automaticamente in %d giorni.",
"You can set a closer archiving date for it.": "Si può decidere su una data più vicina di archiviazione.",
- "Archiving date:": "Archivio Data:"
+ "Archiving date:": "Archivio Data:",
+ "Your poll will automatically be archived": "IT_Your poll will automatically be archived",
+ "after the last date of your poll.": "IT_after the last date of your poll."
},
"Admin": {
"Back to administration": "Ritorna all'amministrazione",
@@ -333,6 +335,8 @@
"Failed to save poll": "Errore nel salvataggio del sondaggio",
"Update vote failed": "Aggiornamento del voto fallito",
"Adding vote failed": "Aggiunta del voto fallito",
+ "You already voted": "IT_Vous avez déjà voté",
+ "Poll has been updated before you vote": "IT_Le sondage a été mis à jour avant votre vote",
"Comment failed": "Commento fallito",
"You can't create a poll with hidden results with the following edition option:": "Non potete creare un sondaggio con i risultati nascosti con queste opzioni: ",
"Failed to delete column": "Impossibile eliminare la colonna",
@@ -340,4 +344,4 @@
"MISSING_VALUES": "Valori mancanti",
"CANT_CONNECT_TO_DATABASE": "Impossibile connettersi al database"
}
-}
\ No newline at end of file
+}
From d537d5028c66ac12f6c60520746305b00f2944d1 Mon Sep 17 00:00:00 2001
From: Quentin
Date: Fri, 12 Feb 2016 17:27:15 +0100
Subject: [PATCH 24/35] Added the Occitan version
---
locale/oc.json | 362 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 362 insertions(+)
create mode 100644 locale/oc.json
diff --git a/locale/oc.json b/locale/oc.json
new file mode 100644
index 0000000..060460b
--- /dev/null
+++ b/locale/oc.json
@@ -0,0 +1,362 @@
+{
+ "Generic": {
+ "Make your polls": "Organizar de rencontres simplament, liurament",
+ "Home": "Acuèlh",
+ "Poll": "Sondage",
+ "Save": "Enregistrar",
+ "Cancel": "Annllar",
+ "Add": "Apondre",
+ "Remove": "Suprimir",
+ "Validate": "Validar",
+ "Edit": "Modificar",
+ "Next": "Contunhar",
+ "Back": "Tornar",
+ "Close": "Tampar",
+ "Your name": "Vòstre nom",
+ "Your email address": "Vòstre adreça",
+ "(in the format name@mail.com)": "(al format nom@mail.com)",
+ "Description": "Descripcion",
+ "Back to the homepage of": "Tornar a la pagina d'acuèlh de",
+ "days": "jors",
+ "months": "meses",
+ "Day": "Jor",
+ "Time": "Ora",
+ "with": "amb",
+ "vote": "vote",
+ "votes": "votes",
+ "for": "per",
+ "Yes": "Òc",
+ "Ifneedbe": "Se cal",
+ "No": "Non",
+ "Legend:": "Légende :",
+ "Date": "Data",
+ "Classic": "Classic",
+ "Page generated in": "Pagina generada en",
+ "seconds": "segondas",
+ "Choice": "Causida",
+ "Link": "Ligam",
+ "Search": "Cercar",
+ "Creation date:": "Data de creacion :",
+ "ASTERISK": "*"
+ },
+ "Date": {
+ "dd/mm/yyyy": "jj/mm/aaaa",
+ "%A, den %e. %B %Y": "%A %e %B %Y",
+ "FULL": "%A %e %B %Y",
+ "SHORT": "%A %e %B %Y",
+ "DAY": "%a %e",
+ "DATE": "%Y-%m-%d",
+ "MONTH_YEAR": "%B %Y"
+ },
+ "Language selector": {
+ "Select the language": "Triar la lengar",
+ "Change the language": "Cambiar la lenga"
+ },
+ "Homepage": {
+ "Schedule an event": "Crear un sondatge especial datas",
+ "Make a classic poll": "Crear un sondatge classic",
+ "Where are my polls": "Ont son mos sondatges ?"
+ },
+ "Maintenance": {
+ "The application": "L'aplicacion",
+ "is currently under maintenance.": "es en mantenença.",
+ "Thank you for your understanding.": "Mercés de tornar dins un momenton."
+ },
+ "1st section": {
+ "What is that?": "Primièrs passes",
+ "Framadate is an online service for planning an appointment or make a decision quickly and easily. No registration is required.": "Framadate es un servici en linha que permet d'organizar un rendètz-vos o de prendre de decisions rapidament e simplament. Cap inscripcion es demandada.",
+ "Here is how it works:": "Vaquí cossí marcha :",
+ "Make a poll": "Creatz un sondatge",
+ "Define dates or subjects to choose": "Determinatz las datas o los tèmas a causir",
+ "Send the poll link to your friends or colleagues": "Mandatz lo ligam del sondatge a vos amisc o companhs",
+ "Discuss and make a decision": "Charratz e prenètz vòstra decision",
+ "Do you want to": "Volètz",
+ "view an example?": "veire un example ?"
+ },
+ "2nd section": {
+ "The software": "Lo logicial",
+ "Framadate was initially based on ": "Framadate es a sa debuta basat sus ",
+ "a software developed by the University of Strasbourg. Today, it is devevoped by the association Framasoft.": "un logicial desvolopat per l'Universitat d'Estrasborg. Uèi son devolopament es fach per l’associacion Framasoft.",
+ "This software needs javascript and cookies enabled. It is compatible with the following web browsers:": "Aqueste logicial requerís l’activacion del javascript e dels cookies. Es compatible amb los navigadors web seguents :",
+ "It is governed by the": "Es regit per la",
+ "CeCILL-B license": "licéncia CeCILL-B"
+ },
+ "3rd section": {
+ "Cultivate your garden": "Cultivatz vòstre òrt",
+ "To participate in the software development, suggest improvements or simply download it, please visit ": "Per participar al devolopament del logicial, prepausar de milhoraments o simplament lo telecargar, anatz sus ",
+ "the development site": "lo siti de devolopament",
+ "If you want to install the software for your own use and thus increase your independence, we help you on:": "Se volètz installar aqueste logicial per la vòstra pròpia utilizacion e aital aver mai d'automonia, nos podètz ajudar sus :"
+ },
+ "PollInfo": {
+ "Remove the poll": "Suprimir lo sondatge",
+ "Remove all the comments": "Suprimir tots los comentaris",
+ "Remove all the votes": "Suprimir tots los vòtes",
+ "Print": "Imprimir",
+ "Export to CSV": "Exportar en CSV",
+ "Title": "Títol del sondatge",
+ "Edit the title": "Modificar l títol",
+ "Save the new title": "Enregistrar lo nòu títol",
+ "Cancel the title edit": "Anullar lo cambi de títol",
+ "Initiator of the poll": "Autor duel sondatge",
+ "Edit the name": "Modificacion de l'autor",
+ "Save the new name": "Enregistrar l'autor",
+ "Cancel the name edit": "Anullar lo cambi d'autor",
+ "Email": "Adreça",
+ "Edit the email adress": "Modificar l'adreça",
+ "Save the email address": "Enregistrar l'adreça",
+ "Cancel the email address edit": "Anullar lo cambi d'adreça",
+ "Edit the description": "Modificar la descripcion",
+ "Save the description": "Enregistrar la descripcion",
+ "Cancel the description edit": "Anullar lo cambi de descripcion",
+ "Public link of the poll": "Ligam public del sondatge",
+ "Admin link of the poll": "Ligam d'administracion del sondatge",
+ "Expiration date": "Data d'expiracion",
+ "Edit the expiration date": "Modificar la data d'expiracion",
+ "Save the new expiration date": "Enregistrar la data d'expiracion",
+ "Cancel the expiration date edit": "Anullar lo cambi de data d'expiracion",
+ "Poll rules": "Permissions del sondatge",
+ "Edit the poll rules": "Modificar las permissions del sondatge",
+ "Votes and comments are locked": "Los vòtes e comentaris son clavats",
+ "Votes and comments are open": "Los vòtes e comentaris son doberts",
+ "Votes are editable": "Los vòtes son modificables",
+ "Votes are editable solely by their owner.": "Los vòtes son solament modificables per lo creator",
+ "Save the new rules": "Enregistrar las nòvas permissions",
+ "Cancel the rules edit": "Anullar lo cambi de permissions",
+ "Results are hidden.": "Las resultats son amagadas.",
+ "Results are visible.": "Las resultats son visiblas."
+ },
+ "Poll results": {
+ "Votes of the poll": "Vòtes del sondatge",
+ "Edit the line:": "Modificar la linha :",
+ "Remove the line:": "Suprimir la linha :",
+ "Vote no for": "Votar « non » per",
+ "Vote yes for": "Votar « òc » per",
+ "Vote ifneedbe for": "Votar « Se cal » per",
+ "Save the choices": "Enregistar las causidas",
+ "Addition": "Soma",
+ "Best choice": "Milhora causida",
+ "Best choices": "Milhoras causidas",
+ "The best choice at this time is:": "Pel moment, la causida amb lo mai de vòtes es :",
+ "The bests choices at this time are:": "Pel moment, las causidas amb lo mai de vòtes son :",
+ "Scroll to the left": "Far desfilar a man esquèrra",
+ "Scroll to the right": "Far desfilar a man drecha",
+ "polled user": "votant",
+ "polled users": "votants",
+ "Display the chart of the results": "Afichar lo graphic de las resultats",
+ "Chart": "Graphic"
+ },
+ "Comments": {
+ "Comments of polled people": "Comentaris dels opinaires",
+ "Remove the comment": "Suprimir lo comentari",
+ "Add a comment to the poll": "Apondre un commntari al sondatge",
+ "Your comment": "Vòstre comentari",
+ "Send the comment": "Mandar lo comentari",
+ "anonyme": "anonim",
+ "Comment added": "Comentari apondut"
+ },
+ "studs": {
+ "If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line.": "Pour participer à ce sondage, veuillez entrer votre nom, choisir toutes les valeurs qui vous conviennent et valider votre choix avec le bouton en bout de ligne.",
+ "POLL_LOCKED_WARNING": "L'administrator a clavat aqueste sondatge. Los vòtes e comentaris son gelats, es pus mai possible de participar",
+ "The poll is expired, it will be deleted soon.": "Lo sondatge a expirat, serà lèu suprimit.",
+ "Deletion date:": "Data de supression :",
+ "Your vote has been registered successfully, but be careful: regarding this poll options, you need to keep this personal link to edit your own vote:": "Vòstre vòte foguèt ben enregistrat, mas mèfi : aqueste sondatge permet l'edicion de vòstre vòte solament amb lo ligam personalizat seguent ; gardatz-lo preció ! ",
+ "Update vote succeeded": "Misa a jorn del vòte amb succès",
+ "Adding the vote succeeded": "Ajust del vòte capitat"
+ },
+ "adminstuds": {
+ "As poll administrator, you can change all the lines of this poll with this button": "En tant qu'administrateur, vous pouvez modifier toutes les lignes de ce sondage avec ce bouton",
+ "remove a column or a line with": "effacer une colonne ou une ligne avec",
+ "and add a new column with": "et si vous avez oublié de saisir un choix, vous pouvez rajouter une colonne en cliquant sur",
+ "Finally, you can change the informations of this poll like the title, the comments or your email address.": "Vous pouvez enfin également modifier les informations relatives à ce sondage comme le titre, les commentaires ou encore votre courriel.",
+ "Column's adding": "Ajout de colonne",
+ "You can add a new scheduling date to your poll.": "Vous pouvez ajouter une date à votre sondage.",
+ "If you just want to add a new hour to an existant date, put the same date and choose a new hour.": "Si vous voulez juste ajouter un horaire à une date existante, mettez la même date et choisissez un autre horaire. Il sera intégré normalement au sondage existant.",
+ "Confirm removal of the poll": "Confirmer la suppression du sondage",
+ "Delete the poll": "Suprimi lo sondatge",
+ "Keep the poll": "Gardi lo sondatge",
+ "Your poll has been removed!": "Vòstre sondatge es estat suprimit !",
+ "Poll saved": "Sondatge salvagardat",
+ "Poll fully deleted": "Sondatge totalament suprimit",
+ "Vote added": "Vòte ajustat",
+ "Vote updated": "Vòte mes a jorn",
+ "Vote deleted": "Vòte suprimit",
+ "All votes deleted": "Tots los vòtes son estats suprimits",
+ "Back to the poll": "Tornar al sondatge",
+ "Add a column": "Ajustar una colomna",
+ "Remove the column": "Suprimir la colomna",
+ "Column removed": "Colomna suprimida",
+ "Choice added": "Causida ajustada",
+ "Confirm removal of all votes of the poll": "Confirmar la supression de tots los vòtes d'aqueste sondatge",
+ "Keep the votes": "Gardar los vòtes",
+ "Remove the votes": "Suprimir los vòtes",
+ "Confirm removal of all comments of the poll": "Confirmar la supression de tots los comentaris d'aqueste sondatge",
+ "Keep the comments": "Gardar los comentaris",
+ "Remove the comments": "Suprimir los comentaris",
+ "Comment deleted": "Comentari suprimit",
+ "All comments deleted": "Tots los comentaris son estats suprimits",
+ "Keep votes": "Gardar lòs vòtes",
+ "Keep comments": "Gardar los comentaris",
+ "Keep this poll": "Gardar aqueste sondatge"
+ },
+ "Step 1": {
+ "Poll creation (1 on 3)": "Creacion de sondatge (1 sus 3)",
+ "You are in the poll creation section.": "Avètz causit de crear un nòu sondatge.",
+ "Required fields cannot be left blank.": "Mercés de garnir tots los formularis obligatòris, marcats amb una *.",
+ "Poll title": "Títol del sondatge",
+ "Votes cannot be modified.": "Cap vòte pòt èsser modificat",
+ "All voters can modify any vote": "Tot lo mond pòt modificar sos vòtes",
+ "Voters can modify their vote themselves": "Cadun pòt modificar son pròpi vòte",
+ "To receive an email for each new vote": "Recebre un messatge per cada participacion",
+ "To receive an email for each new comment": "Recebre un messatge per cada comentari",
+ "Only the poll maker can see the poll's results": "Solament lo creator del sondatge pòt veire las resultats",
+ "Go to step 2": "Anar a l'etapa 2"
+ },
+ "Step 2": {
+ "Back to step 1": "Tornar a l'etapa 1",
+ "Go to step 3": "Anar a l'etapa 3"
+ },
+ "Step 2 date": {
+ "Poll dates (2 on 3)": "Causida de las datas (2 sus 3)",
+ "Choose the dates of your poll": "Triatz las datas de vòstre sondatge",
+ "To schedule an event you need to propose at least two choices (two hours for one day or two days).": "Per crear un sondatge especial datas vos cal prepausar almens doas causidas (dos oraris per la meteissa jornada o dos jorns).",
+ "You can add or remove additionnal days and hours with the buttons": "Podètz ajustar o suprimir de jorns e oraris suplementaris amb los botons",
+ "For each selected day, you can choose, or not, meeting hours (e.g.: \"8h\", \"8:30\", \"8h-10h\", \"evening\", etc.)": "Per cada jorn selectionat avètz la possibilitat de causir o non d'oras de reünion (per exemple : \"8o\", \"8o30\", \"8o-10o\", \"ser\", etc.)",
+ "Remove an hour": "Suprimir lo darrièr orari",
+ "Add an hour": "Ajustar un orari",
+ "Copy hours of the first day": "Reportar los oraris del premièr jorn suls autres jorns",
+ "Remove a day": "Suprimir lo darrièr jorn",
+ "Add a day": "Ajustar un jorn",
+ "Remove all days": "Suprimir tots los jorns",
+ "Remove all hours": "Suprimir tots los oraris"
+ },
+ "Step 2 classic": {
+ "Poll subjects (2 on 3)": "Causida dels tèmas (2 sus 3)",
+ "To make a generic poll you need to propose at least two choices between differents subjects.": "Per crear un sondatge classic, devètz prepausar almens doas causidas diferentas.",
+ "You can add or remove additional choices with the buttons": "Podètz apondre o suprimir de causidas mai amb los botons",
+ "It's possible to propose links or images by using": "Es possible d'inserir de ligams o d'imatge n'emplegant ",
+ "the Markdown syntax": "la sintaxi Markdown",
+ "Add a link or an image": "Apondre un ligam o un imatge",
+ "These fields are optional. You can add a link, an image or both.": "Aquestes camps son facultatius. Podètz apondre un ligam, un image o los dos.",
+ "URL of the image": "URL de l'imatge",
+ "Alternative text": "Tèxte alternatiu",
+ "Remove a choice": "Suprimir la darrièra causida",
+ "Add a choice": "Ajutar una causida"
+ },
+ "Step 3": {
+ "Back to step 2": "Tornar a l'etapa 2",
+ "Removal date and confirmation (3 on 3)": "Data d'expiracion e confirmacion (3 sus 3)",
+ "Confirm the creation of your poll": "Confirmatz la creacion de vòstre sondatge",
+ "List of your choices": "Lista de vòstras causidas",
+ "Once you have confirmed the creation of your poll, you will be automatically redirected on the administration page of your poll.": "Un còp la creacion del sondatge confirmada, seretz mandat automaticament de vòstre sondatge.",
+ "Then, you will receive quickly two emails: one contening the link of your poll for sending it to the voters, the other contening the link to the administration page of your poll.": "D'aquel temps, recebretz dos corrièls : un amb lo ligam cap a vòstre sondatge per o mandar als opinaires, l'autre amb lo ligam per la pagina d'administracion del sondatge.",
+ "Create the poll": "Crear lo sondatge",
+ "Your poll will be automatically archived in %d days.": "Vòstre sondatge serà automaticament archivat dins %d jorns.",
+ "You can set a closer archiving date for it.": "Podètz decidir d'una data de mesa en archiva mai prèpa.",
+ "Archiving date:": "Data de mesa en archiva :",
+ "Your poll will automatically be archived": "DE_Your poll will automatically be archived",
++ "after the last date of your poll.": "DE_after the last date of your poll."
+ },
+ "Admin": {
+ "Back to administration": "Tornar a l'administracion",
+ "Administration": "Administracion",
+ "Polls": "Sondatges",
+ "Migration": "Migracion",
+ "Purge": "Purga",
+ "Logs": "Istoric",
+ "Installation": "Installacion",
+ "Poll ID": "ID sondatge",
+ "Format": "Format",
+ "Title": "Títol",
+ "Author": "Autor",
+ "Email": "Corrièl",
+ "Expiration date": "Expiracion",
+ "Votes": "Vòtes",
+ "Actions": "Accions",
+ "See the poll": "Veire lo sondatge",
+ "Change the poll": "Modificar lo sondatge",
+ "Deleted the poll": "Suprimir lo sondatge",
+ "Summary": "Resumit",
+ "Success": "Réussite",
+ "Fail": "Fracàs",
+ "Nothing": "Res",
+ "Succeeded:": "Capitat:",
+ "Failed:": "Fracassat:",
+ "Skipped:": "Passat:",
+ "Pages:": "Paginas :",
+ "Purged:": "Purgats :",
+ "Confirm removal of the poll": "Confirmar la supression del sondatge",
+ "polls in the database at this time": "sondatges dins la banca de donadas actualament",
+ "Purge the polls": "Purgar los sondatges"
+ },
+ "FindPolls": {
+ "Here are your polls": "Voici tes sondages",
+ "Send me my polls": "Envoyer mes sondages",
+ "Polls sent": "Sondages envoyés"
+ },
+ "Mail": {
+ "Poll's participation: %s": "Participation au sondage : %s",
+ "Notification of poll: %s": "Notification d'un sondage : %s",
+ "filled a vote.\nYou can find your poll at the link": "vient de voter. Vous pouvez retrouver votre sondage avec le lien suivant",
+ "updated a vote.\nYou can find your poll at the link": "vient de mettre à jour un vote. Vous pouvez retrouver votre sondage avec le lien suivant",
+ "wrote a comment.\nYou can find your poll at the link": "vient de rédiger un commentaire. Vous pouvez retrouver votre sondage avec le lien suivant",
+ "Someone just change your poll available at the following link %s.": "Quelqu'un vient de modifier votre sondage accessible au lien suivant %1$s.",
+ "Someone just delete your poll %s.": "Quelqu'un vient de supprimer votre sondage \"%s\".",
+ "Thanks for your trust.": "Merci de votre confiance.",
+ "FOOTER": "« La route est longue, mais la voie est libre… » Framasoft ne vit que par vos dons (déductibles des impôts). Merci d'avance pour votre soutien http://soutenir.framasoft.org.",
+ "[ADMINISTRATOR] New settings for your poll": "[ADMINISTRATEUR] Changement de configuration du sondage",
+ "You have changed the settings of your poll. \nYou can modify this poll with this link": "Vous avez modifié la configuration de votre sondage. Vous pouvez modifier ce sondage avec le lien suivant",
+ "This is the message you have to send to the people you want to poll. \nNow, you have to send this message to everyone you want to poll.": "Ceci est le message qui doit être envoyé aux sondés. Vous pouvez maintenant transmettre ce message à toutes les personnes susceptibles de participer au vote.",
+ "hast just created a poll called": " vient de créer un sondage intitulé ",
+ "Thanks for filling the poll at the link above": "Merci de bien vouloir participer au sondage à l'adresse suivante",
+ "This message should NOT be sent to the polled people. It is private for the poll's creator.\n\nYou can now modify it at the link above": "Ce message ne doit PAS être diffusé aux sondés. Il est réservé à l'auteur du sondage.
Vous pouvez modifier ce sondage à l'adresse suivante ",
+ "Author's message": "Réservé à l'auteur",
+ "For sending to the polled users": "Pour diffusion aux sondés"
+ },
+ "Installation": {
+ "AppMail": "Adresse mail de l'application",
+ "AppName": "Nom de l'application",
+ "CleanUrl": "URL propres",
+ "Database": "Base de données",
+ "DbConnectionString": "Chaîne de connexion",
+ "DbPassword": "Mot de passe",
+ "DbPrefix": "Préfixe",
+ "DbUser": "Utilisateur",
+ "DefaultLanguage": "Lenga per defaut",
+ "General": "General",
+ "Install": "Installar",
+ "MigrationTable": "Taula de migracion",
+ "ResponseMail": "Adreça de responsa"
+ },
+ "Error": {
+ "Error!": "Error !",
+ "Enter a title": "Cal picar un títol !",
+ "Something is going wrong...": "I a quicòm que truca...",
+ "Something is wrong with the format": "I a quicòm que truca amb lo format.",
+ "Enter an email address": "Cal picar una adreça de messatjariá !",
+ "The address is not correct! You should enter a valid email address (like r.stallman@outlock.com) in order to receive the link to your poll.": "L'adresse saisie n'est pas correcte ! Il faut une adresse électronique valide (par exemple r.stallman@outlock.com) pour recevoir le lien vers le sondage.",
+ "No polls found": "Aucun sondage n'a été trouvé",
+ "There is a problem with your choices": "Il y a un problème avec vos choix",
+ "You haven't filled the first section of the poll creation.": "Vous n'avez pas renseigné la première page du sondage",
+ "Javascript is disabled on your browser. Its activation is required to create a poll.": "Javascript est désactivé sur votre navigateur. Son activation est requise pour la création d'un sondage.",
+ "Cookies are disabled on your browser. Theirs activation is required to create a poll.": "Les cookies sont désactivés sur votre navigateur. Leur activation est requise pour la création d'un sondage.",
+ "This poll doesn't exist !": "Ce sondage n'existe pas !",
+ "Enter a name": "Vous n'avez pas saisi de nom !",
+ "The name is invalid.": "Le nom n'est pas valide.",
+ "The name you've chosen already exist in this poll!": "Le nom que vous avez choisi existe déjà !",
+ "Enter a name and a comment!": "Merci de remplir les deux champs !",
+ "Failed to insert the comment!": "Échec à l'insertion du commentaire !",
+ "Failed to delete the vote!": "Échec de la suppression du vote !",
+ "Framadate is not properly installed, please check the \"INSTALL\" to setup the database before continuing.": "Framadate n'est pas installé correctement, lisez le fichier INSTALL pour configurer la base de données avant de continuer.",
+ "Failed to save poll": "Echec de la sauvegarde du sondage",
+ "Update vote failed": "Mise à jour du vote échoué",
+ "Adding vote failed": "Ajout d'un vote échoué",
+ "You already voted": "Vous avez déjà voté",
+ "Poll has been updated before you vote": "Le sondage a été mis à jour avant votre vote",
+ "Comment failed": "Commentaire échoué",
+ "You can't create a poll with hidden results with the following edition option:": "Vous ne pouvez pas créer de sondage avec résulats cachés avec les options d'éditions suivantes : ",
+ "Failed to delete column": "Échec de la suppression de colonne",
+ "The column already exists": "La colonne existe déjà",
+ "MISSING_VALUES": "Il manque des valeurs",
+ "CANT_CONNECT_TO_DATABASE": "Impossible de se connecter à la base de données"
+ }
+}
From 070ea74fa9e893bfa54e2ebe78401f051cb13def Mon Sep 17 00:00:00 2001
From: Quentin
Date: Fri, 12 Feb 2016 17:54:09 +0100
Subject: [PATCH 25/35] Update
---
locale/oc.json | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/locale/oc.json b/locale/oc.json
index 060460b..7d6bd45 100644
--- a/locale/oc.json
+++ b/locale/oc.json
@@ -164,14 +164,14 @@
"Adding the vote succeeded": "Ajust del vòte capitat"
},
"adminstuds": {
- "As poll administrator, you can change all the lines of this poll with this button": "En tant qu'administrateur, vous pouvez modifier toutes les lignes de ce sondage avec ce bouton",
- "remove a column or a line with": "effacer une colonne ou une ligne avec",
- "and add a new column with": "et si vous avez oublié de saisir un choix, vous pouvez rajouter une colonne en cliquant sur",
- "Finally, you can change the informations of this poll like the title, the comments or your email address.": "Vous pouvez enfin également modifier les informations relatives à ce sondage comme le titre, les commentaires ou encore votre courriel.",
- "Column's adding": "Ajout de colonne",
- "You can add a new scheduling date to your poll.": "Vous pouvez ajouter une date à votre sondage.",
- "If you just want to add a new hour to an existant date, put the same date and choose a new hour.": "Si vous voulez juste ajouter un horaire à une date existante, mettez la même date et choisissez un autre horaire. Il sera intégré normalement au sondage existant.",
- "Confirm removal of the poll": "Confirmer la suppression du sondage",
+ "As poll administrator, you can change all the lines of this poll with this button": "En qualitat d'administrator podètz modificar totas las linhas d'aqueste sondatge avec aqueste boton",
+ "remove a column or a line with": "escafar una colomna o una linha amb",
+ "and add a new column with": "E se avètz doblidat de picar una causida, podètz tornar apondre una colona en clicant sus",
+ "Finally, you can change the informations of this poll like the title, the comments or your email address.": "Per acabar podètz tanben modificar las informacions tocant aqueste sondatge coma lo títol, los comentaris o vòstre corrièl.",
+ "Column's adding": "Apondi de colomna",
+ "You can add a new scheduling date to your poll.": "Podètz apondre una data a vòstre sondatge.",
+ "If you just want to add a new hour to an existant date, put the same date and choose a new hour.": "Se volètz apondre un orari a una data existenta, botatz la meteissa data e triatz un orari mai. Serà normalament integrat al sondatge existent.",
+ "Confirm removal of the poll": "Confirmar la supression del sondatge",
"Delete the poll": "Suprimi lo sondatge",
"Keep the poll": "Gardi lo sondatge",
"Your poll has been removed!": "Vòstre sondatge es estat suprimit !",
@@ -253,8 +253,8 @@
"Your poll will be automatically archived in %d days.": "Vòstre sondatge serà automaticament archivat dins %d jorns.",
"You can set a closer archiving date for it.": "Podètz decidir d'una data de mesa en archiva mai prèpa.",
"Archiving date:": "Data de mesa en archiva :",
- "Your poll will automatically be archived": "DE_Your poll will automatically be archived",
-+ "after the last date of your poll.": "DE_after the last date of your poll."
+ "Your poll will automatically be archived": "Vòstre sondatge sera automaticament mesa en archiva",
++ "after the last date of your poll.": "aprèp lo darrièr jorn del sondatge."
},
"Admin": {
"Back to administration": "Tornar a l'administracion",
@@ -276,7 +276,7 @@
"Change the poll": "Modificar lo sondatge",
"Deleted the poll": "Suprimir lo sondatge",
"Summary": "Resumit",
- "Success": "Réussite",
+ "Success": "Capidada",
"Fail": "Fracàs",
"Nothing": "Res",
"Succeeded:": "Capitat:",
@@ -289,9 +289,9 @@
"Purge the polls": "Purgar los sondatges"
},
"FindPolls": {
- "Here are your polls": "Voici tes sondages",
- "Send me my polls": "Envoyer mes sondages",
- "Polls sent": "Sondages envoyés"
+ "Here are your polls": "Vaquí tos sondatges",
+ "Send me my polls": "Mandar mos sondatges",
+ "Polls sent": "Sondatges mandats"
},
"Mail": {
"Poll's participation: %s": "Participation au sondage : %s",
@@ -359,4 +359,4 @@
"MISSING_VALUES": "Il manque des valeurs",
"CANT_CONNECT_TO_DATABASE": "Impossible de se connecter à la base de données"
}
-}
+}
\ No newline at end of file
From 2816bd7362d3499522e7bfb808c89c26ad1f0c3a Mon Sep 17 00:00:00 2001
From: Quentin
Date: Fri, 12 Feb 2016 18:06:21 +0100
Subject: [PATCH 26/35] Update
---
locale/oc.json | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/locale/oc.json b/locale/oc.json
index 7d6bd45..88e3156 100644
--- a/locale/oc.json
+++ b/locale/oc.json
@@ -19,16 +19,16 @@
"Back to the homepage of": "Tornar a la pagina d'acuèlh de",
"days": "jors",
"months": "meses",
- "Day": "Jor",
+ "Day": "Jorn",
"Time": "Ora",
"with": "amb",
- "vote": "vote",
- "votes": "votes",
+ "vote": "vòte",
+ "votes": "vòtes",
"for": "per",
"Yes": "Òc",
"Ifneedbe": "Se cal",
"No": "Non",
- "Legend:": "Légende :",
+ "Legend:": "Legenda :",
"Date": "Data",
"Classic": "Classic",
"Page generated in": "Pagina generada en",
@@ -94,10 +94,10 @@
"Print": "Imprimir",
"Export to CSV": "Exportar en CSV",
"Title": "Títol del sondatge",
- "Edit the title": "Modificar l títol",
+ "Edit the title": "Modificar lo títol",
"Save the new title": "Enregistrar lo nòu títol",
"Cancel the title edit": "Anullar lo cambi de títol",
- "Initiator of the poll": "Autor duel sondatge",
+ "Initiator of the poll": "Autor del sondatge",
"Edit the name": "Modificacion de l'autor",
"Save the new name": "Enregistrar l'autor",
"Cancel the name edit": "Anullar lo cambi d'autor",
@@ -119,7 +119,7 @@
"Votes and comments are locked": "Los vòtes e comentaris son clavats",
"Votes and comments are open": "Los vòtes e comentaris son doberts",
"Votes are editable": "Los vòtes son modificables",
- "Votes are editable solely by their owner.": "Los vòtes son solament modificables per lo creator",
+ "Votes are editable solely by their owner.": "Los vòtes son solament modificables pel creator",
"Save the new rules": "Enregistrar las nòvas permissions",
"Cancel the rules edit": "Anullar lo cambi de permissions",
"Results are hidden.": "Las resultats son amagadas.",
@@ -155,7 +155,7 @@
"Comment added": "Comentari apondut"
},
"studs": {
- "If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line.": "Pour participer à ce sondage, veuillez entrer votre nom, choisir toutes les valeurs qui vous conviennent et valider votre choix avec le bouton en bout de ligne.",
+ "If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line.": "Per participar a aqueste sondatge, picatz vòstre nom, triatz totas las valors que vos agradan e validatz amb lo boton al cap de linha.",
"POLL_LOCKED_WARNING": "L'administrator a clavat aqueste sondatge. Los vòtes e comentaris son gelats, es pus mai possible de participar",
"The poll is expired, it will be deleted soon.": "Lo sondatge a expirat, serà lèu suprimit.",
"Deletion date:": "Data de supression :",
From c0875e6f58f0fa95d86069f3fec2d61908e5bbbe Mon Sep 17 00:00:00 2001
From: Quentin
Date: Fri, 12 Feb 2016 18:06:49 +0100
Subject: [PATCH 27/35] Update
---
locale/oc.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/oc.json b/locale/oc.json
index 88e3156..8def185 100644
--- a/locale/oc.json
+++ b/locale/oc.json
@@ -4,7 +4,7 @@
"Home": "Acuèlh",
"Poll": "Sondage",
"Save": "Enregistrar",
- "Cancel": "Annllar",
+ "Cancel": "Anullar",
"Add": "Apondre",
"Remove": "Suprimir",
"Validate": "Validar",
From b24d59478f4a27e7e9670149f5016ec62690c933 Mon Sep 17 00:00:00 2001
From: Quentin
Date: Sat, 13 Feb 2016 17:40:43 +0100
Subject: [PATCH 28/35] Update, almost finished
---
locale/oc.json | 58 +++++++++++++++++++++++++-------------------------
1 file changed, 29 insertions(+), 29 deletions(-)
diff --git a/locale/oc.json b/locale/oc.json
index 8def185..cc41660 100644
--- a/locale/oc.json
+++ b/locale/oc.json
@@ -294,16 +294,16 @@
"Polls sent": "Sondatges mandats"
},
"Mail": {
- "Poll's participation: %s": "Participation au sondage : %s",
- "Notification of poll: %s": "Notification d'un sondage : %s",
- "filled a vote.\nYou can find your poll at the link": "vient de voter. Vous pouvez retrouver votre sondage avec le lien suivant",
- "updated a vote.\nYou can find your poll at the link": "vient de mettre à jour un vote. Vous pouvez retrouver votre sondage avec le lien suivant",
- "wrote a comment.\nYou can find your poll at the link": "vient de rédiger un commentaire. Vous pouvez retrouver votre sondage avec le lien suivant",
- "Someone just change your poll available at the following link %s.": "Quelqu'un vient de modifier votre sondage accessible au lien suivant %1$s.",
- "Someone just delete your poll %s.": "Quelqu'un vient de supprimer votre sondage \"%s\".",
- "Thanks for your trust.": "Merci de votre confiance.",
- "FOOTER": "« La route est longue, mais la voie est libre… » Framasoft ne vit que par vos dons (déductibles des impôts). Merci d'avance pour votre soutien http://soutenir.framasoft.org.",
- "[ADMINISTRATOR] New settings for your poll": "[ADMINISTRATEUR] Changement de configuration du sondage",
+ "Poll's participation: %s": "Participacion al sondatge : %s",
+ "Notification of poll: %s": "Notificacion d'un sondatge : %s",
+ "filled a vote.\nYou can find your poll at the link": "ven de votar. Podètz tornar a vòstre sondatge amb lo ligam seguent",
+ "updated a vote.\nYou can find your poll at the link": "ven de metre a jorn un vòte. Podètz tornar a vòstre sondatge amb lo ligam seguent",
+ "wrote a comment.\nYou can find your poll at the link": "ven de redigir un comentari. Podètz tornar a vòstre sondatge amb lo ligam seguent",
+ "Someone just change your poll available at the following link %s.": "Qualqu'un ven de modificar vòstre sondatge accessible amb lo ligam seguent %1$s.",
+ "Someone just delete your poll %s.": "Qualqu'un ven de suprimir vòstre sondatge \"%s\".",
+ "Thanks for your trust.": "Mercé per la vòstre confiança.",
+ "FOOTER": "« La rota es longa, mai lo camin es liure… » Framasoft solament viu amb vòstres dons (qu'òm pòt tirar de vòstres impòstes). Mercé d'avança pel vòstre sosten http://soutenir.framasoft.org.",
+ "[ADMINISTRATOR] New settings for your poll": "[ADMINISTRATOR] Cambi de configuracion del sondatge",
"You have changed the settings of your poll. \nYou can modify this poll with this link": "Vous avez modifié la configuration de votre sondage. Vous pouvez modifier ce sondage avec le lien suivant",
"This is the message you have to send to the people you want to poll. \nNow, you have to send this message to everyone you want to poll.": "Ceci est le message qui doit être envoyé aux sondés. Vous pouvez maintenant transmettre ce message à toutes les personnes susceptibles de participer au vote.",
"hast just created a poll called": " vient de créer un sondage intitulé ",
@@ -339,24 +339,24 @@
"You haven't filled the first section of the poll creation.": "Vous n'avez pas renseigné la première page du sondage",
"Javascript is disabled on your browser. Its activation is required to create a poll.": "Javascript est désactivé sur votre navigateur. Son activation est requise pour la création d'un sondage.",
"Cookies are disabled on your browser. Theirs activation is required to create a poll.": "Les cookies sont désactivés sur votre navigateur. Leur activation est requise pour la création d'un sondage.",
- "This poll doesn't exist !": "Ce sondage n'existe pas !",
- "Enter a name": "Vous n'avez pas saisi de nom !",
- "The name is invalid.": "Le nom n'est pas valide.",
- "The name you've chosen already exist in this poll!": "Le nom que vous avez choisi existe déjà !",
- "Enter a name and a comment!": "Merci de remplir les deux champs !",
- "Failed to insert the comment!": "Échec à l'insertion du commentaire !",
- "Failed to delete the vote!": "Échec de la suppression du vote !",
- "Framadate is not properly installed, please check the \"INSTALL\" to setup the database before continuing.": "Framadate n'est pas installé correctement, lisez le fichier INSTALL pour configurer la base de données avant de continuer.",
- "Failed to save poll": "Echec de la sauvegarde du sondage",
- "Update vote failed": "Mise à jour du vote échoué",
- "Adding vote failed": "Ajout d'un vote échoué",
- "You already voted": "Vous avez déjà voté",
- "Poll has been updated before you vote": "Le sondage a été mis à jour avant votre vote",
- "Comment failed": "Commentaire échoué",
- "You can't create a poll with hidden results with the following edition option:": "Vous ne pouvez pas créer de sondage avec résulats cachés avec les options d'éditions suivantes : ",
- "Failed to delete column": "Échec de la suppression de colonne",
- "The column already exists": "La colonne existe déjà",
- "MISSING_VALUES": "Il manque des valeurs",
- "CANT_CONNECT_TO_DATABASE": "Impossible de se connecter à la base de données"
+ "This poll doesn't exist !": "Aqueste sondatge existís pas !",
+ "Enter a name": "Avètz pas picat de nom !",
+ "The name is invalid.": "Lo nom es pas valide.",
+ "The name you've chosen already exist in this poll!": "Lo nom qu'avètz triat existís ja !",
+ "Enter a name and a comment!": "Mercé de garnir los dos camps !",
+ "Failed to insert the comment!": "Fracàs de l'ajust del comentari !",
+ "Failed to delete the vote!": "Fracàs de la supression del vòte !",
+ "Framadate is not properly installed, please check the \"INSTALL\" to setup the database before continuing.": "Framadate es pas installat coma cal, legissètz lo fichièr per configurar la banca de donadas abans de contunhar.",
+ "Failed to save poll": "Fracàs del salvament del sondatge",
+ "Update vote failed": "Misa a jorn del vòte fracassat",
+ "Adding vote failed": "Ajust d'un vòte fracassat",
+ "You already voted": "Avètz ja votat",
+ "Poll has been updated before you vote": "Lo sondatge es estat mes a jorn abans vòstre vòte",
+ "Comment failed": "Comentari fracassat",
+ "You can't create a poll with hidden results with the following edition option:": "Podètz pas crear de sondatges amb resultats amagadas amb las opcions d'edicion seguentas : ",
+ "Failed to delete column": "Fracàs de la supression de colomna",
+ "The column already exists": "La colomna existís ja",
+ "MISSING_VALUES": "Mancan de valors",
+ "CANT_CONNECT_TO_DATABASE": "Impossible de se connectar a la banca de donadas"
}
}
\ No newline at end of file
From a6373c6e5f762418fefbb20f92e77ec87422025a Mon Sep 17 00:00:00 2001
From: Quentin
Date: Sat, 13 Feb 2016 18:50:51 +0100
Subject: [PATCH 29/35] Final update for the Occitan language
---
locale/oc.json | 42 +++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/locale/oc.json b/locale/oc.json
index cc41660..e7e302c 100644
--- a/locale/oc.json
+++ b/locale/oc.json
@@ -304,23 +304,23 @@
"Thanks for your trust.": "Mercé per la vòstre confiança.",
"FOOTER": "« La rota es longa, mai lo camin es liure… » Framasoft solament viu amb vòstres dons (qu'òm pòt tirar de vòstres impòstes). Mercé d'avança pel vòstre sosten http://soutenir.framasoft.org.",
"[ADMINISTRATOR] New settings for your poll": "[ADMINISTRATOR] Cambi de configuracion del sondatge",
- "You have changed the settings of your poll. \nYou can modify this poll with this link": "Vous avez modifié la configuration de votre sondage. Vous pouvez modifier ce sondage avec le lien suivant",
- "This is the message you have to send to the people you want to poll. \nNow, you have to send this message to everyone you want to poll.": "Ceci est le message qui doit être envoyé aux sondés. Vous pouvez maintenant transmettre ce message à toutes les personnes susceptibles de participer au vote.",
- "hast just created a poll called": " vient de créer un sondage intitulé ",
- "Thanks for filling the poll at the link above": "Merci de bien vouloir participer au sondage à l'adresse suivante",
- "This message should NOT be sent to the polled people. It is private for the poll's creator.\n\nYou can now modify it at the link above": "Ce message ne doit PAS être diffusé aux sondés. Il est réservé à l'auteur du sondage.
Vous pouvez modifier ce sondage à l'adresse suivante ",
- "Author's message": "Réservé à l'auteur",
- "For sending to the polled users": "Pour diffusion aux sondés"
+ "You have changed the settings of your poll. \nYou can modify this poll with this link": "Avètz modificat la configuracion del sondatge. Podètz modificar aqueste sondatge amb lo ligam seguent",
+ "This is the message you have to send to the people you want to poll. \nNow, you have to send this message to everyone you want to poll.": "Aiçò es lo messatge que serà mandat als opinaires. Podètz ara trasmetre aqueste messatge a totas las personas susceptiblas de participar al vòte.",
+ "hast just created a poll called": " ven de crear un sondatge titolat ",
+ "Thanks for filling the poll at the link above": "Mercés de ben voler participar al sondatge a l'adreça seguenta",
+ "This message should NOT be sent to the polled people. It is private for the poll's creator.\n\nYou can now modify it at the link above": "Aqueste messatge cal PAS èsser difusit alx opinaires. Es reservat a l'autor del sondatge.
Podètz modificar aqueste sondatge amb lo ligam seguent ",
+ "Author's message": "Reservat a l'autor",
+ "For sending to the polled users": "Per difusion als opinaires"
},
"Installation": {
- "AppMail": "Adresse mail de l'application",
- "AppName": "Nom de l'application",
- "CleanUrl": "URL propres",
- "Database": "Base de données",
- "DbConnectionString": "Chaîne de connexion",
- "DbPassword": "Mot de passe",
- "DbPrefix": "Préfixe",
- "DbUser": "Utilisateur",
+ "AppMail": "Adreça de corrièl de l'aplicacion",
+ "AppName": "Nom de l'aplicacion",
+ "CleanUrl": "URL clars",
+ "Database": "Banca de donadas",
+ "DbConnectionString": "Cadena de connexion",
+ "DbPassword": "Senhal",
+ "DbPrefix": "Prefixe",
+ "DbUser": "Utilizaire",
"DefaultLanguage": "Lenga per defaut",
"General": "General",
"Install": "Installar",
@@ -333,12 +333,12 @@
"Something is going wrong...": "I a quicòm que truca...",
"Something is wrong with the format": "I a quicòm que truca amb lo format.",
"Enter an email address": "Cal picar una adreça de messatjariá !",
- "The address is not correct! You should enter a valid email address (like r.stallman@outlock.com) in order to receive the link to your poll.": "L'adresse saisie n'est pas correcte ! Il faut une adresse électronique valide (par exemple r.stallman@outlock.com) pour recevoir le lien vers le sondage.",
- "No polls found": "Aucun sondage n'a été trouvé",
- "There is a problem with your choices": "Il y a un problème avec vos choix",
- "You haven't filled the first section of the poll creation.": "Vous n'avez pas renseigné la première page du sondage",
- "Javascript is disabled on your browser. Its activation is required to create a poll.": "Javascript est désactivé sur votre navigateur. Son activation est requise pour la création d'un sondage.",
- "Cookies are disabled on your browser. Theirs activation is required to create a poll.": "Les cookies sont désactivés sur votre navigateur. Leur activation est requise pour la création d'un sondage.",
+ "The address is not correct! You should enter a valid email address (like r.stallman@outlock.com) in order to receive the link to your poll.": "L'adreça picada es pas corrècta ! Cal una adreça valida (per exemple r.stallman@outlock.com) per recebre lo ligam cap al sondatge.",
+ "No polls found": "Cap sondatge trobat",
+ "There is a problem with your choices": "I a un problèma amb vòstras causidas",
+ "You haven't filled the first section of the poll creation.": "Avètz pas garnit la premièra pagina del sondatge",
+ "Javascript is disabled on your browser. Its activation is required to create a poll.": "Javascript es desactivat sus vòstre navigador. Son activacion es requesida per la creacion d'un sondatge.",
+ "Cookies are disabled on your browser. Theirs activation is required to create a poll.": "Los cookies son desactivats su vòstre navigador. Lor activacion es requesida per la creacion d'un sondatge.",
"This poll doesn't exist !": "Aqueste sondatge existís pas !",
"Enter a name": "Avètz pas picat de nom !",
"The name is invalid.": "Lo nom es pas valide.",
From 5decfb44884d56246f74b2853598f695c8945267 Mon Sep 17 00:00:00 2001
From: goofy-bz
Date: Sat, 20 Feb 2016 17:58:39 +0100
Subject: [PATCH 30/35] minor lang fix
---
locale/en.json | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/locale/en.json b/locale/en.json
index 0d8dd59..f70d9cd 100644
--- a/locale/en.json
+++ b/locale/en.json
@@ -59,7 +59,7 @@
},
"Homepage": {
"Schedule an event": "Schedule an event",
- "Make a classic poll": "Make a classic poll",
+ "Make a classic poll": "Make a standard poll",
"Where are my polls": "Where are my polls?"
},
"1st section": {
@@ -76,28 +76,28 @@
"2nd section": {
"The software": "The software",
"Framadate was initially based on ": "Framadate was initially based on ",
- "a software developed by the University of Strasbourg. Today, it is devevoped by the association Framasoft.": "software developed by the University of Strasbourg. These days, it is developed by the Framasoft association.",
- "This software needs javascript and cookies enabled. It is compatible with the following web browsers:": "This software needs JavaScript and cookies enabled. It is compatible with the following web browsers:",
+ "a software developed by the University of Strasbourg. Today, it is developed by Framasoft association.": "software developed by the University of Strasbourg. These days, it is developed by the Framasoft association.",
+ "This software needs JavaScript and cookies enabled. It is compatible with the following web browsers:": "This software needs JavaScript and cookies enabled. It is compatible with the following web browsers:",
"It is governed by the": "Framadate is licensed under the",
"CeCILL-B license": "CeCILL-B license"
},
"3rd section": {
- "Cultivate your garden": "Cultivate your garden",
+ "Cultivate your garden": "Grow your own",
"To participate in the software development, suggest improvements or simply download it, please visit ": "To participate in the software development, suggest improvements or simply download it, please visit ",
"the development site": "the development site",
"If you want to install the software for your own use and thus increase your independence, we help you on:": "If you want to install the software for your own use and thus increase your independence, we can help you at:"
},
"PollInfo": {
"Remove the poll": "Remove the poll",
- "Remove all the comments": "Remove all the comments",
- "Remove all the votes": "Remove all the votes",
+ "Remove all the comments": "Remove all comments",
+ "Remove all the votes": "Remove all votes",
"Print": "Print",
"Export to CSV": "Export to CSV",
"Title": "Title of the poll",
"Edit the title": "Edit title",
"Save the new title": "Save the new title",
"Cancel the title edit": "Cancel the title edit",
- "Initiator of the poll": "Initiator of the poll",
+ "Initiator of the poll": "Creator of the poll",
"Edit the name": "Edit name",
"Save the new name": "Save the new name",
"Cancel the name edit": "Cancel the name edit",
@@ -344,4 +344,4 @@
"MISSING_VALUES": "Missing values",
"CANT_CONNECT_TO_DATABASE": "Unable to connect to database"
}
-}
+}
\ No newline at end of file
From 31c3b9f974275523f4c2538bac10b8ead47fbf08 Mon Sep 17 00:00:00 2001
From: goofy-bz
Date: Sat, 20 Feb 2016 18:12:35 +0100
Subject: [PATCH 31/35] minor lang fix
---
locale/fr.json | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/locale/fr.json b/locale/fr.json
index f1683ee..f4b5856 100644
--- a/locale/fr.json
+++ b/locale/fr.json
@@ -77,7 +77,7 @@
"The software": "Le logiciel",
"Framadate was initially based on ": "Framadate est initialement basé sur ",
"a software developed by the University of Strasbourg. Today, it is devevoped by the association Framasoft.": "un logiciel développé par l'Université de Strasbourg. Aujourd'hui, son développement est assuré par l’association Framasoft.",
- "This software needs javascript and cookies enabled. It is compatible with the following web browsers:": "Ce logiciel requiert l’activation du javascript et des cookies. Il est compatible avec les navigateurs web suivants :",
+ "This software needs javascript and cookies enabled. It is compatible with the following web browsers:": "Ce logiciel requiert l’activation du JavaScript et des cookies. Il est compatible avec les navigateurs web suivants :",
"It is governed by the": "Il est régi par la",
"CeCILL-B license": "licence CeCILL-B"
},
@@ -132,7 +132,7 @@
"Vote no for": "Voter « non » pour",
"Vote yes for": "Voter « oui » pour",
"Vote ifneedbe for": "Voter « Si nécessaire » pour",
- "Save the choices": "Enregister les choix",
+ "Save the choices": "Enregistrer les choix",
"Addition": "Somme",
"Best choice": "Meilleur choix",
"Best choices": "Meilleurs choix",
@@ -159,7 +159,7 @@
"POLL_LOCKED_WARNING": "L'administrateur a verrouillé ce sondage. Les votes et commentaires sont gelés, il n'est plus possible de participer",
"The poll is expired, it will be deleted soon.": "Le sondage a expiré, il sera bientôt supprimé.",
"Deletion date:": "Date de suppression :",
- "Your vote has been registered successfully, but be careful: regarding this poll options, you need to keep this personal link to edit your own vote:": "Votre vote a bien été pris en compte, mais faites attention : ce sondage n'autorise l'édition de votre vote qu'avec le lien personnalisé suivant ; conservez le précieusement ! ",
+ "Your vote has been registered successfully, but be careful: regarding this poll options, you need to keep this personal link to edit your own vote:": "Votre vote a bien été pris en compte, mais faites attention : ce sondage n'autorise l'édition de votre vote qu'avec le lien personnalisé suivant ; conservez-le précieusement ! ",
"Update vote succeeded": "Mise à jour du vote réussi",
"Adding the vote succeeded": "Ajout du vote réussi"
},
@@ -279,11 +279,11 @@
"Success": "Réussite",
"Fail": "Échèc",
"Nothing": "Rien",
- "Succeeded:": "Réussit:",
- "Failed:": "Échoué:",
- "Skipped:": "Passé:",
- "Pages:": "Pages :",
- "Purged:": "Purgés :",
+ "Succeeded:": "Succès :",
+ "Failed:": "Échec ::",
+ "Skipped:": "Passé :",
+ "Pages:": "Pages :",
+ "Purged:": "Purgés :",
"Confirm removal of the poll": "Confirmer la suppression du sondage",
"polls in the database at this time": "sondages dans la base actuellement",
"Purge the polls": "Purger les sondages"
@@ -337,7 +337,7 @@
"No polls found": "Aucun sondage n'a été trouvé",
"There is a problem with your choices": "Il y a un problème avec vos choix",
"You haven't filled the first section of the poll creation.": "Vous n'avez pas renseigné la première page du sondage",
- "Javascript is disabled on your browser. Its activation is required to create a poll.": "Javascript est désactivé sur votre navigateur. Son activation est requise pour la création d'un sondage.",
+ "Javascript is disabled on your browser. Its activation is required to create a poll.": "JavaScript est désactivé sur votre navigateur. Son activation est requise pour la création d'un sondage.",
"Cookies are disabled on your browser. Theirs activation is required to create a poll.": "Les cookies sont désactivés sur votre navigateur. Leur activation est requise pour la création d'un sondage.",
"This poll doesn't exist !": "Ce sondage n'existe pas !",
"Enter a name": "Vous n'avez pas saisi de nom !",
@@ -347,16 +347,16 @@
"Failed to insert the comment!": "Échec à l'insertion du commentaire !",
"Failed to delete the vote!": "Échec de la suppression du vote !",
"Framadate is not properly installed, please check the \"INSTALL\" to setup the database before continuing.": "Framadate n'est pas installé correctement, lisez le fichier INSTALL pour configurer la base de données avant de continuer.",
- "Failed to save poll": "Echec de la sauvegarde du sondage",
- "Update vote failed": "Mise à jour du vote échoué",
- "Adding vote failed": "Ajout d'un vote échoué",
+ "Failed to save poll": "Échec de la sauvegarde du sondage",
+ "Update vote failed": "Échec de de la mise à jour du vote",
+ "Adding vote failed": "Échec de l'ajout d'un vote",
"You already voted": "Vous avez déjà voté",
"Poll has been updated before you vote": "Le sondage a été mis à jour avant votre vote",
- "Comment failed": "Commentaire échoué",
+ "Comment failed": "Échec du commentaire",
"You can't create a poll with hidden results with the following edition option:": "Vous ne pouvez pas créer de sondage avec résulats cachés avec les options d'éditions suivantes : ",
"Failed to delete column": "Échec de la suppression de colonne",
"The column already exists": "La colonne existe déjà",
"MISSING_VALUES": "Il manque des valeurs",
"CANT_CONNECT_TO_DATABASE": "Impossible de se connecter à la base de données"
}
-}
+}
\ No newline at end of file
From bde59fe9747ed9999c5b0fddb6f23e63725cfd6f Mon Sep 17 00:00:00 2001
From: Olivier PEREZ
Date: Mon, 22 Feb 2016 23:51:33 +0100
Subject: [PATCH 32/35] Fix the position computation to insert default vote
when adding column
---
.../Framadate/Services/AdminPollService.php | 8 +-
app/inc/XXconfig.php | 88 -------------------
2 files changed, 7 insertions(+), 89 deletions(-)
delete mode 100644 app/inc/XXconfig.php
diff --git a/app/classes/Framadate/Services/AdminPollService.php b/app/classes/Framadate/Services/AdminPollService.php
index 500e528..a93bf60 100644
--- a/app/classes/Framadate/Services/AdminPollService.php
+++ b/app/classes/Framadate/Services/AdminPollService.php
@@ -284,7 +284,13 @@ class AdminPollService {
$result->slot = null;
$result->insert = 0;
- foreach ($slots as $slot) {
+ // Sort slots before searching where to insert
+ uasort($slots, function ($a, $b) {
+ return $a->title > $b->title;
+ });
+
+ // Search where to insert new column
+ foreach ($slots as $k=>$slot) {
$rowDatetime = $slot->title;
$moments = explode(',', $slot->moments);
diff --git a/app/inc/XXconfig.php b/app/inc/XXconfig.php
deleted file mode 100644
index 6530d13..0000000
--- a/app/inc/XXconfig.php
+++ /dev/null
@@ -1,88 +0,0 @@
-';
-
-// Application name
-const NOMAPPLICATION = 'Développement OPZ';
-
-// Database administrator email
-const ADRESSEMAILADMIN = 'framadate-dev@olivierperez.fr';
-
-// Email for automatic responses (you should set it to "no-reply")
-const ADRESSEMAILREPONSEAUTO = 'no-reply@olivierperez.fr';
-
-// Database user
-const DB_USER= 'dev_framadate';
-
-// Database password
-const DB_PASSWORD = 'dev_framadate';
-
-// Database server name, leave empty to use a socket
-const DB_CONNECTION_STRING = 'mysql:host=localhost;dbname=framadate_dev;port=3306';
-
-// Name of the table that store migration script already executed
-const MIGRATION_TABLE = 'framadate_migration';
-
-// Table name prefix
-const TABLENAME_PREFIX = 'fd_';
-
-// Default Language using POSIX variant of BC P47 standard (choose in $ALLOWED_LANGUAGES)
-const DEFAULT_LANGUAGE = 'fr';
-
-// List of supported languages, fake constant as arrays can be used as constants only in PHP >=5.6
-$ALLOWED_LANGUAGES = [
- 'fr' => 'Français',
- 'en' => 'English',
- 'es' => 'Español',
- 'de' => 'Deutsch',
- 'it' => 'Italiano',
-];
-
-// Nom et emplacement du fichier image contenant le titre
-const IMAGE_TITRE = 'images/logo-framadate.png';
-
-// Clean URLs, boolean
-const URL_PROPRE = false;
-
-// Use REMOTE_USER data provided by web server
-const USE_REMOTE_USER = true;
-
-// Path to the log file
-const LOG_FILE = 'admin/stdout.log';
-
-// Days (after expiration date) before purge a poll
-const PURGE_DELAY = 60;
-
-// Config
-$config = [
- /* general config */
- 'use_smtp' => false, // use email for polls creation/modification/responses notification
- /* home */
- 'show_what_is_that' => true, // display "how to use" section
- 'show_the_software' => true, // display technical information about the software
- 'show_cultivate_your_garden' => true, // display "developpement and administration" information
- /* create_classic_poll.php / create_date_poll.php */
- 'default_poll_duration' => 180, // default values for the new poll duration (number of days).
- /* create_classic_poll.php */
- 'user_can_add_img_or_link' => true, // user can add link or URL when creating his poll.
-];
From 2caa5117d62f42318256b6906bd0127f27cc1514 Mon Sep 17 00:00:00 2001
From: Quentin
Date: Tue, 23 Feb 2016 09:25:05 +0100
Subject: [PATCH 33/35] Update to add the Occitan language
---
app/inc/config.template.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/inc/config.template.php b/app/inc/config.template.php
index 9aad34e..826c67a 100644
--- a/app/inc/config.template.php
+++ b/app/inc/config.template.php
@@ -53,6 +53,7 @@ const DEFAULT_LANGUAGE = 'fr';
$ALLOWED_LANGUAGES = [
'fr' => 'Français',
'en' => 'English',
+ 'oc' => 'Occitan',
'es' => 'Español',
'de' => 'Deutsch',
'it' => 'Italiano',
@@ -85,5 +86,4 @@ $config = [
'default_poll_duration' => 180, // default values for the new poll duration (number of days).
/* create_classic_poll.php */
'user_can_add_img_or_link' => true, // user can add link or URL when creating his poll.
-];
-
+];
\ No newline at end of file
From 1ef4551779ee800d92010d40ab863676a0ab8f41 Mon Sep 17 00:00:00 2001
From: Olivier PEREZ
Date: Wed, 2 Mar 2016 23:26:31 +0100
Subject: [PATCH 34/35] Fix Occitan language
---
locale/oc.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/oc.json b/locale/oc.json
index e7e302c..f3660f1 100644
--- a/locale/oc.json
+++ b/locale/oc.json
@@ -254,7 +254,7 @@
"You can set a closer archiving date for it.": "Podètz decidir d'una data de mesa en archiva mai prèpa.",
"Archiving date:": "Data de mesa en archiva :",
"Your poll will automatically be archived": "Vòstre sondatge sera automaticament mesa en archiva",
-+ "after the last date of your poll.": "aprèp lo darrièr jorn del sondatge."
+ "after the last date of your poll.": "aprèp lo darrièr jorn del sondatge."
},
"Admin": {
"Back to administration": "Tornar a l'administracion",
From 276f732defd5ab01358a33f7a4e3013ae01673bd Mon Sep 17 00:00:00 2001
From: Olivier PEREZ
Date: Wed, 2 Mar 2016 23:55:12 +0100
Subject: [PATCH 35/35] Fix #145 and #146 - Sort slots before check slots hash
---
.../Framadate/Services/AdminPollService.php | 4 +--
.../Framadate/Services/PollService.php | 28 +++++++++++++------
2 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/app/classes/Framadate/Services/AdminPollService.php b/app/classes/Framadate/Services/AdminPollService.php
index a93bf60..369d13d 100644
--- a/app/classes/Framadate/Services/AdminPollService.php
+++ b/app/classes/Framadate/Services/AdminPollService.php
@@ -285,9 +285,7 @@ class AdminPollService {
$result->insert = 0;
// Sort slots before searching where to insert
- uasort($slots, function ($a, $b) {
- return $a->title > $b->title;
- });
+ $this->pollService->sortSlorts($slots);
// Search where to insert new column
foreach ($slots as $k=>$slot) {
diff --git a/app/classes/Framadate/Services/PollService.php b/app/classes/Framadate/Services/PollService.php
index fa2ab46..3d2bfe3 100644
--- a/app/classes/Framadate/Services/PollService.php
+++ b/app/classes/Framadate/Services/PollService.php
@@ -78,16 +78,16 @@ class PollService {
function allSlotsByPoll($poll) {
$slots = $this->slotRepository->listByPollId($poll->id);
if ($poll->format == 'D') {
- uasort($slots, function ($a, $b) {
- return $a->title > $b->title;
- });
+ $this->sortSlorts($slots);
}
return $slots;
}
public function updateVote($poll_id, $vote_id, $name, $choices, $slots_hash) {
+ $poll = $this->findById($poll_id);
+
// Check if slots are still the same
- $this->checkThatSlotsDidntChanged($poll_id, $slots_hash);
+ $this->checkThatSlotsDidntChanged($poll, $slots_hash);
// Update vote
$choices = implode($choices);
@@ -95,8 +95,10 @@ class PollService {
}
function addVote($poll_id, $name, $choices, $slots_hash) {
+ $poll = $this->findById($poll_id);
+
// Check if slots are still the same
- $this->checkThatSlotsDidntChanged($poll_id, $slots_hash);
+ $this->checkThatSlotsDidntChanged($poll, $slots_hash);
// Check if vote already exists
if ($this->voteRepository->existsByPollIdAndName($poll_id, $name)) {
@@ -225,15 +227,25 @@ class PollService {
/**
* This method checks if the hash send by the user is the same as the computed hash.
*
- * @param $poll_id int The id of the poll
+ * @param $poll /stdClass The poll
* @param $slots_hash string The hash sent by the user
* @throws ConcurrentEditionException Thrown when hashes are differents
*/
- private function checkThatSlotsDidntChanged($poll_id, $slots_hash) {
- $slots = $this->slotRepository->listByPollId($poll_id);
+ private function checkThatSlotsDidntChanged($poll, $slots_hash) {
+ $slots = $this->allSlotsByPoll($poll);
if ($slots_hash !== $this->hashSlots($slots)) {
throw new ConcurrentEditionException();
}
}
+ /**
+ * @return mixed
+ */
+ public function sortSlorts(&$slots) {
+ uasort($slots, function ($a, $b) {
+ return $a->title > $b->title;
+ });
+ return $slots;
+ }
+
}
|