Use translations for official level names seeds
This commit is contained in:
@@ -90,11 +90,11 @@ class Setting < ApplicationRecord
|
|||||||
"months_to_archive_proposals": 12,
|
"months_to_archive_proposals": 12,
|
||||||
# Names for the moderation console, as a hint for moderators
|
# Names for the moderation console, as a hint for moderators
|
||||||
# to know better how to assign users with official positions
|
# to know better how to assign users with official positions
|
||||||
"official_level_1_name": "Cargo oficial 1",
|
"official_level_1_name": I18n.t("seeds.settings.official_level_1_name"),
|
||||||
"official_level_2_name": "Cargo oficial 2",
|
"official_level_2_name": I18n.t("seeds.settings.official_level_2_name"),
|
||||||
"official_level_3_name": "Cargo oficial 3",
|
"official_level_3_name": I18n.t("seeds.settings.official_level_3_name"),
|
||||||
"official_level_4_name": "Cargo oficial 4",
|
"official_level_4_name": I18n.t("seeds.settings.official_level_4_name"),
|
||||||
"official_level_5_name": "Cargo oficial 5",
|
"official_level_5_name": I18n.t("seeds.settings.official_level_5_name"),
|
||||||
# CONSUL installation's organization name
|
# CONSUL installation's organization name
|
||||||
"org_name": "CONSUL",
|
"org_name": "CONSUL",
|
||||||
"process.budgets": true,
|
"process.budgets": true,
|
||||||
|
|||||||
@@ -118,6 +118,7 @@ ignore_missing:
|
|||||||
- "devise.failure.invalid"
|
- "devise.failure.invalid"
|
||||||
- "devise.registrations.destroyed"
|
- "devise.registrations.destroyed"
|
||||||
- "devise.password_expired.*"
|
- "devise.password_expired.*"
|
||||||
|
- "seeds.settings.*"
|
||||||
|
|
||||||
## Consider these keys used:
|
## Consider these keys used:
|
||||||
ignore_unused:
|
ignore_unused:
|
||||||
@@ -206,7 +207,7 @@ ignore_unused:
|
|||||||
- admin.stats.polls.expired
|
- admin.stats.polls.expired
|
||||||
- "stats.polls.*_percentage"
|
- "stats.polls.*_percentage"
|
||||||
- landings.cambia_tu_ciudad.*
|
- landings.cambia_tu_ciudad.*
|
||||||
- 'seeds.settings.*'
|
- "seeds.settings.*"
|
||||||
- "dashboard.polls.*.submit"
|
- "dashboard.polls.*.submit"
|
||||||
####
|
####
|
||||||
## Exclude these keys from the `i18n-tasks eq-base" report:
|
## Exclude these keys from the `i18n-tasks eq-base" report:
|
||||||
|
|||||||
@@ -12,11 +12,6 @@ section "Creating Settings" do
|
|||||||
"transparent and democratic government",
|
"transparent and democratic government",
|
||||||
"meta_keywords": "citizen participation, open government",
|
"meta_keywords": "citizen participation, open government",
|
||||||
"meta_title": "CONSUL",
|
"meta_title": "CONSUL",
|
||||||
"official_level_1_name": I18n.t("seeds.settings.official_level_1_name"),
|
|
||||||
"official_level_2_name": I18n.t("seeds.settings.official_level_2_name"),
|
|
||||||
"official_level_3_name": I18n.t("seeds.settings.official_level_3_name"),
|
|
||||||
"official_level_4_name": I18n.t("seeds.settings.official_level_4_name"),
|
|
||||||
"official_level_5_name": I18n.t("seeds.settings.official_level_5_name"),
|
|
||||||
"org_name": "CONSUL",
|
"org_name": "CONSUL",
|
||||||
"proposal_code_prefix": "MAD",
|
"proposal_code_prefix": "MAD",
|
||||||
"proposal_notification_minimum_interval_in_days": 0,
|
"proposal_notification_minimum_interval_in_days": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user