Skip to content

Commit

Permalink
Normalize locales
Browse files Browse the repository at this point in the history
  • Loading branch information
alecslupu committed Apr 30, 2024
1 parent 11ef4c2 commit e059d39
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 39 deletions.
48 changes: 36 additions & 12 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ en:
form:
attributes:
category_budget_rules:
minimum_budget_projects_number_too_high: The minimum number of projects is too high.
minimum_budget_projects_number_too_low: The minimum number of projects is too low.
minimum_budget_projects_number_too_high: The minimum number of projects
is too high.
minimum_budget_projects_number_too_low: The minimum number of projects
is too low.
percent_number_too_high: The computed percentage is too high.
percent_number_too_low: The percentage is too low.
decidim:
Expand All @@ -33,34 +35,56 @@ en:
assigned: Assigned %{total}
budget_excess:
budget_excess:
description_html: This project exceeds the maximum budget and can not be added. If you want, you can delete a project you have already selected, in order to be able to vote again according to your preferences.
description_html: This project exceeds the maximum budget and can not be
added. If you want, you can delete a project you have already selected,
in order to be able to vote again according to your preferences.
title_html: Maximum budget exceeded for <strong>%{category}</strong>
projects_excess:
description_html: This project exceeds the maximum number of projects and cannot be added. If you want, you can delete a project you have already selected, in order to be able to vote again according to your preferences.
description_html: This project exceeds the maximum number of projects and
cannot be added. If you want, you can delete a project you have already
selected, in order to be able to vote again according to your preferences.
title_html: Maximum projects exceeded for <strong>%{category}</strong>
criteria_met: Criteria met
criteria_not_met: Criteria not met
minimum_projects_rule:
description_html: What projects from <strong>%{category}</strong> category do you think we should allocate budget for? Select at least %{minimum_number} projects you want and vote according to your preferences to define the budget.
description_html: What projects from <strong>%{category}</strong> category
do you think we should allocate budget for? Select at least %{minimum_number}
projects you want and vote according to your preferences to define the budget.
inline_criteria_html: Minimum %{minimum_number}
instruction_html: "<li>Select at least %{minimum_number} projects belonging to <strong>%{category}</strong> you want and vote according to your preferences to define the budget.</li>"
instruction_html: "<li>Select at least %{minimum_number} projects belonging
to <strong>%{category}</strong> you want and vote according to your preferences
to define the budget.</li>"
projects_rule:
description_html: What projects from <strong>%{category}</strong> category do you think we should allocate budget for? Select at least %{minimum_number} and up to %{maximum_number} projects you want and vote according to your preferences to define the budget.
description_html: What projects from <strong>%{category}</strong> category
do you think we should allocate budget for? Select at least %{minimum_number}
and up to %{maximum_number} projects you want and vote according to your
preferences to define the budget.
inline_criteria_html: Minimum %{minimum_number} and maximum %{maximum_number}
instruction_html: "<li>Select at least %{minimum_number} and up to %{maximum_number} projects belonging to <strong>%{category}</strong> you want and vote according to your preferences to define the budget.</li>"
instruction_html: "<li>Select at least %{minimum_number} and up to %{maximum_number}
projects belonging to <strong>%{category}</strong> you want and vote according
to your preferences to define the budget.</li>"
projects_rule_maximum_only:
description_html: What projects from <strong>%{category}</strong> category do you think we should allocate budget for? Select up to %{maximum_number} projects you want and vote according to your preferences to define the budget.
description_html: What projects from <strong>%{category}</strong> category
do you think we should allocate budget for? Select up to %{maximum_number}
projects you want and vote according to your preferences to define the budget.
inline_criteria_html: Maximum %{maximum_number}
instruction_html: "<li>Select up to %{maximum_number} projects belonging to <strong>%{category}</strong> you want and vote according to your preferences to define the budget.</li>"
instruction_html: "<li>Select up to %{maximum_number} projects belonging to
<strong>%{category}</strong> you want and vote according to your preferences
to define the budget.</li>"
rule:
available_votes: Votes that can be assigned
remaining_budget: Remaining budget
remaining_votes: Required votes
required_votes: Votes required to assign
vote_threshold_percent_rule:
description_html: What projects from <strong>%{category}</strong> category do you think we should allocate budget for? Assign at least %{minimum_budget} to the projects you want and vote according to your preferences to define the budget.
description_html: What projects from <strong>%{category}</strong> category
do you think we should allocate budget for? Assign at least %{minimum_budget}
to the projects you want and vote according to your preferences to define
the budget.
inline_criteria_html: Minimum %{minimum_budget}
instruction_html: "<li>Assign at least %{minimum_budget} to the projects belonging to <strong>%{category}</strong> you want and vote according to your preferences to define the budget.</li>"
instruction_html: "<li>Assign at least %{minimum_budget} to the projects belonging
to <strong>%{category}</strong> you want and vote according to your preferences
to define the budget.</li>"
components:
budget_category_voting:
name: BudgetCategoryVoting
54 changes: 39 additions & 15 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,21 @@ fr:
budget:
attributes:
category_budget_rules:
duplicate: Une seule catégorie a eu deux règles assignées. Une catégorie ne peut avoir qu'une seule règle.
invalid: Règles de budget par catégorie non valides. Veuillez revoir les configurations.
duplicate: Une seule catégorie a eu deux règles assignées. Une catégorie
ne peut avoir qu'une seule règle.
invalid: Règles de budget par catégorie non valides. Veuillez revoir
les configurations.
category_budget_rule:
attributes:
decidim_category_id:
duplicate: Il existe déjà une autre règle pour cette catégorie.
form:
attributes:
category_budget_rules:
minimum_budget_projects_number_too_high: Le nombre minimum de projets est trop élevé.
minimum_budget_projects_number_too_low: Le nombre minimum de projets est trop faible.
minimum_budget_projects_number_too_high: Le nombre minimum de projets
est trop élevé.
minimum_budget_projects_number_too_low: Le nombre minimum de projets
est trop faible.
percent_number_too_high: Le pourcentage calculé est trop élevé.
percent_number_too_low: Le pourcentage est trop faible.
decidim:
Expand All @@ -30,37 +34,57 @@ fr:
form:
add: Ajouter
category_budget_rules: Règles budgétaires de la catégorie
assigned: '%{total} assigné'
assigned: "%{total} assigné"
budget_excess:
budget_excess:
description_html: Ce projet dépasse le budget maximum et ne peut pas être ajouté. Si vous le souhaitez, vous pouvez supprimer un projet que vous avez déjà sélectionné puis voter de nouveau selon vos préférences.
description_html: Ce projet dépasse le budget maximum et ne peut pas être
ajouté. Si vous le souhaitez, vous pouvez supprimer un projet que vous
avez déjà sélectionné puis voter de nouveau selon vos préférences.
title_html: Budget maximal dépassé pour la catégorie <strong>%{category}</strong>
projects_excess:
description_html: Ce projet dépasse le nombre maximum de projets et ne peut pas être ajouté. Si vous le souhaitez, vous pouvez supprimer un projet que vous avez déjà sélectionné puis voter de nouveau selon vos préférences.
description_html: Ce projet dépasse le nombre maximum de projets et ne peut
pas être ajouté. Si vous le souhaitez, vous pouvez supprimer un projet
que vous avez déjà sélectionné puis voter de nouveau selon vos préférences.
title_html: Budget maximal dépassé pour la catégorie <strong>%{category}</strong>
criteria_met: Critères remplis
criteria_not_met: Critères non remplis
minimum_projects_rule:
description_html: Pour quels projets de la catégorie <strong>%{category}</strong> pensez-vous que nous devrions allouer le budget ? Sélectionnez au moins %{minimum_number} projets que vous souhaitez et votez en fonction de vos préférences pour définir le budget.
description_html: Pour quels projets de la catégorie <strong>%{category}</strong>
pensez-vous que nous devrions allouer le budget ? Sélectionnez au moins
%{minimum_number} projets que vous souhaitez et votez en fonction de vos
préférences pour définir le budget.
inline_criteria_html: Minimum %{minimum_number}
instruction_html: "<li>Sélectionnez au moins %{minimum_number} projets appartenant à la catégorie <strong>%{category}</strong></li>"
instruction_html: "<li>Sélectionnez au moins %{minimum_number} projets appartenant
à la catégorie <strong>%{category}</strong></li>"
projects_rule:
description_html: Pour quels projets de la catégorie <strong>%{category}</strong> pensez-vous que nous devrions allouer le budget ? Sélectionnez au moins %{minimum_number} projets que vous souhaitez et votez en fonction de vos préférences pour définir le budget.
description_html: Pour quels projets de la catégorie <strong>%{category}</strong>
pensez-vous que nous devrions allouer le budget ? Sélectionnez au moins
%{minimum_number} projets que vous souhaitez et votez en fonction de vos
préférences pour définir le budget.
inline_criteria_html: Minimum %{minimum_number} et maximum %{maximum_number}
instruction_html: "<li>Sélectionnez au moins %{minimum_number} et au plus %{maximum_number} projets appartenant à la catégorie <strong>%{category}</strong></li>"
instruction_html: "<li>Sélectionnez au moins %{minimum_number} et au plus
%{maximum_number} projets appartenant à la catégorie <strong>%{category}</strong></li>"
projects_rule_maximum_only:
description_html: Pour quels projets de la catégorie <strong>%{category}</strong> pensez-vous que nous devrions allouer le budget ? Sélectionnez au moins %{maximum_number} projets que vous souhaitez et votez en fonction de vos préférences pour définir le budget.
description_html: Pour quels projets de la catégorie <strong>%{category}</strong>
pensez-vous que nous devrions allouer le budget ? Sélectionnez au moins
%{maximum_number} projets que vous souhaitez et votez en fonction de vos
préférences pour définir le budget.
inline_criteria_html: Maximum %{maximum_number}
instruction_html: "<li>Sélectionnez au plus %{maximum_number} projets appartenant à la catégorie <strong>%{category}</strong></li>"
instruction_html: "<li>Sélectionnez au plus %{maximum_number} projets appartenant
à la catégorie <strong>%{category}</strong></li>"
rule:
available_votes: Votes qui peuvent être assignés
remaining_budget: Budget restant
remaining_votes: Votes requis
required_votes: Votes requis
vote_threshold_percent_rule:
description_html: Pour quels projets de la catégorie <strong>%{category}</strong> pensez-vous que nous devrions allouer le budget ? Sélectionnez au moins %{minimum_budget} projets que vous souhaitez et votez en fonction de vos préférences pour définir le budget.
description_html: Pour quels projets de la catégorie <strong>%{category}</strong>
pensez-vous que nous devrions allouer le budget ? Sélectionnez au moins
%{minimum_budget} projets que vous souhaitez et votez en fonction de vos
préférences pour définir le budget.
inline_criteria_html: Minimum %{minimum_budget}
instruction_html: "<li>Sélectionnez au moins %{minimum_budget} projets appartenant à la catégorie <strong>%{category}</strong></li>"
instruction_html: "<li>Sélectionnez au moins %{minimum_budget} projets appartenant
à la catégorie <strong>%{category}</strong></li>"
components:
budget_category_voting:
name: BudgetCategoryVoting
48 changes: 36 additions & 12 deletions config/locales/ro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ ro:
form:
attributes:
category_budget_rules:
minimum_budget_projects_number_too_high: The minimum number of projects is too high.
minimum_budget_projects_number_too_low: The minimum number of projects is too low.
minimum_budget_projects_number_too_high: The minimum number of projects
is too high.
minimum_budget_projects_number_too_low: The minimum number of projects
is too low.
percent_number_too_high: The computed percentage is too high.
percent_number_too_low: The percentage is too low.
decidim:
Expand All @@ -33,34 +35,56 @@ ro:
assigned: Assigned %{total}
budget_excess:
budget_excess:
description_html: This project exceeds the maximum budget and can not be added. If you want, you can delete a project you have already selected, in order to be able to vote again according to your preferences.
description_html: This project exceeds the maximum budget and can not be
added. If you want, you can delete a project you have already selected,
in order to be able to vote again according to your preferences.
title_html: Maximum budget exceeded for <strong>%{category}</strong>
projects_excess:
description_html: This project exceeds the maximum number of projects and cannot be added. If you want, you can delete a project you have already selected, in order to be able to vote again according to your preferences.
description_html: This project exceeds the maximum number of projects and
cannot be added. If you want, you can delete a project you have already
selected, in order to be able to vote again according to your preferences.
title_html: Maximum projects exceeded for <strong>%{category}</strong>
criteria_met: Criteria met
criteria_not_met: Criteria not met
minimum_projects_rule:
description_html: What projects from <strong>%{category}</strong> category do you think we should allocate budget for? Select at least %{minimum_number} projects you want and vote according to your preferences to define the budget.
description_html: What projects from <strong>%{category}</strong> category
do you think we should allocate budget for? Select at least %{minimum_number}
projects you want and vote according to your preferences to define the budget.
inline_criteria_html: Minimum %{minimum_number}
instruction_html: "<li>Select at least %{minimum_number} projects belonging to <strong>%{category}</strong> you want and vote according to your preferences to define the budget.</li>"
instruction_html: "<li>Select at least %{minimum_number} projects belonging
to <strong>%{category}</strong> you want and vote according to your preferences
to define the budget.</li>"
projects_rule:
description_html: What projects from <strong>%{category}</strong> category do you think we should allocate budget for? Select at least %{minimum_number} and up to %{maximum_number} projects you want and vote according to your preferences to define the budget.
description_html: What projects from <strong>%{category}</strong> category
do you think we should allocate budget for? Select at least %{minimum_number}
and up to %{maximum_number} projects you want and vote according to your
preferences to define the budget.
inline_criteria_html: Minimum %{minimum_number} and maximum %{maximum_number}
instruction_html: "<li>Select at least %{minimum_number} and up to %{maximum_number} projects belonging to <strong>%{category}</strong> you want and vote according to your preferences to define the budget.</li>"
instruction_html: "<li>Select at least %{minimum_number} and up to %{maximum_number}
projects belonging to <strong>%{category}</strong> you want and vote according
to your preferences to define the budget.</li>"
projects_rule_maximum_only:
description_html: What projects from <strong>%{category}</strong> category do you think we should allocate budget for? Select up to %{maximum_number} projects you want and vote according to your preferences to define the budget.
description_html: What projects from <strong>%{category}</strong> category
do you think we should allocate budget for? Select up to %{maximum_number}
projects you want and vote according to your preferences to define the budget.
inline_criteria_html: Maximum %{maximum_number}
instruction_html: "<li>Select up to %{maximum_number} projects belonging to <strong>%{category}</strong> you want and vote according to your preferences to define the budget.</li>"
instruction_html: "<li>Select up to %{maximum_number} projects belonging to
<strong>%{category}</strong> you want and vote according to your preferences
to define the budget.</li>"
rule:
available_votes: Votes that can be assigned
remaining_budget: Remaining budget
remaining_votes: Required votes
required_votes: Votes required to assign
vote_threshold_percent_rule:
description_html: What projects from <strong>%{category}</strong> category do you think we should allocate budget for? Assign at least %{minimum_budget} to the projects you want and vote according to your preferences to define the budget.
description_html: What projects from <strong>%{category}</strong> category
do you think we should allocate budget for? Assign at least %{minimum_budget}
to the projects you want and vote according to your preferences to define
the budget.
inline_criteria_html: Minimum %{minimum_budget}
instruction_html: "<li>Assign at least %{minimum_budget} to the projects belonging to <strong>%{category}</strong> you want and vote according to your preferences to define the budget.</li>"
instruction_html: "<li>Assign at least %{minimum_budget} to the projects belonging
to <strong>%{category}</strong> you want and vote according to your preferences
to define the budget.</li>"
components:
budget_category_voting:
name: BudgetCategoryVoting

0 comments on commit e059d39

Please sign in to comment.