diff --git a/app/views/admin/application/property/_publication.html.erb b/app/views/admin/application/property/_publication.html.erb index 55171777d6fe4cd8b958fabfae37e57d9a15498d..99e86efcf7febe6041ae007b3f753815c1bf82c6 100644 --- a/app/views/admin/application/property/_publication.html.erb +++ b/app/views/admin/application/property/_publication.html.erb @@ -9,6 +9,6 @@ i18n_key = "admin.#{object.class.to_s.pluralize.downcase.gsub('::', '.')}" </span> <% elsif object.published_in_the_future? %> <span class="badge bg-secondary"> - <%= t("#{i18n_key}.published_on", date: l(object.published_at.to_date)) %> + <%= t("#{i18n_key}.planned_on", date: l(object.published_at.to_date)) %> </span> <% end %> diff --git a/config/locales/communication/en.yml b/config/locales/communication/en.yml index 145736d685e7ccb50aeded6a555e04a82df0b760..04b27db534c041e55da4ce001be9f51b27b58acd 100644 --- a/config/locales/communication/en.yml +++ b/config/locales/communication/en.yml @@ -302,6 +302,7 @@ en: draft: Draft in: in %{categories} pinned_status: Pinned status + planned_on: Publication planned on %{date} published_on: Published on %{date} publish: button: Publish @@ -332,6 +333,7 @@ en: and_pinned: and pinned by: by %{author} draft: Draft + planned_on: Publication planned on %{date} published_on: Published on %{date} manage_authors: Manage authors number_of_posts: Nunber of posts diff --git a/config/locales/communication/fr.yml b/config/locales/communication/fr.yml index d33077a7819a1a3be37f5171425d733f6eee6db7..478fe40a9d7e58b6698542050afcb3c51d6bc116 100644 --- a/config/locales/communication/fr.yml +++ b/config/locales/communication/fr.yml @@ -302,6 +302,7 @@ fr: draft: Brouillon in: dans %{categories} pinned_status: Mise en avant + planned_on: Publication prévue le %{date} published_on: Publiée le %{date} publish: button: Publier @@ -332,6 +333,7 @@ fr: and_pinned: et mise en avant by: par %{author} draft: Brouillon + planned_on: Publication prévue le %{date} published_on: Publiée le %{date} manage_authors: Gérer les auteur·rice·s number_of_posts: Nombre d'actualités