diff --git a/app/views/admin/application/summary/_form.html.erb b/app/views/admin/application/summary/_form.html.erb index 3fdf29c4744dbdab83e3479023ad2614e2966382..a81bccd8bd649f8f7adc330a905cffb122db651f 100644 --- a/app/views/admin/application/summary/_form.html.erb +++ b/app/views/admin/application/summary/_form.html.erb @@ -1,5 +1,6 @@ <%= f.input :summary, - label: t('admin.summary'), + label: t('admin.summary.label'), + hint: t('admin.summary.hint'), input_html: { value: about.summary&.gsub('&', '&') } %> diff --git a/app/views/admin/application/summary/_show.html.erb b/app/views/admin/application/summary/_show.html.erb index 76a3ba7398e5df3e9d13e081e11e044315a7bb98..260b5ee9fe461a46f0a31e0df40f355fe337f570 100644 --- a/app/views/admin/application/summary/_show.html.erb +++ b/app/views/admin/application/summary/_show.html.erb @@ -1,7 +1,7 @@ <% small ||= false %> -<%= osuny_panel t('admin.summary'), small: small do %> +<%= osuny_panel t('admin.summary.label'), small: small do %> <% if about.summary.present? %> <p class="lead"><%= sanitize about.summary %></p> <% else %> diff --git a/config/locales/communication/en.yml b/config/locales/communication/en.yml index 53d7b5157d2a2120082a6d5a2df5f31cafca3a94..9b555cc0a5e5bc0f6efbfe99f3ef2bf326f4e952 100644 --- a/config/locales/communication/en.yml +++ b/config/locales/communication/en.yml @@ -844,5 +844,6 @@ en: breadcrumb_title: If the field is empty, page title will be used in breadcrumbs. full_width: On large screens, a full width page uses all available space for the content. This is good for landing pages, or to make them spectacular. If the page is not full width, the content column will be smaller to make reading easier. The unused space might be used for a table of contents. text: This field is deprecated, content will not be displayed on the website. + header_text: By default, this text replaces the title. On some sites, it is displayed in addition. communication_website_post: text: This field is deprecated, content will not be displayed on the website. diff --git a/config/locales/communication/fr.yml b/config/locales/communication/fr.yml index a38a79a3dc2a5fa1751949fa57a2f0c893f3c0e5..a3022cecf73c1e3b4e3be4114b8a5c4053bb0b15 100644 --- a/config/locales/communication/fr.yml +++ b/config/locales/communication/fr.yml @@ -182,7 +182,7 @@ fr: featured_image: Image à la une featured_image_alt: Texte alternatif full_width: Pleine largeur - header_text: Titre affiché dans le header + header_text: Titre affiché en haut de page parent: Page parente path: Chemin published: Publié ? @@ -841,5 +841,6 @@ fr: breadcrumb_title: Si ce champ est vide le titre de la page sera utilisé dans le fil d'Ariane. full_width: Sur de grands écrans, la page en pleine largeur utilisera tout l'espace disponible, ce qui est pertinent pour événementialiser une page. Si la page n'est pas en pleine largeur, l'espace dédié au contenu sera réduit pour faciliter la lecture, et l'espace libre pourra être utilisé pour une table des matières facilitant la navigation. text: Ce champ est déprécié, le contenu ne s'affichera pas sur le site. + header_text: Par défaut, ce texte remplace le titre. Dans certains sites, il s'affiche en plus. communication_website_post: text: Ce champ est déprécié, le contenu ne s'affichera pas sur le site. diff --git a/config/locales/en.yml b/config/locales/en.yml index a5eb4f89bc7eb1d0c59d4f601314ef7a2ab26f0e..df0d2e1554c5f0c31fe83fef230cfaccd6b453ce 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -128,7 +128,7 @@ en: sentence_html: Value inherited from %{link} status: Inherited value meta_description: - hint: Plain text without HTML, dedicated to SEO + hint: Plain text without HTML, dedicated to Search Engine Optimization (SEO). label: Meta description pending_tasks: label: Background tasks pending @@ -141,7 +141,9 @@ en: successfully_quit_html: "<i>%{model}</i> successfully quit <i>%{target}</i>." successfully_removed_html: "<i>%{model}</i> was successfully removed." successfully_updated_html: "<i>%{model}</i> was successfully updated." - summary: Summary + summary: + label: Summary + hint: A short text, like a heading for an article. Don't write all the content here, there are blocks for that. users_alerts: already_confirmed: "Your account has already been confirmed." not_locked_html: '<i>%{model}</i> was not locked.' diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 5557ca5e1f8dd3e937c7f42fcb09a3172731a7cc..b46a688831e8b05a28a17855ea1ca27bcbb26218 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -128,7 +128,7 @@ fr: sentence_html: Valeur héritée de %{link} status: Valeur héritée meta_description: - hint: Texte simple, dédié au SEO + hint: Texte simple, dédié au à l'optimisation pour les moteurs de recherche (Search Engine Optimization, SEO). label: Meta description pending_tasks: label: Tâches en cours de traitement @@ -141,7 +141,9 @@ fr: successfully_quit_html: "<i>%{model}</i> a bien quitté <i>%{target}</i>." successfully_removed_html: "<i>%{model}</i> a bien été retiré(e)." successfully_updated_html: "<i>%{model}</i> a bien été mis(e) à jour." - summary: Résumé + summary: + label: Résumé + hint: Un texte court, comme un chapô pour un article. Ne mettez pas tout le contenu ici, pour ça, il y a les blocs ! users_alerts: already_confirmed: "Votre compte est déjà confirmé." not_locked_html: "<i>%{model}</i> n'était pas verrouillé(e)."