From 21e6e8097fb97f6046e90ce7ff8ab8c50e578cb3 Mon Sep 17 00:00:00 2001 From: decabeza Date: Tue, 9 Apr 2019 17:31:13 +0200 Subject: [PATCH] Update i18n texts --- .../admin/dashboard/actions/_form.html.erb | 6 +++--- .../admin/dashboard/actions/index.html.erb | 2 ++ .../administrator_tasks/index.html.erb | 2 ++ app/views/dashboard/polls/_form.html.erb | 2 +- app/views/dashboard/polls/new.html.erb | 2 +- config/locales/en/activerecord.yml | 8 +++---- config/locales/en/admin.yml | 10 ++++----- config/locales/en/general.yml | 21 +++++++++++-------- config/locales/es/activerecord.yml | 8 +++---- config/locales/es/admin.yml | 14 ++++++------- config/locales/es/general.yml | 21 +++++++++++-------- 11 files changed, 53 insertions(+), 43 deletions(-) diff --git a/app/views/admin/dashboard/actions/_form.html.erb b/app/views/admin/dashboard/actions/_form.html.erb index 14cb2d952..03542eb8b 100644 --- a/app/views/admin/dashboard/actions/_form.html.erb +++ b/app/views/admin/dashboard/actions/_form.html.erb @@ -43,19 +43,19 @@
<%= f.label :day_offset %> -

<%= t("admin.dashboard.actions.form.day_offset_help_text") %>

+

<%= t("admin.dashboard.actions.form.help_text") %>

<%= f.number_field :day_offset, label: false, step: 1, min: 0 %>
<%= f.label :required_supports %> -

<%= t("admin.dashboard.actions.form.required_supports_help_text") %>

+

<%= t("admin.dashboard.actions.form.help_text") %>

<%= f.number_field :required_supports, label: false, step: 1, min: 0 %>
<%= f.label :order %> -

<%= t("admin.dashboard.actions.form.order_help_text") %>

+

<%= t("admin.dashboard.actions.form.help_text") %>

<%= f.number_field :order, label: false, step: 1, min: 0 %>
diff --git a/app/views/admin/dashboard/actions/index.html.erb b/app/views/admin/dashboard/actions/index.html.erb index a8aff41e9..d8474a8ee 100644 --- a/app/views/admin/dashboard/actions/index.html.erb +++ b/app/views/admin/dashboard/actions/index.html.erb @@ -5,6 +5,8 @@ <%= t("admin.dashboard.actions.index.title") %> +

<%= t("admin.dashboard.actions.index.description") %>

+ diff --git a/app/views/admin/dashboard/administrator_tasks/index.html.erb b/app/views/admin/dashboard/administrator_tasks/index.html.erb index 6a54d164c..ef78cb264 100644 --- a/app/views/admin/dashboard/administrator_tasks/index.html.erb +++ b/app/views/admin/dashboard/administrator_tasks/index.html.erb @@ -1,5 +1,7 @@

<%= t("admin.dashboard.administrator_tasks.index.title") %>

+

<%= t("admin.dashboard.administrator_tasks.index.description") %>

+ <% if @administrator_tasks.any? %>
diff --git a/app/views/dashboard/polls/_form.html.erb b/app/views/dashboard/polls/_form.html.erb index fbdaf9265..8206d0046 100644 --- a/app/views/dashboard/polls/_form.html.erb +++ b/app/views/dashboard/polls/_form.html.erb @@ -40,7 +40,7 @@
- <%= f.submit t("admin.polls.#{admin_submit_action(poll)}.submit_button"), + <%= f.submit t("dashboard.polls.new.submit"), class: "button success expanded" %>
diff --git a/app/views/dashboard/polls/new.html.erb b/app/views/dashboard/polls/new.html.erb index dec0479d2..cab5944b4 100644 --- a/app/views/dashboard/polls/new.html.erb +++ b/app/views/dashboard/polls/new.html.erb @@ -1,4 +1,4 @@ -<% content_for :action_title, t("admin.polls.new.title") %> +<% content_for :action_title, t("dashboard.polls.new.title") %> <%= back_link_to %> <%= render "form" %> diff --git a/config/locales/en/activerecord.yml b/config/locales/en/activerecord.yml index ed2db6162..ecb9a326f 100644 --- a/config/locales/en/activerecord.yml +++ b/config/locales/en/activerecord.yml @@ -342,10 +342,10 @@ en: short_description: Short description description: Description link: External link - request_to_administrators: Admin request - day_offset: Required days for the activation - required_supports: Required supports for the activation - order: Order + request_to_administrators: Include in the resource a button to request the resource from administrators + day_offset: How many days after the creation of the proposal do you want it to be activated? + required_supports: How much supports does the proposal have to get in order to be activated? + order: You can enter the position where this action will be shown to the user in the list of actions active: Active action_type: Type dashboard/administrator_task: diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml index 63b15ce91..a6c6de89a 100644 --- a/config/locales/en/admin.yml +++ b/config/locales/en/admin.yml @@ -375,6 +375,7 @@ en: proposed_action: Proposed action resource: Resource index: + description: "When users create proposals they can access a dashboard of their proposal, where you can propose resources and recommendations to get support for their idea." create: Create resource or action edit: Edit delete: Delete @@ -401,14 +402,13 @@ en: success: Action successfully deleted form: submit_button: Save - day_offset_help_text: Enter 0 so that this value is not taken into account - required_supports_help_text: Enter 0 so that this value is not taken into account - order_help_text: Order to show to user + help_text: Enter 0 so that this value is not taken into account published_proposal: For published proposals? published_proposal_help_text: Mark this checkbox to create the action only for published proposals administrator_tasks: index: - title: Pending tasks + description: "Resources published in the dashboard of proposals may include a button to be requested to administrators. User requests are shown below." + title: Resources requested pending solve: Solve no_records: There are no pending tasks source: Source @@ -698,7 +698,7 @@ en: legislation: Collaborative Legislation users: Users dashboard: Proposals dashboard - administrator_tasks: Pending tasks + administrator_tasks: Resources requested pending dashboard_actions: Resources and actions administrators: index: diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml index 894579402..17a093e1c 100644 --- a/config/locales/en/general.yml +++ b/config/locales/en/general.yml @@ -207,7 +207,7 @@ en: retired: Retired proposal_totals: active_resources: Active resources - community: Community + community: Participants in your community show_proposal: Show proposal preview_proposal: Preview proposal current_goal: Current goal @@ -308,8 +308,8 @@ en: submit_button: Create proposal created: title: Congratulations! You have taken the first step. - motivation: "It is important to have at least 100 supports on the first day of the campaign to be able to boost your proposal." - motivation_2_html: "Do you think you need help to achieve this goal?
If so, leave your proposal as a draft and we will guide you." + motivation: "It is important to prepare the launch campaign for your proposal to be successful. The first few days are decisive." + motivation_2_html: "If you want recommendations to prepare the publishing leave your proposal as a draft and we will guide you." publish: No, I want to publish the proposal dashboard: Yes, I want help and I'll publish later preview_title: This is how your proposal will look when you publish it @@ -465,13 +465,13 @@ en: title_external_url: "Additional documentation" title_video_url: "External video" author: Author - draft: Proposal in draft + draft: Proposal in draft. Cannot yet get supports, nor does it appear in the list of proposals. update: form: submit_button: Save changes dashboard: menu: - my_proposal: My proposal + my_proposal: Edit my proposal progress: Progress resources: Resources community: Community @@ -548,6 +548,9 @@ en: other: You have created %{count} polls. links: Links additiontal_information: Additional information + new: + title: New poll + submit: Create poll poll: copy_link: Copy link responses: @@ -576,7 +579,7 @@ en: support: Support my proposal footer_html: "Visit %{link} and support this proposal. We need to be many. Decide your too. Thank you!" new: - title: Poster feature + title: Poster of your proposal options: preview: Preview download: Download @@ -584,7 +587,7 @@ en: index: title: E-mail preview new: - title: E-mail feature + title: E-mail model to share mailing_options: send: Send to %{address} preview: Preview @@ -597,8 +600,8 @@ en: share_in: Share in hi: "Hello!" introduction: I am writing to let you know that I am participating in %{org}, the platform we can decide which city we want. And for that, I created my own citizen proposal and now, I'm going to need your support! But do not worry because It is very simple. - support: "You just have to click on the button that you will see below 'Support this proposal' and you can directly inform yourself about before promoting it. Only the proposals that achieve the maximum support will be carried out by our City Council, and I thought that you, I'm sure you help me achieve it!" - share: "And if you also do me the great favor of sharing my proposal with your friends, family and contacts, it would be the bomb! Can do it next from the social network that you want or from your email." + support: "You just have to click on the button that you will see below 'Support this proposal' and you can inform yourself about before promoting it. Only the proposals that achieve the maximum support will be carried out by the City Council, and I thought that you, I'm sure you help me achieve it!" + share: "And if you also do me the great favor of sharing my proposal with your friends, family and contacts, it would be perfect!" polls: all: "All" no_dates: "no date assigned" diff --git a/config/locales/es/activerecord.yml b/config/locales/es/activerecord.yml index e3d3c6707..1d1c713da 100644 --- a/config/locales/es/activerecord.yml +++ b/config/locales/es/activerecord.yml @@ -342,10 +342,10 @@ es: short_description: Descripción corta description: Descripción link: Enlace externo - request_to_administrators: Petición para administrador - day_offset: Días requeridos para la activación - required_supports: Soportes requeridos para la activación - order: Orden + request_to_administrators: Incluir en el recurso un botón para solicitar el recurso a los administradores + day_offset: ¿En cuántos días tras la creación de la propuesta quieres que se active? + required_supports: ¿Cuántos apoyos tiene que conseguir la propuesta para que se active? + order: Puedes introducir la posición en la que se mostrará al usuario esta acción en la lista de acciones active: Activa action_type: Tipo dashboard/administrator_task: diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml index f3ad201c1..cdce1e775 100644 --- a/config/locales/es/admin.yml +++ b/config/locales/es/admin.yml @@ -375,6 +375,7 @@ es: proposed_action: Acción propuesta resource: Recurso index: + description: "Cuando los usuarios crean propuestas pueden acceder a un panel de progreso de su propuesta, donde se le puede proponer recursos y recomendaciones para conseguir apoyos a su idea." create: Crear recurso o acción edit: Editar delete: Borrar @@ -399,16 +400,15 @@ es: back: Volver a la lista form: submit_button: Guardar - day_offset_help_text: Introduce 0 para que este valor no se tenga en cuenta - required_supports_help_text: Introduce 0 para que este valor no se tenga en cuenta - order_help_text: Orden para mostrar al usuario + help_text: Introduce 0 para que este valor no se tenga en cuenta published_proposal: ¿Para propuestas publicadas? published_proposal_help_text: Marca este checkbox para crear la acción solo para propuestas publicadas delete: success: Acción borrada con éxito administrator_tasks: index: - title: Tareas pendientes + description: "Los recursos publicados en el panel de progreso de las propuestas pueden incluir un botón para ser solicitados a los administradores. A continuación se muestran las solicitudes de los usuarios." + title: Recursos solicitados pendientes solve: Resolver no_records: No hay tareas pendientes source: Propuesta @@ -696,8 +696,8 @@ es: title_booths: Urnas de votación legislation: Legislación colaborativa users: Usuarios - dashboard: Panel de control de propuestas - administrator_tasks: Tareas pendientes + dashboard: Panel de progreso de propuestas + administrator_tasks: Recursos solicitados pendientes dashboard_actions: Recursos y acciones administrators: index: @@ -1251,7 +1251,7 @@ es: submit: Actualizar how_to_enable: 'Para mostrar el mapa a los usuarios se debe de activar "Geolocalización de propuestas y proyectos de gasto" en la pestaña "Funcionalidades".' dashboard: - title: Panel de control de propuestas + title: Panel de progreso de propuestas setting: Funcionalidad setting_actions: Acciones setting_name: Configuración diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml index 7b2370442..6701f47fe 100644 --- a/config/locales/es/general.yml +++ b/config/locales/es/general.yml @@ -207,7 +207,7 @@ es: retired: Retirada proposal_totals: active_resources: Recursos activos - community: Comunidad + community: Participantes en tu comunidad show_proposal: Ver propuesta preview_proposal: Previsualizar propuesta current_goal: Meta actual @@ -308,8 +308,8 @@ es: submit_button: Crear propuesta created: title: ¡Enhorabuena! Has dado el primer paso. - motivation: "Es importante contar al menos con 100 apoyos el primer día de campaña para poder impulsar tu propuesta." - motivation_2_html: "¿Crees que necesitas ayuda para alcanzar esta meta?
Si es así, deja tu propuesta como borrador y te guiaremos." + motivation: "Es importante preparar la campaña de lanzamiento de tu propuesta para que tenga éxito. Los primeros días son decisivos." + motivation_2_html: "Si quieres recomendaciones para preparar la publicación deja tu propuesta como borrador y te guiaremos." publish: No, quiero publicar la propuesta ya dashboard: Si, quiero ayuda y publicaré mas tarde preview_title: Así es como quedará tu propuesta cuando la publiques @@ -465,13 +465,13 @@ es: title_external_url: "Documentación adicional" title_video_url: "Vídeo externo" author: Autor - draft: Propuesta en borrador + draft: Propuesta en borrador. Todavía no puede recoger apoyos, ni aparece en la lista de propuestas. update: form: submit_button: Guardar cambios dashboard: menu: - my_proposal: Mi propuesta + my_proposal: Editar mi propuesta progress: Progreso resources: Recursos community: Comunidad @@ -548,6 +548,9 @@ es: other: Has creado %{count} encuestas. links: Enlaces additiontal_information: Información adicional + new: + title: Nueva encuesta + submit: Crear encuesta poll: copy_link: Copiar enlace responses: @@ -576,7 +579,7 @@ es: support: Apoya mi propuesta footer_html: "Entra en %{link} y apoya esta propuesta. Necesitamos ser muchos. Decide tu también. ¡Gracias!" new: - title: Funcionalidad de póster + title: Póster de tu propuesta options: preview: Previsualizar download: Descargar @@ -584,7 +587,7 @@ es: index: title: Previsualización del correo electrónico new: - title: Funcionalidad de correo electrónico + title: Modelo de correo electrónico para compartir mailing_options: send: Enviar a %{address} preview: Previsualizar @@ -597,8 +600,8 @@ es: share_in: Compartir en hi: "¡Hola!" introduction: "Te escribo para comunicarte que estoy participando en %{org}, la plataforma para que podamos decidir qué ciudad queremos. Y para ello, he creado mi propia propuesta ciudadana y ahora, ¡voy a necesitar tu apoyo! Pero no te preocupes porque es muy sencillo." - support: "Tan sólo tienes que hacer clic en el botón que verás a continuación 'Apoyar esta propuesta' y directamente podrás informarte acerca de ella antes de impulsarla. Sólo las propuestas que consigan el máximo apoyo se llevarán a cabo por parte de nuestro Ayuntamiento, y he pensado que tú, ¡seguro que me ayudas a lograrlo!" - share: "Y si además, me haces el gran favor de compartir mi propuesta con tus amigos, familiares y contactos, ¡ya sería la bomba! Puedes hacerlo a continuación desde la red social que tú quieras o desde tu correo electrónico." + support: "Tan sólo tienes que hacer clic en el botón que verás a continuación 'Apoyar esta propuesta' y directamente podrás informarte acerca de ella antes de impulsarla. Sólo las propuestas que consigan el máximo apoyo se llevarán a cabo por parte del Ayuntamiento, y he pensado que tú ¡seguro que me ayudas a lograrlo!" + share: "Y si además, me haces el gran favor de compartir mi propuesta con tus amigos, familiares y contactos ¡sería perfecto!" polls: all: "Todas" no_dates: "sin fecha asignada"