diff --git a/.dassie/app/views/layouts/application.html.erb b/.dassie/app/views/layouts/application.html.erb index e6484af976..18ed00c7c4 100644 --- a/.dassie/app/views/layouts/application.html.erb +++ b/.dassie/app/views/layouts/application.html.erb @@ -1,7 +1,7 @@
-<%= t('hyrax.footer.service_html') %> <%= t('hyrax.product_name') %> v<%= Hyrax::VERSION %>
Commit <%= link_to ENV.fetch('BUILD_GITSHA', "Unknown")[0..6], "https://github.com/samvera/hyrax/commit/#{ENV.fetch('BUILD_GITSHA', 'main')}" %> - Built at <%= ENV.fetch('BUILD_TIMESTAMP', 'Unknown') %> + <%= I18n.t('shared.footer.built_at', time: ENV.fetch('BUILD_TIMESTAMP', 'Unknown'), :default => "Built at %{time}"); %>
diff --git a/app/views/hyrax/admin/admin_sets/_form_participants.html.erb b/app/views/hyrax/admin/admin_sets/_form_participants.html.erb index b146263e82..24eeaeba46 100644 --- a/app/views/hyrax/admin/admin_sets/_form_participants.html.erb +++ b/app/views/hyrax/admin/admin_sets/_form_participants.html.erb @@ -20,9 +20,8 @@ class: 'form-control' %>| - | Title | -Date Uploaded | -Visibility | -Status | -Actions | +<%= I18n.t("hyrax.admin.admin_sets.show_document_list.title", :default => "Title") %> | +<%= I18n.t("hyrax.admin.admin_sets.show_document_list.date_uploaded", :default => "Date Uploaded") %> | +<%= I18n.t("hyrax.admin.admin_sets.show_document_list.visibility", :default => "Visibility") %> | +<%= I18n.t("hyrax.admin.admin_sets.show_document_list.status", :default => "Status") %> | +<%= I18n.t("hyrax.admin.admin_sets.show_document_list.actions", :default => "Actions") %> | |||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| diff --git a/app/views/hyrax/admin/admin_sets/index.html.erb b/app/views/hyrax/admin/admin_sets/index.html.erb index b5c45c07fd..b9e7cd8917 100644 --- a/app/views/hyrax/admin/admin_sets/index.html.erb +++ b/app/views/hyrax/admin/admin_sets/index.html.erb @@ -16,10 +16,10 @@ | |||||||||||||||||||||||||||||||||||||||
| Title | -Date created | -Creator | -Works | +<%= I18n.t("hyrax.admin.admin_sets.index.title", :default => "Title") %> | +<%= I18n.t("hyrax.admin.admin_sets.index.date_created", :default => "Date created") %> | +<%= I18n.t("hyrax.admin.admin_sets.index.creator", :default => "Creator") %> | +<%= I18n.t("hyrax.admin.admin_sets.index.works", :default => "Works") %> |
|---|
No administrative sets have been created.
+<%= I18n.t("hyrax.admin.admin_sets.index.no_administrative_sets_have_been_created", :default => "No administrative sets have been created.") %>
<% end %> diff --git a/app/views/hyrax/admin/analytics/work_reports/_top_works.html.erb b/app/views/hyrax/admin/analytics/work_reports/_top_works.html.erb index 5031fa77b9..fe29ed5324 100644 --- a/app/views/hyrax/admin/analytics/work_reports/_top_works.html.erb +++ b/app/views/hyrax/admin/analytics/work_reports/_top_works.html.erb @@ -12,7 +12,7 @@| Status | +<%= I18n.t("hyrax.admin.features.index.status", :default => "Status") %> | <%= t('.feature') %> | <%= t('.description') %> | <%= t('.action') %> | diff --git a/app/views/hyrax/admin/stats/_date_form.html.erb b/app/views/hyrax/admin/stats/_date_form.html.erb index c91e59ecfd..4d17e39676 100644 --- a/app/views/hyrax/admin/stats/_date_form.html.erb +++ b/app/views/hyrax/admin/stats/_date_form.html.erb @@ -4,5 +4,5 @@ <%= f.label "end [defaults to now]" %> - <%= f.submit "Load Stats" %> + <%= f.submit I18n.t("hyrax.admin.stats.date_form.load_stats", :default => "Load Stats") %> <%- end %> diff --git a/app/views/hyrax/admin/stats/_deposits.html.erb b/app/views/hyrax/admin/stats/_deposits.html.erb index f6cb1c9328..424da45a64 100644 --- a/app/views/hyrax/admin/stats/_deposits.html.erb +++ b/app/views/hyrax/admin/stats/_deposits.html.erb @@ -1,9 +1,9 @@ -
|---|---|---|---|---|
| This table will only display data if works are assigned to collections | +<%= I18n.t("hyrax.base.form_member_of_collections.display_data_info", :default => "This table will only display data if works are assigned to collections") %> | |||
| Member of Collections | +<%= I18n.t("hyrax.base.member_of_collections.member_of_collections", :default => "Member of Collections") %> |
<%= t('.persistence') %>
- <%= f.submit "Save changes", class: 'btn btn-primary field-save', id: "#{term.to_s}_save" %>
+ <%= f.submit I18n.t("hyrax.batch_edits.edit.save_changes", :default => "Save changes"), class: 'btn btn-primary field-save', id: "#{term.to_s}_save" %>
<%= t('helpers.action.cancel') %>
@@ -80,7 +80,7 @@
<%= hidden_field_tag "batch_document_ids[]", batch_id %>
<% end %>
- <%= f.submit "Save changes", class: 'btn btn-primary field-save', id: "permissions_visibility_save" %>
+ <%= f.submit I18n.t("hyrax.batch_edits.edit.save_changes", :default => "Save changes"), class: 'btn btn-primary field-save', id: "permissions_visibility_save" %>
<%= t('helpers.action.cancel') %>
@@ -110,7 +110,7 @@
<%= hidden_field_tag "batch_document_ids[]", batch_id %>
<% end %>
- <%= f.submit "Save changes", class: 'btn btn-primary field-save', id: "permissions_sharing_save" %>
+ <%= f.submit I18n.t("hyrax.batch_edits.edit.save_changes", :default => "Save changes"), class: 'btn btn-primary field-save', id: "permissions_sharing_save" %>
<%= t('helpers.action.cancel') %>
diff --git a/app/views/hyrax/batch_select/_add_button.html.erb b/app/views/hyrax/batch_select/_add_button.html.erb
index a66c5b82ab..7f80e5ceb3 100644
--- a/app/views/hyrax/batch_select/_add_button.html.erb
+++ b/app/views/hyrax/batch_select/_add_button.html.erb
@@ -1,3 +1,3 @@
<%= check_box_tag "batch_document_ids[]", document.id, false, class:"batch_document_selector", id: "batch_document_#{document.id}", checks: "active", 'aria-labelledby': "batch_document_#{document.id}" %>
-
\ No newline at end of file
+
diff --git a/app/views/hyrax/citations/file.html.erb b/app/views/hyrax/citations/file.html.erb
index e69de29bb2..8b13789179 100644
--- a/app/views/hyrax/citations/file.html.erb
+++ b/app/views/hyrax/citations/file.html.erb
@@ -0,0 +1 @@
+
diff --git a/app/views/hyrax/citations/work.html.erb b/app/views/hyrax/citations/work.html.erb
index c14253739b..ae92b99ae5 100644
--- a/app/views/hyrax/citations/work.html.erb
+++ b/app/views/hyrax/citations/work.html.erb
@@ -1,13 +1,13 @@
<%= t('.citation_formats') %>-MLA+<%= I18n.t("hyrax.citations.work.mla", :default => "MLA") %><%= export_as_mla_citation(@presenter) %>- APA+<%= I18n.t("hyrax.citations.work.apa", :default => "APA") %><%= export_as_apa_citation(@presenter) %>- Chicago+<%= I18n.t("hyrax.citations.work.chicago", :default => "Chicago") %><%= export_as_chicago_citation(@presenter) %>diff --git a/app/views/hyrax/content_blocks/_form.html.erb b/app/views/hyrax/content_blocks/_form.html.erb index 142a868574..f0f849a6ff 100644 --- a/app/views/hyrax/content_blocks/_form.html.erb +++ b/app/views/hyrax/content_blocks/_form.html.erb @@ -23,7 +23,7 @@ <%= simple_form_for ContentBlock.for(:announcement), url: hyrax.content_block_path(ContentBlock.for(:announcement)), html: {class: 'nav-safety'} do |f| %>
- <%= f.label :announcement %>
+ <%= f.label I18n.t("hyrax.content_blocks.form.announcement", :default => "announcement") %> <%= f.text_area :announcement, value: f.object.value, class: 'form-control tinymce', rows: 20, cols: 120 %>
- <%= f.label :marketing %>
+ <%= f.label I18n.t("hyrax.content_blocks.form.marketing", :default => "marketing") %> <%= f.text_area :marketing, value: f.object.value, class: 'form-control tinymce', rows: 20, cols: 120 %>
- <%= f.label :researcher %>
+ <%= f.label I18n.t("hyrax.content_blocks.form.researcher", :default => "researcher") %> <%= f.text_area :researcher, value: f.object.value, class: 'form-control tinymce', rows: 20, cols: 120 %> |
||
| Operation Type | -Status | -Message | +<%= I18n.t("hyrax.operations.show.operation_type_header", :default => "Operation Type") %> | +<%= I18n.t("hyrax.operations.show.status_header", :default => "Status") %> | +<%= I18n.t("hyrax.operations.show.message_header", :default => "Message") %> | <% @operation.children.each do |op| %> diff --git a/app/views/hyrax/permissions/confirm.html.erb b/app/views/hyrax/permissions/confirm.html.erb index ae438c0522..bcd4dd5de4 100644 --- a/app/views/hyrax/permissions/confirm.html.erb +++ b/app/views/hyrax/permissions/confirm.html.erb @@ -9,7 +9,7 @@ visibility_badge: visibility_badge(curation_concern.visibility)).html_safe %> diff --git a/app/views/hyrax/single_use_links_viewer/show.html.erb b/app/views/hyrax/single_use_links_viewer/show.html.erb index 2c65405b62..cc9cf2a404 100644 --- a/app/views/hyrax/single_use_links_viewer/show.html.erb +++ b/app/views/hyrax/single_use_links_viewer/show.html.erb @@ -1,10 +1,10 @@
|---|---|---|---|
| No user activity | +<%= I18n.t("hyrax.users.activity_log.no_user_activity", :default => "No user activity") %> |