Skip to content
Snippets Groups Projects
Commit c9eb5a85 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

planned

parent 4b195c97
No related branches found
No related tags found
No related merge requests found
......@@ -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 %>
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment