From 64fe5e05891eb05db1f95806684ce6560ed17068 Mon Sep 17 00:00:00 2001 From: Olivier Perez <olivier@olivierperez.fr> Date: Thu, 4 Aug 2016 20:19:17 +0200 Subject: [PATCH] Add 'Permissions' section --- locale/de.json | 1 + locale/en.json | 3 ++- locale/es.json | 1 + locale/fr.json | 1 + locale/it.json | 1 + locale/oc.json | 3 ++- tpl/create_poll.tpl | 5 ++++- 7 files changed, 12 insertions(+), 3 deletions(-) diff --git a/locale/de.json b/locale/de.json index 19d13648..6fd40d80 100644 --- a/locale/de.json +++ b/locale/de.json @@ -243,6 +243,7 @@ "Poll password": "Password", "Password choice": "DE_Choix", "Password confirmation": "DE_Confirmation", + "Permissions": "DE_Permissions", "Go to step 2": "Weiter zum 2. Schritt" }, "Step 2": { diff --git a/locale/en.json b/locale/en.json index 611a301b..dd96545e 100644 --- a/locale/en.json +++ b/locale/en.json @@ -243,6 +243,7 @@ "Poll password": "Password", "Password choice": "Choice", "Password confirmation": "Confirmation", + "Permissions": "Permissions", "Go to step 2": "Go to step 2" }, "Step 2": { @@ -421,4 +422,4 @@ "Check again": "Check again", "Continue the installation": "Continue the installation" } -} \ No newline at end of file +} diff --git a/locale/es.json b/locale/es.json index 73e032cb..e51ec5be 100644 --- a/locale/es.json +++ b/locale/es.json @@ -243,6 +243,7 @@ "Poll password": "ES_Mot de passe", "Password choice": "ES_Choix", "Password confirmation": "ES_Confirmation", + "Permissions": "ES_Permissions", "Go to step 2": "Ir al paso número 2" }, "Step 2": { diff --git a/locale/fr.json b/locale/fr.json index 68284717..21279eb1 100644 --- a/locale/fr.json +++ b/locale/fr.json @@ -243,6 +243,7 @@ "Poll password": "Mot de passe", "Password choice": "Choix", "Password confirmation": "Confirmation", + "Permissions": "Permissions", "Go to step 2": "Aller à l'étape 2" }, "Step 2": { diff --git a/locale/it.json b/locale/it.json index 6c61d57e..6ae6de45 100644 --- a/locale/it.json +++ b/locale/it.json @@ -243,6 +243,7 @@ "Poll password": "Password", "Password choice": "IT_Choix", "Password confirmation": "Conferma della password", + "Permissions": "IT_Permissions", "Go to step 2": "Andare al punto 2" }, "Step 2": { diff --git a/locale/oc.json b/locale/oc.json index 45aad669..7f0033f6 100644 --- a/locale/oc.json +++ b/locale/oc.json @@ -243,6 +243,7 @@ "Poll password": "OC_Mot de passe", "Password choice": "OC_Choix", "Password confirmation": "OC_Confirmation", + "Permissions": "OC_Permissions", "Go to step 2": "Anar a l'etapa 2" }, "Step 2": { @@ -420,4 +421,4 @@ "Check again": "OC_Vérifier à nouveau", "Continue the installation": "OC_Continuer l'installation" } -} \ No newline at end of file +} diff --git a/tpl/create_poll.tpl b/tpl/create_poll.tpl index 3d8e4346..0f28f7e3 100644 --- a/tpl/create_poll.tpl +++ b/tpl/create_poll.tpl @@ -178,7 +178,10 @@ </div> <div class="form-group"> - <div class="col-sm-offset-4 col-sm-8"> + <label for="poll_id" class="col-sm-4 control-label"> + {__('Step 1', 'Permissions')} + </label> + <div class="col-sm-8"> <div class="radio"> <label> <input type="radio" name="editable" id="editableByAll" {if $poll_editable==constant("Framadate\Editable::EDITABLE_BY_ALL")}checked{/if} value="{constant("Framadate\Editable::EDITABLE_BY_ALL")}"> -- GitLab