From ced5e4dbdfae68e308ee1015f042fcb2ce633bf1 Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Mon, 11 Apr 2022 10:52:53 +0200 Subject: [PATCH] wording --- app/views/admin/communication/websites/_sidebar.html.erb | 2 +- config/locales/communication/en.yml | 1 + config/locales/communication/fr.yml | 1 + db/schema.rb | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/admin/communication/websites/_sidebar.html.erb b/app/views/admin/communication/websites/_sidebar.html.erb index 0dc2d76f0..d9c407113 100644 --- a/app/views/admin/communication/websites/_sidebar.html.erb +++ b/app/views/admin/communication/websites/_sidebar.html.erb @@ -10,7 +10,7 @@ ability: can?(:read, @website) }, { - title: Communication::Website::Page.model_name.human(count: 2), + title: t('admin.communication.website.pages.structure'), path: admin_communication_website_pages_path(website_id: @website), ability: can?(:read, Communication::Website::Page) }, diff --git a/config/locales/communication/en.yml b/config/locales/communication/en.yml index 040b292d9..d5a598f49 100644 --- a/config/locales/communication/en.yml +++ b/config/locales/communication/en.yml @@ -153,6 +153,7 @@ en: website: pages: delete_special_page_notice: Can't delete this page + structure: Structure communication: authors: one: Author diff --git a/config/locales/communication/fr.yml b/config/locales/communication/fr.yml index 2d3b1caf6..fcbe1f5a3 100644 --- a/config/locales/communication/fr.yml +++ b/config/locales/communication/fr.yml @@ -153,6 +153,7 @@ fr: website: pages: delete_special_page_notice: Impossible de supprimer cette page + structure: Arborescence communication: authors: one: Auteur·rice diff --git a/db/schema.rb b/db/schema.rb index 0f82db665..2417eca45 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -83,7 +83,7 @@ ActiveRecord::Schema.define(version: 2022_04_08_105051) do t.uuid "university_id", null: false t.string "about_type" t.uuid "about_id" - t.integer "template_kind", default: 0, null: false + t.integer "template", default: 0, null: false t.jsonb "data" t.integer "position", default: 0, null: false t.datetime "created_at", precision: 6, null: false -- GitLab