Add SDG content section
This commit is contained in:
@@ -45,6 +45,7 @@ data:
|
||||
- config/locales/%{locale}/user_groups.yml
|
||||
- config/locales/%{locale}/i18n.yml
|
||||
- config/locales/%{locale}/milestones.yml
|
||||
- config/locales/%{locale}/sdg_management.yml
|
||||
- config/locales/%{locale}/stats.yml
|
||||
|
||||
# Locale files to write new keys to, based on a list of key pattern => file rules. Matched from top to bottom:
|
||||
|
||||
@@ -72,6 +72,9 @@ en:
|
||||
proposal:
|
||||
one: "Citizen proposal"
|
||||
other: "Citizen proposals"
|
||||
sdg/goal:
|
||||
one: "goal"
|
||||
other: "goals"
|
||||
site_customization/page:
|
||||
one: Custom page
|
||||
other: Custom pages
|
||||
@@ -308,6 +311,10 @@ en:
|
||||
signable_type: "Signable type"
|
||||
signable_id: "Signable ID"
|
||||
document_numbers: "Documents numbers"
|
||||
sdg/goal:
|
||||
code: "Code"
|
||||
title: "Title"
|
||||
description: "Description"
|
||||
site_customization/page:
|
||||
content: Content
|
||||
created_at: Created at
|
||||
|
||||
6
config/locales/en/sdg_management.yml
Normal file
6
config/locales/en/sdg_management.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
en:
|
||||
sdg_management:
|
||||
header:
|
||||
title: "SDG content"
|
||||
menu:
|
||||
sdg_content: "Goals and Targets"
|
||||
@@ -72,6 +72,9 @@ es:
|
||||
proposal:
|
||||
one: "Propuesta ciudadana"
|
||||
other: "Propuestas ciudadanas"
|
||||
sdg/goal:
|
||||
one: "objetivo"
|
||||
other: "objetivos"
|
||||
site_customization/page:
|
||||
one: Página
|
||||
other: Páginas
|
||||
@@ -305,6 +308,10 @@ es:
|
||||
proposal_notification:
|
||||
body: "Mensaje"
|
||||
title: "Título"
|
||||
sdg/goal:
|
||||
code: "Código"
|
||||
title: "Título"
|
||||
description: "Descripción"
|
||||
signature_sheet:
|
||||
title: "Título"
|
||||
signable_type: "Tipo de hoja de firmas"
|
||||
|
||||
6
config/locales/es/sdg_management.yml
Normal file
6
config/locales/es/sdg_management.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
es:
|
||||
sdg_management:
|
||||
header:
|
||||
title: "Contenido ODS"
|
||||
menu:
|
||||
sdg_content: "Objetivos y Metas"
|
||||
@@ -21,6 +21,7 @@ Rails.application.routes.draw do
|
||||
draw :poll
|
||||
draw :proposal
|
||||
draw :related_content
|
||||
draw :sdg_management
|
||||
draw :tag
|
||||
draw :user
|
||||
draw :valuation
|
||||
|
||||
5
config/routes/sdg_management.rb
Normal file
5
config/routes/sdg_management.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
namespace :sdg_management do
|
||||
root to: "goals#index"
|
||||
|
||||
resources :goals, only: [:index]
|
||||
end
|
||||
Reference in New Issue
Block a user