From 06bf01e65e1b7c9082806aac2d08deeb151e5ca2 Mon Sep 17 00:00:00 2001 From: K8Sewell Date: Fri, 13 Sep 2024 12:41:49 -0500 Subject: [PATCH] Use Date as label for date issued --- app/views/hyrax/base/_attribute_rows.html.erb | 2 +- config/locales/dog_biscuits.en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/hyrax/base/_attribute_rows.html.erb b/app/views/hyrax/base/_attribute_rows.html.erb index 49b6371a..f62393bd 100644 --- a/app/views/hyrax/base/_attribute_rows.html.erb +++ b/app/views/hyrax/base/_attribute_rows.html.erb @@ -20,7 +20,7 @@ <%= presenter.attribute_to_html(:remote_url, render_as: :external_link) %> <%= presenter.attribute_to_html(:rights_statement, render_as: :rights_statement, html_dl: true) %> <%= presenter.attribute_to_html(:extent) %> -<%= presenter.attribute_to_html(:date_issued, label: 'Date Issued') %> +<%= presenter.attribute_to_html(:date_issued, label: I18n.t('dog_biscuits.fields.date')) %> <%= presenter.attribute_to_html(:alt, label: 'Publication GeoCode') %> <%= presenter.attribute_to_html(:embargo_release_date, render_as: :date, html_dl: true) %> <%= presenter.attribute_to_html(:lease_expiration_date, render_as: :date, html_dl: true) %> diff --git a/config/locales/dog_biscuits.en.yml b/config/locales/dog_biscuits.en.yml index 0bc24d70..d50c5ae0 100644 --- a/config/locales/dog_biscuits.en.yml +++ b/config/locales/dog_biscuits.en.yml @@ -26,7 +26,7 @@ en: date_created: Date created date_collected: Date collected date_copyrighted: Date copyrighted - date_issued: Date issued + date_issued: Date date_of_award: Date of award date_published: Publication date date_submitted: Date submitted