Improve translation text and make it a default

There was some inconsistency in this file, the `confirm_group` key was
in both the custom translations file and the default translations file.

Remove duplication and make it a default as it is a clearer message for
users. If an installation want to edit this message they can still do
it in the custom translations file
This commit is contained in:
rgarcia
2018-03-22 21:01:19 +01:00
parent bdffb9765e
commit 24fc2f9199
5 changed files with 11 additions and 7 deletions

View File

@@ -176,11 +176,11 @@ ignore_unused:
- 'admin.site_customization.pages.page.status_*' - 'admin.site_customization.pages.page.status_*'
- 'admin.legislation.processes.process.*' - 'admin.legislation.processes.process.*'
- 'legislation.processes.index.*' - 'legislation.processes.index.*'
- 'votes.budget_investments.different_heading_assigned*'
# - '{devise,kaminari,will_paginate}.*' # - '{devise,kaminari,will_paginate}.*'
# - 'simple_form.{yes,no}' # - 'simple_form.{yes,no}'
# - 'simple_form.{placeholders,hints,labels}.*' # - 'simple_form.{placeholders,hints,labels}.*'
# - 'simple_form.{error_notification,required}.:' # - 'simple_form.{error_notification,required}.:'
## Exclude these keys from the `i18n-tasks eq-base' report: ## Exclude these keys from the `i18n-tasks eq-base' report:
# ignore_eq_base: # ignore_eq_base:
# all: # all:

View File

@@ -131,8 +131,8 @@ en:
already_supported: You have already supported this investment project. Share it! already_supported: You have already supported this investment project. Share it!
support_title: Support this project support_title: Support this project
confirm_group: confirm_group:
one: "You can only support investments in %{count} heading. If you continue you cannot change your decision. Are you sure?" one: "You can only support investments in %{count} district. If you continue you cannot change the election of your district. Are you sure?"
other: "You can only support investments in %{count} headings. If you continue you cannot change your decision. Are you sure?" other: "You can only support investments in %{count} district. If you continue you cannot change the election of your district. Are you sure?"
supports: supports:
one: 1 support one: 1 support
other: "%{count} supports" other: "%{count} supports"

View File

@@ -771,7 +771,9 @@ en:
organization: Organizations are not permitted to vote organization: Organizations are not permitted to vote
unfeasible: Unfeasible investment projects can not be supported unfeasible: Unfeasible investment projects can not be supported
not_voting_allowed: Voting phase is closed not_voting_allowed: Voting phase is closed
different_heading_assigned: You can only support investment projects in one heading different_heading_assigned:
one: "You can only support investment projects in %{count} district"
other: "You can only support investment projects in %{count} districts"
welcome: welcome:
debates: debates:
description: For meeting, discussing and sharing the things that matter to us in our city. description: For meeting, discussing and sharing the things that matter to us in our city.

View File

@@ -131,8 +131,8 @@ es:
already_supported: Ya has apoyado este proyecto de gasto. ¡Compártelo! already_supported: Ya has apoyado este proyecto de gasto. ¡Compártelo!
support_title: Apoyar este proyecto support_title: Apoyar este proyecto
confirm_group: confirm_group:
one: "Sólo puedes apoyar proyectos de %{count} partida. Si sigues adelante no podrás cambiar esta decisión. ¿Estás seguro?" one: "Sólo puedes apoyar proyectos en %{count} distritos. Si sigues adelante no podrás cambiar la elección de este distrito. ¿Estás seguro?"
other: "Sólo puedes apoyar proyectos de %{count} partidas. Si sigues adelante no podrás cambiar esta decisión. ¿Estás seguro?" other: "Sólo puedes apoyar proyectos en %{count} distritos. Si sigues adelante no podrás cambiar la elección de este distrito. ¿Estás seguro?"
supports: supports:
zero: Sin apoyos zero: Sin apoyos
one: 1 apoyo one: 1 apoyo

View File

@@ -770,7 +770,9 @@ es:
organization: Las organizaciones no pueden votar. organization: Las organizaciones no pueden votar.
unfeasible: No se pueden votar propuestas inviables. unfeasible: No se pueden votar propuestas inviables.
not_voting_allowed: El periodo de votación está cerrado. not_voting_allowed: El periodo de votación está cerrado.
different_heading_assigned: Sólo puedes apoyar proyectos de gasto de una partida different_heading_assigned:
one: "Sólo puedes apoyar proyectos de gasto de %{count} distrito"
other: "Sólo puedes apoyar proyectos de gasto de %{count} distritos"
welcome: welcome:
debates: debates:
description: Encontrarnos, debatir y compartir lo que nos parece importante en nuestra ciudad. description: Encontrarnos, debatir y compartir lo que nos parece importante en nuestra ciudad.