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 @@ - Dassie + <%= I18n.t("layouts.application.dev_env", :default => "Dassie") %> <%= csrf_meta_tags %> <%= csp_meta_tag %> diff --git a/.dassie/app/views/shared/_footer.html.erb b/.dassie/app/views/shared/_footer.html.erb index 3afef0e559..f4affea8df 100644 --- a/.dassie/app/views/shared/_footer.html.erb +++ b/.dassie/app/views/shared/_footer.html.erb @@ -4,7 +4,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' %>
- - <%= builder.select :access, - access_options, + + <%= builder.select :access, access_options, { prompt: "Select a role..." }, class: 'form-control' %>
@@ -47,9 +46,8 @@ placeholder: "Search for a user..." %>
- - <%= builder.select :access, - access_options, + + <%= builder.select :access, access_options, { prompt: "Select a role..." }, class: 'form-control' %>
diff --git a/app/views/hyrax/admin/admin_sets/_show_document_list.html.erb b/app/views/hyrax/admin/admin_sets/_show_document_list.html.erb index ee7aaaf268..4d2efb2b1a 100644 --- a/app/views/hyrax/admin/admin_sets/_show_document_list.html.erb +++ b/app/views/hyrax/admin/admin_sets/_show_document_list.html.erb @@ -1,13 +1,13 @@ - + - - - - - + + + + + diff --git a/app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb b/app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb index 583b2404f7..74e358e405 100644 --- a/app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb +++ b/app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb @@ -34,17 +34,17 @@ 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 @@
List of items in this administrative set<%= I18n.t("hyrax.admin.admin_sets.show_document_list.list_of_items_in_this_administrative_set", :default => "List of items in this administrative set") %>
 TitleDate UploadedVisibilityStatusActions<%= 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") %>
-
Creator:
+
<%= I18n.t("hyrax.admin.admin_sets.show_document_list_row.creator", :default => "Creator:") %>
<%= document.creator.to_a.to_sentence %>
-
Depositor:
+
<%= I18n.t("hyrax.admin.admin_sets.show_document_list_row.depositor", :default => "Depositor:") %>
<%= link_to_profile document.depositor %>
-
Edit Access:
+
<%= I18n.t("hyrax.admin.admin_sets.show_document_list_row.edit_access", :default => "Edit Access:") %>
<% if document.edit_groups.present? %> - Groups: <%= document.edit_groups.join(', ') %> + <%= I18n.t("hyrax.admin.admin_sets.show_document_list_row.groups", :default => "Groups: ") %><%= document.edit_groups.join(', ') %>
<% end %> - Users: <%= document.edit_people.join(', ') %> + <%= I18n.t("hyrax.admin.admin_sets.show_document_list_row.users", :default => "Users: ") %><%= document.edit_people.join(', ') %>
- - - - + + + + @@ -35,7 +35,7 @@
TitleDate createdCreatorWorks<%= 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") %>
<% else %> -

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 @@ <%= t('.work_title')%> - ID + <%= I18n.t("hyrax.admin.analytics.work_reports.top_works.id", :default => "ID") %> <%= t('.work_views')%> <%= t('.file_downloads')%> diff --git a/app/views/hyrax/admin/collection_types/_form_appearance.html.erb b/app/views/hyrax/admin/collection_types/_form_appearance.html.erb index 002a9f599d..d9fb46cade 100644 --- a/app/views/hyrax/admin/collection_types/_form_appearance.html.erb +++ b/app/views/hyrax/admin/collection_types/_form_appearance.html.erb @@ -2,4 +2,4 @@
<%= f.input :badge_color, required: false, input_html: { type: 'color' } %>
- \ No newline at end of file + diff --git a/app/views/hyrax/admin/collection_types/_form_participants.html.erb b/app/views/hyrax/admin/collection_types/_form_participants.html.erb index 2af9644103..4f8c29da10 100644 --- a/app/views/hyrax/admin/collection_types/_form_participants.html.erb +++ b/app/views/hyrax/admin/collection_types/_form_participants.html.erb @@ -21,7 +21,7 @@ <%= f.text_field :agent_id, placeholder: "Search for a group...", class: 'form-control' %> - as + <%= I18n.t("hyrax.admin.collection_types.form_participants.as", :default => "as") %> <%= f.select :access, access_options, { prompt: "Select a role..." }, @@ -47,7 +47,7 @@ <%= f.hidden_field :agent_type, value: Hyrax::CollectionTypeParticipant::USER_TYPE %> <%= f.text_field :agent_id, placeholder: "Search for a user..." %> - as + <%= I18n.t("hyrax.admin.collection_types.form_participants.as", :default => "as") %> <%= f.select :access, access_options, { prompt: "Select a role..." }, diff --git a/app/views/hyrax/admin/collection_types/_form_settings.html.erb b/app/views/hyrax/admin/collection_types/_form_settings.html.erb index 488f6394fc..0e2150e5bc 100644 --- a/app/views/hyrax/admin/collection_types/_form_settings.html.erb +++ b/app/views/hyrax/admin/collection_types/_form_settings.html.erb @@ -26,7 +26,7 @@ diff --git a/app/views/hyrax/admin/features/index.html.erb b/app/views/hyrax/admin/features/index.html.erb index 98b50e8f7f..996e36b6f8 100644 --- a/app/views/hyrax/admin/features/index.html.erb +++ b/app/views/hyrax/admin/features/index.html.erb @@ -9,7 +9,7 @@ - + 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 @@ -

Deposits By Users (<%= @presenter.date_filter_string %>)

+

<%= I18n.t("hyrax.admin.stats.deposits.deposits_by_users", :default => "Deposits By Users ") %>(<%= @presenter.date_filter_string %>)

diff --git a/app/views/hyrax/admin/stats/_new_users.html.erb b/app/views/hyrax/admin/stats/_new_users.html.erb index 88302b4321..0a37595fee 100644 --- a/app/views/hyrax/admin/stats/_new_users.html.erb +++ b/app/views/hyrax/admin/stats/_new_users.html.erb @@ -1,7 +1,7 @@ -

Newest Users (<%= @presenter.date_filter_string %>)

+

<%= I18n.t('hyrax.admin.stats.new_users.newest_users', users: @presenter.date_filter_string, :default => "Newest Users (%{users})"); %>

<%- if !@presenter.start_date.blank? %> - Total: <%= @presenter.recent_users.count %> + <%= I18n.t("hyrax.admin.stats.new_users.total", :default => "Total: ") %><%= @presenter.recent_users.count %> <%- else %> <%= @presenter.recent_users.count %> most recent users: <%- end %> @@ -11,9 +11,9 @@
  • <%= link_to usr.name, hyrax.user_path(usr), title: "View user's profile" %> <%- if usr.department %> - of <%= usr.department %> + <%= I18n.t("hyrax.admin.stats.new_users.of", :default => "of ") %><%= usr.department %> <%- end %> - registered + <%= I18n.t("hyrax.admin.stats.new_users.registered", :default => "registered") %> <%= usr.created_at.to_time.strftime("%m/%d/%Y") %> diff --git a/app/views/hyrax/admin/stats/_stats_by_date.html.erb b/app/views/hyrax/admin/stats/_stats_by_date.html.erb index ec793dfc70..91ab6a2f8a 100644 --- a/app/views/hyrax/admin/stats/_stats_by_date.html.erb +++ b/app/views/hyrax/admin/stats/_stats_by_date.html.erb @@ -1,8 +1,10 @@ -

    Statistics By Date

    +

    <%= I18n.t("hyrax.admin.stats.stats_by_date.statistics_by_date", :default => "Statistics By Date") %>

    Statistics in this section are filtered by the dates entered in the form below. - The data is unfiltered unless the date form has been filled in. Start date is required and the default end is now. + <%= I18n.t("hyrax.admin.stats.stats_by_date.explanation", :default => "Statistics in this section are filtered by the dates entered in the form below. + The data is unfiltered unless the date form has been filled in. Start date is required and the default end is now.") %>

    <%= render "date_form" %> <%= render "works" %> <%= render "new_users" %> <%= render "deposits" %> + diff --git a/app/views/hyrax/admin/stats/_top_data.html.erb b/app/views/hyrax/admin/stats/_top_data.html.erb index 9890ab9df0..4deddbdb87 100644 --- a/app/views/hyrax/admin/stats/_top_data.html.erb +++ b/app/views/hyrax/admin/stats/_top_data.html.erb @@ -1,12 +1,13 @@ -

    Top File Formats and Users

    -

    Statistics in this section shows the top <%= @presenter.limit %> items for each category

    +

    <%= I18n.t("hyrax.admin.stats.top_data.top_file_formats_and_users", :default => "Top File Formats and Users") %>

    +

    <%= I18n.t('hyrax.admin.stats.top_data.explanation_with_limit', limit: @presenter.limit, :default => "Statistics in this section shows the top %{limit} items for each category"); %>

    + <% if @presenter.limit == 5 %> -

    <%= link_to "View top 20", hyrax.admin_stats_path(limit: '20') %>

    +

    <%= link_to I18n.t('hyrax.admin.stats.top_data.view_top', number: 20, :default => "View top %{number}"), hyrax.admin_stats_path(limit: '20') %>

    <% else %> -

    <%= link_to "View top 5", hyrax.admin_stats_path %>

    +

    <%= link_to I18n.t('hyrax.admin.stats.top_data.view_top', number: 5, :default => "View top %{number}"), hyrax.admin_stats_path %>

    <% end %> -

    Top File Formats (top <%= @presenter.top_formats.count %>)

    +

    <%= I18n.t('hyrax.admin.stats.top_data.top_file_format', count: @presenter.top_formats.count, :default => "Top File Formats (top %{count})"); %>


    -

    Most Active Users (top <%= @presenter.active_users.count %>)

    +

    <%= I18n.t('hyrax.admin.stats.top_data.most_actie_users', count: @presenter.active_users.count, :default => "Most Active Users (top %{count})"); %>

  • - + diff --git a/app/views/hyrax/base/_member_of_collections.html.erb b/app/views/hyrax/base/_member_of_collections.html.erb index e58b7866ec..15860ef3ec 100644 --- a/app/views/hyrax/base/_member_of_collections.html.erb +++ b/app/views/hyrax/base/_member_of_collections.html.erb @@ -1,5 +1,5 @@ - + diff --git a/app/views/hyrax/file_sets/_asset_permissions_denial_flash.html.erb b/app/views/hyrax/file_sets/_asset_permissions_denial_flash.html.erb index a376c0e53f..971664d008 100644 --- a/app/views/hyrax/file_sets/_asset_permissions_denial_flash.html.erb +++ b/app/views/hyrax/file_sets/_asset_permissions_denial_flash.html.erb @@ -1,9 +1,7 @@ -The file(s) <%= total_shown = 20 - file_sets.first(total_shown) + files = file_sets.first(total_shown) .map { |fs| link_to(fs, file_set_url(fs)) } .tap { |fs| fs << '...' if file_sets.length > total_shown } - .join(', ') -%> - could not be updated. You do not have sufficient privileges to edit it. + .join(', ') + I18n.t('hyrax.file_sets.asset_permissions_denial_flash.message', files: files, :default => "The file(s) %{files} could not be updated. You do not have sufficient privileges to edit it."); %> diff --git a/app/views/hyrax/operations/show.html.erb b/app/views/hyrax/operations/show.html.erb index 93e912a49f..8c9b3b122a 100644 --- a/app/views/hyrax/operations/show.html.erb +++ b/app/views/hyrax/operations/show.html.erb @@ -1,19 +1,19 @@ <% provide :page_title, 'Operations' %> <% provide :page_header do %> -

    <%= @operation.operation_type %> status

    +

    <%= @operation.operation_type %> <%= I18n.t("hyrax.operations.show.status", :default => "status") %>

    <% end %> -

    Status: <%= @operation.status %>

    -

    Message: <%= @operation.message %>

    +

    <%= I18n.t("hyrax.operations.show.status_label", :default => "Status:") %> <%= @operation.status %>

    +

    <%= I18n.t("hyrax.operations.show.message_label", :default => "Message:") %> <%= @operation.message %>

    <% if @operation.children.any? %>
    Status<%= I18n.t("hyrax.admin.features.index.status", :default => "Status") %> <%= t('.feature') %> <%= t('.description') %> <%= t('.action') %>
    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") %>
      <% presenter.member_of_collection_presenters.each do |p| %> diff --git a/app/views/hyrax/base/_relationships_parent_rows.html.erb b/app/views/hyrax/base/_relationships_parent_rows.html.erb index f281a7050f..4c6e3f39d5 100644 --- a/app/views/hyrax/base/_relationships_parent_rows.html.erb +++ b/app/views/hyrax/base/_relationships_parent_rows.html.erb @@ -13,4 +13,3 @@ <% if current_user %> <%= presenter.attribute_to_html(:admin_set, render_as: :faceted, html_dl: true) %> <% end %> - diff --git a/app/views/hyrax/base/inspect_work.html.erb b/app/views/hyrax/base/inspect_work.html.erb index 6b81309248..1b43a4cc13 100644 --- a/app/views/hyrax/base/inspect_work.html.erb +++ b/app/views/hyrax/base/inspect_work.html.erb @@ -32,6 +32,6 @@

      <%= t('.persistence') %>

      -
      Solr
      +
      <%= I18n.t("hyrax.base.inspect_work.solr", :default => "Solr") %>
      <%= @presenter.inspect_work.solr %>
      diff --git a/app/views/hyrax/batch_edits/edit.html.erb b/app/views/hyrax/batch_edits/edit.html.erb index 4e16809a53..2723780ea1 100644 --- a/app/views/hyrax/batch_edits/edit.html.erb +++ b/app/views/hyrax/batch_edits/edit.html.erb @@ -47,7 +47,7 @@ <%= hidden_field_tag "batch_document_ids[]", batch_id %> <% end %>
      - <%= 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 %>
      @@ -39,7 +39,7 @@ <%= simple_form_for ContentBlock.for(:marketing), url: hyrax.content_block_path(ContentBlock.for(:marketing)), html: {class: 'nav-safety'} do |f| %>
      - <%= 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 %>
      @@ -55,7 +55,7 @@ <%= simple_form_for ContentBlock.for(:researcher), url: hyrax.content_block_path(ContentBlock.for(:researcher)), html: {class: 'nav-safety'} do |f| %>
      - <%= 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 %>
      diff --git a/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb b/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb index a40bd04229..38d8ce0b4b 100644 --- a/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb +++ b/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb @@ -42,11 +42,10 @@
      <%= t('.edit_access') %>
      <% if document.edit_groups.present? %> - Groups: <%= document.edit_groups.join(', ') %> + <%= I18n.t("hyrax.dashboard.collections.show_document_list_row.groups", :default => "Groups: ") %><%= document.edit_groups.join(', ') %>
      <% end %> - Users: <%= document.edit_people.join(', ') %> -
      + <%= I18n.t("hyrax.dashboard.collections.show_document_list_row.users", :default => "Users: ") %><%= document.edit_people.join(', ') %>
    - - - + + + <% @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 @@

    <%= @presenter %>

    -

    Actions

    +

    <%= I18n.t("hyrax.single_use_links_viewer.show.actions", :default => "Actions")%>

    - <%= link_to "Download (can only be used once)", @download_link, target: :_blank %> + <%= link_to I18n.t("hyrax.single_use_links_viewer.show.download", :default => "Download (can only be used once)"), @download_link, target: :_blank %>

    -

    Descriptions:

    +

    <%= I18n.t("hyrax.single_use_links_viewer.show.descriptions", :default => " Descriptions:") %>

    <%= render 'attributes', presenter: @presenter %>
    diff --git a/app/views/hyrax/users/_activity_log.html.erb b/app/views/hyrax/users/_activity_log.html.erb index 6c3700bb4f..ec47c01cc6 100644 --- a/app/views/hyrax/users/_activity_log.html.erb +++ b/app/views/hyrax/users/_activity_log.html.erb @@ -10,7 +10,7 @@ <% valid_events = events.reject { |event| event[:action].blank? || event[:timestamp].blank? } %> <% if valid_events.empty? %> - + <% else %> <% valid_events.each do |event| %> diff --git a/app/views/hyrax/users/_user_info.html.erb b/app/views/hyrax/users/_user_info.html.erb index 601317641b..ec4ce4bf50 100644 --- a/app/views/hyrax/users/_user_info.html.erb +++ b/app/views/hyrax/users/_user_info.html.erb @@ -11,65 +11,65 @@ <% end %> <% if user.facebook_handle.present? %> -
    Facebook Handle
    +
    <%= I18n.t("hyrax.users.user_info.facebook_handle", :default => "Facebook Handle") %>
    <%= link_to user.facebook_handle, "http://facebook.com/#{user.facebook_handle}", {target:'_blank'} %>
    <% end %> <% if user.twitter_handle.present? %> -
    Twitter Handle
    +
    <%= I18n.t("hyrax.users.user_info.twitter_handle", :default => "Twitter Handle") %>
    <%= link_to user.twitter_handle, "http://x.com/#{user.twitter_handle}", {target:'_blank'} %>
    <% end %> <% if user.linkedin_handle.present? %> -
    LinkedIn
    +
    <%= I18n.t("hyrax.users.user_info.linkedin", :default => "LinkedIn") %>
    <%= link_to "#{@linkedInUrl}", "#{@linkedInUrl}", { target: '_blank' } %>
    <% end %> -
    Email
    +
    <%= I18n.t("hyrax.users.user_info.email", :default => "Email") %>
    <%= mail_to user.email %>
    <% if user.chat_id %> -
    Chat ID
    +
    <%= I18n.t("hyrax.users.user_info.chat_id", :default => "Chat ID") %>
    <%= user.chat_id %>
    <% end %> <% if user.website %> -
    Website(s)
    +
    <%= I18n.t("hyrax.users.user_info.website", :default => "Website(s)") %>
    <%= iconify_auto_link(user.website) %>
    <% end %> <% if user.title %> -
    Title
    +
    <%= I18n.t("hyrax.users.user_info.title", :default => "Title") %>
    <%= user.title %>
    <% end %> <% if user.admin_area %> -
    Administrative Area
    +
    <%= I18n.t("hyrax.users.user_info.administrative_area", :default => "Administrative Area") %>
    <%= user.admin_area %>
    <% end %> <% if user.department %> -
    Department
    +
    <%= I18n.t("hyrax.users.user_info.department", :default => "Department") %>
    <%= user.department %>
    <% end %> <% if user.office %> -
    Office
    + <
    <%= I18n.t("hyrax.users.user_info.office", :default => "Office") %>
    <%= user.office %>
    <% end %> <% if user.address %> -
    Address
    +
    <%= I18n.t("hyrax.users.user_info.address", :default => "Address") %>
    <%= user.address %>
    <% end %> <% if user.affiliation %> -
    Affiliation
    +
    <%= I18n.t("hyrax.users.user_info.affiliation", :default => "Affiliation") %>
    <%= user.affiliation %>
    <% end %> <% if user.telephone %> -
    Telephone
    +
    <%= I18n.t("hyrax.users.user_info.telephone", :default => "Telephone") %>
    <%= link_to_telephone(user) %>
    <% end %> diff --git a/app/views/layouts/error.html.erb b/app/views/layouts/error.html.erb index ee5910f5bb..a73d53bc4d 100644 --- a/app/views/layouts/error.html.erb +++ b/app/views/layouts/error.html.erb @@ -3,7 +3,7 @@ - <%= h(application_name) %>: System Error + <%= h(application_name) %>: <%= I18n.t("layouts.error.system_error", :default => "System Error") %> <%= stylesheet_link_tag 'application' %> diff --git a/app/views/shared/_nav_safety_modal.html.erb b/app/views/shared/_nav_safety_modal.html.erb index e43cc6ac47..8072c9d59a 100644 --- a/app/views/shared/_nav_safety_modal.html.erb +++ b/app/views/shared/_nav_safety_modal.html.erb @@ -5,8 +5,8 @@ <%= t(:'hyrax.nav_safety.change_tab_message') %> diff --git a/app/views/shared/_schema_version.html.erb b/app/views/shared/_schema_version.html.erb index c9ec753291..cef0ffb247 100644 --- a/app/views/shared/_schema_version.html.erb +++ b/app/views/shared/_schema_version.html.erb @@ -5,12 +5,12 @@
    <% if schema_version.present? %>
    - Created On Version + <%= I18n.t("shared.schema_version.created_on_version", :default => "Created On Version") %>

    <%= schema_version.to_f %>

    <% end %>
    - Version After Save + <%= I18n.t("shared.schema_version.version_after_save", :default => "Version After Save") %>

    <%= @latest_schema_version %>

    diff --git a/config/locales/hyrax.en.yml b/config/locales/hyrax.en.yml index a9a714b2e8..7bbcb454d7 100644 --- a/config/locales/hyrax.en.yml +++ b/config/locales/hyrax.en.yml @@ -24,20 +24,27 @@ en: suppressed_bsi: Status visibility_ssi: Visibility show: - admin_set: "In Administrative Set:" + admin_set: 'In Administrative Set:' based_near_label: Location contributor: Contributors keyword: Keyword filters: - title: "Filtering by:" + title: 'Filtering by:' start_over: Start Over + catalog: + edit_partials: + default_details: + title: 'Title:' + download: + one: and 1 download + other: and %{count} downloads errors: messages: carrierwave_download_error: Couldn't download image. carrierwave_integrity_error: Not an image. carrierwave_processing_error: Cannot resize image. - extension_blacklist_error: "You are not allowed to upload %{extension} files, prohibited types: %{prohibited_types}" - extension_whitelist_error: "You are not allowed to upload %{extension} files, allowed types: %{allowed_types}" + extension_blacklist_error: 'You are not allowed to upload %{extension} files, prohibited types: %{prohibited_types}' + extension_whitelist_error: 'You are not allowed to upload %{extension} files, allowed types: %{allowed_types}' helpers: action: accept: Accept @@ -52,12 +59,12 @@ en: new: Add New Collection delete: Delete edit: Edit - less: Less hyrax_metadata_profile: hint: Importing a new profile will overwrite the existing profile import: Import Metadata Profile import_metadata_profile: Import Profile submit: Import + less: Less more: More refresh: Refresh remove: Remove @@ -90,7 +97,7 @@ en: no_works: The administrative set does not contain any works. title: List of items in this administrative set edit: - header: "Edit Administrative Set: %{title}" + header: 'Edit Administrative Set: %{title}' form: cancel: Cancel note: Users granted a new role will only gain the role on works that are deposited after that role has been granted. @@ -142,9 +149,10 @@ en: title: Viewers type: Type form_participants: - add_group: "Add group:" + add_group: 'Add group:' add_participants: Add Participants - add_user: "Add user:" + add_user: 'Add user:' + as: as current_participants: Current Participants form_visibility: cancel: Cancel @@ -156,15 +164,15 @@ en: title: Release varies: any: Depositor can choose any embargo length; leases are allowed - between: "Depositor can choose embargo up to date:" - description: "Allow depositor to choose settings:" + between: 'Depositor can choose embargo up to date:' + description: 'Allow depositor to choose settings:' embargo: 1yr: 1 year after deposit 2yrs: 2 years after deposit 3yrs: 3 years after deposit 6mos: 6 months after deposit select: Select embargo period.. - period: "Depositor can choose embargo period up to:" + period: 'Depositor can choose embargo period up to:' visibility: description: Set visibility policies for the administrative set. Setting honors embargo policies above. everyone: Public - depositor can only choose public visibility setting @@ -176,6 +184,12 @@ en: cancel: Cancel no_workflows: There are no workflows to select. page_description: Each administrative set has a workflow associated with it. This workflow is applied to all works added to the administrative set. Select the workflow to be used for this administrative set below. + index: + creator: Creator + date_created: Date created + no_administrative_sets_have_been_created: No administrative sets have been created. + title: Title + works: Works new: header: Create New Administrative Set show: @@ -184,175 +198,189 @@ en: item_list_header: Works in This Set show_actions: confirm_delete: Are you sure you wish to delete this Administrative Set? This action cannot be undone. + show_document_list: + actions: Actions + date_uploaded: Date Uploaded + list_of_items_in_this_administrative_set: List of items in this administrative set + status: Status + title: Title + visibility: Visibility + show_document_list_row: + creator: 'Creator:' + depositor: 'Depositor:' + edit_access: 'Edit Access:' + groups: 'Groups: ' + users: 'Users: ' analytics: collection_reports: + custom_range: + collection_home_page_views: Collection home page views + date_range_heading: Customize Date Range + summary_heading: Summary of user activity + work_downloads: Downloads of works + work_views: Views of works index: - title: Collections Report - repo_summary: The repository contains - repo_summary_2: which collectively have had - views: page views and: and - summary: Summary - monthly: Monthly custom_range: Custom Range downloads: downloads - report_header: Custom Collections Report - report_generated_on: This report was generated on enable_analytics: Enable Analytics To View Reports - show: - title: Collection Report - summary: Summary monthly: Monthly + repo_summary: The repository contains + repo_summary_2: which collectively have had + report_generated_on: This report was generated on + report_header: Custom Collections Report + summary: Summary + title: Collections Report + views: page views + monthly_summary: + collection_views: Collection home page views + monthly_subtitle: Month-by-month status for last 12 months through + work_downloads: Downloads of works + work_views: Views of works + show: + collection_type: Collection type + created_by: Created by custom_range: Custom Range + last_updated: Last updated on + monthly: Monthly return_to_btn: Return to Collections Report + summary: Summary + title: Collection Report view_collection_btn: View Collection - created_by: Created by - last_updated: Last updated on - collection_type: Collection type visibility: Visibility summary: - subtitle: Summary of user activity + all_time: All time collection_home_page_views: Collection home page views - work_views: Views of works - work_downloads: Downloads of works date_range: Date range - today: Today - this_week: This week + subtitle: Summary of user activity this_month: This month + this_week: This week this_year: This year - all_time: All time - monthly_summary: - monthly_subtitle: Month-by-month status for last 12 months through - collection_views: Collection home page views - work_views: Views of works + today: Today work_downloads: Downloads of works - custom_range: - date_range_heading: Customize Date Range - summary_heading: Summary of user activity - collection_home_page_views: Collection home page views work_views: Views of works - work_downloads: Downloads of works top_collections: - top_collections: Top Collections - collection_title: Collection Title - works_in_collection_views: Works In This Collection Views - file_downloads_in_collection: File Set Downloads In This Collection collection_page_views: Collection Page Views + collection_title: Collection Title deleted: Collection deleted export: Export + file_downloads_in_collection: File Set Downloads In This Collection + top_collections: Top Collections + works_in_collection_views: Works In This Collection Views + date_range_form: + date_range_heading: Customize Date Range + end_date: End Date + reset_date_range: Reset Date Range + set_date_range: Set Report Date Range + start_date: Start Date errors: - troubleshooting_steps: "Troubleshooting Steps" - documentation_html: "For more information, see the documentation." - permission: - title: "Analytics Access Required" - message: "The system cannot access your Google Analytics data. This usually means the service account email needs to be granted access to your Google Analytics property." + authentication: + documentation_url: https://samvera.atlassian.net/wiki/spaces/hyku/pages/3185147970/Google+Analytics+4+GA4+Support + message: There was an issue authenticating with Google Analytics. Please check your credentials. + title: Authentication Error + troubleshooting_steps: + - Ensure your `google-analytics.json` (or equivalent) credentials file is correctly formatted and contains valid information. + - Verify that the service account is enabled in your Google Cloud project. + documentation_html: For more information, see the documentation. + general: + documentation_url: https://samvera.atlassian.net/wiki/spaces/hyku/pages/3185147970/Google+Analytics+4+GA4+Support + message: There's a problem with the Google Analytics configuration that requires administrator attention. + title: Analytics Configuration Issue troubleshooting_steps: - - "In your Google Analytics account, go to Admin → Account → Account Access Management" - - "Click the '+' button to add a new user" - - "Enter the service account email address from your credentials file (it looks like: your-service-account@project-name.iam.gserviceaccount.com)" - - "Set the role to 'Viewer' and click 'Add'" - - "Wait a few minutes for the changes to take effect, then refresh this page" - documentation_url: "https://samvera.atlassian.net/wiki/spaces/hyku/pages/3185147970/Google+Analytics+4+GA4+Support" + - Contact your system administrator to review the Google Analytics configuration + - Verify that the service account credentials are correctly configured + - Ensure the Google Analytics property is set up properly invalid_property: - title: "Invalid Property ID" - message: "The Google Analytics Property ID is invalid. A numeric Property ID is required for Google Analytics 4." + documentation_url: https://samvera.atlassian.net/wiki/spaces/hyku/pages/3185147970/Google+Analytics+4+GA4+Support + message: The Google Analytics Property ID is invalid. A numeric Property ID is required for Google Analytics 4. + title: Invalid Property ID troubleshooting_steps: - - "Check your Google Analytics 4 settings and ensure you are using the numeric Property ID, not the Measurement ID (which starts with 'G-')." - - "Verify the Property ID is correctly configured in your application settings." - documentation_url: "https://samvera.atlassian.net/wiki/spaces/hyku/pages/3185147970/Google+Analytics+4+GA4+Support" - authentication: - title: "Authentication Error" - message: "There was an issue authenticating with Google Analytics. Please check your credentials." + - Check your Google Analytics 4 settings and ensure you are using the numeric Property ID, not the Measurement ID (which starts with 'G-'). + - Verify the Property ID is correctly configured in your application settings. + permission: + documentation_url: https://samvera.atlassian.net/wiki/spaces/hyku/pages/3185147970/Google+Analytics+4+GA4+Support + message: The system cannot access your Google Analytics data. This usually means the service account email needs to be granted access to your Google Analytics property. + title: Analytics Access Required troubleshooting_steps: - - "Ensure your `google-analytics.json` (or equivalent) credentials file is correctly formatted and contains valid information." - - "Verify that the service account is enabled in your Google Cloud project." - documentation_url: "https://samvera.atlassian.net/wiki/spaces/hyku/pages/3185147970/Google+Analytics+4+GA4+Support" + - In your Google Analytics account, go to Admin → Account → Account Access Management + - Click the '+' button to add a new user + - 'Enter the service account email address from your credentials file (it looks like: your-service-account@project-name.iam.gserviceaccount.com)' + - Set the role to 'Viewer' and click 'Add' + - Wait a few minutes for the changes to take effect, then refresh this page quota_exceeded: - title: "Quota Exceeded" - message: "The request rate to the Google Analytics API has been exceeded. Please try again later." + documentation_url: https://developers.google.com/analytics/devguides/reporting/data/v1/limits-quotas + message: The request rate to the Google Analytics API has been exceeded. Please try again later. + title: Quota Exceeded troubleshooting_steps: - - "Review the Google Analytics API quota limits and your usage." - - "Consider implementing backoff strategies for API requests if you are making many requests in a short period." - documentation_url: "https://developers.google.com/analytics/devguides/reporting/data/v1/limits-quotas" - general: - title: "Analytics Configuration Issue" - message: "There's a problem with the Google Analytics configuration that requires administrator attention." - troubleshooting_steps: - - "Contact your system administrator to review the Google Analytics configuration" - - "Verify that the service account credentials are correctly configured" - - "Ensure the Google Analytics property is set up properly" - documentation_url: "https://samvera.atlassian.net/wiki/spaces/hyku/pages/3185147970/Google+Analytics+4+GA4+Support" + - Review the Google Analytics API quota limits and your usage. + - Consider implementing backoff strategies for API requests if you are making many requests in a short period. + troubleshooting_steps: Troubleshooting Steps work_reports: + custom_range: + file_downloads: File Downloads + page_views: Page Views + summary_heading: Summary of user activity + unique_visitors: Unique Visitors index: - title: Works Report - subtitle: Summary of user activity - repo_summary: in this repository which collectively have had - works: works - views: views - and: and access_to: You have access to - summary: Summary - monthly: Monthly + and: and custom_range: Custom Range downloads: downloads enable_analytics: Enable Analytics To View Reports + monthly: Monthly + repo_summary: in this repository which collectively have had report_generated_on: This report was generated on - show: - title: Work Report + subtitle: Summary of user activity summary: Summary - monthly: Monthly + title: Works Report + views: views + works: works + monthly_summary: + file_downloads: File Downloads + monthly_subtitle: Month-by-month status for the last 12 months through + page_views: Page Views + show: custom_range: Custom Range - return_to_btn: Return to Works Report - view_work_btn: View Work deposited_by: Deposited by - work_type: Work type + monthly: Monthly resource_type: Resource type + return_to_btn: Return to Works Report status: Status + summary: Summary + title: Work Report + view_work_btn: View Work visibility: Visibility - work_files: - title: Files - total_downloads: Total Downloads - work_counts: - total_size: total size - child_works: child works - files: files + work_type: Work type summary: - subtitle: Summary of user activity - unique_visitors: Unique Visitors - page_views: Page Views - file_downloads: File Downloads + all_time: All time date_range: Date range - today: Today - this_week: This week + file_downloads: File Downloads + page_views: Page Views + subtitle: Summary of user activity this_month: This month + this_week: This week this_year: This year - all_time: All time - monthly_summary: - monthly_subtitle: Month-by-month status for the last 12 months through - page_views: Page Views + today: Today + unique_visitors: Unique Visitors + top_file_set_downloads: + file: File file_downloads: File Downloads + file_name: File Name + top_downloads: Top File Downloads top_works: + export: Export + file_downloads: File Downloads + id: ID top_works: Top Works work_title: Work Title work_views: Work Page Views - file_downloads: File Downloads - export: Export - top_file_set_downloads: - top_downloads: Top File Downloads - file_name: File Name - file: File - file_downloads: File Downloads - custom_range: - summary_heading: Summary of user activity - unique_visitors: Unique Visitors - page_views: Page Views - file_downloads: File Downloads - date_range_form: - date_range_heading: Customize Date Range - start_date: Start Date - end_date: End Date - set_date_range: Set Report Date Range - reset_date_range: Reset Date Range + work_counts: + child_works: child works + files: files + total_size: total size + work_files: + title: Files + total_downloads: Total Downloads appearances: show: header: Appearance @@ -397,6 +425,7 @@ en: add_group: Add group add_participants: Add Participants add_user: Add user + as: as current_participants: Current Participants header: Collection Participants instructions: You can designate both groups and users as creators and managers of collections of this type @@ -404,8 +433,9 @@ en: submit: Add update_notice: Participants Updated form_settings: + apply_to_new_works: APPLY TO NEW WORKS instructions: These settings determine how collections of this type can be managed and discovered. - warning: "Warning: These settings cannot be changed after a collection of this type has been created." + warning: 'Warning: These settings cannot be changed after a collection of this type has been created.' index: breadcrumb: Collection Types create_new_button: Create new collection type @@ -423,7 +453,7 @@ en: actions: Actions name: Name multiple_membership_checker: - error_preamble: "Error: You have specified more than one of the same single-membership collection type " + error_preamble: 'Error: You have specified more than one of the same single-membership collection type ' error_type_and_collections: "(type: %{type}, collections: %{collections})" new: header: Create New Collection Type @@ -436,11 +466,14 @@ en: description: Description feature: Feature header: Features + status: Status sidebar: activity: Activity + analytics: Analytics appearance: Appearance collection_types: Collection Types collections: Collections + collections_report: Collections Report configuration: Configuration content_blocks: Content Blocks dashboard: Dashboard @@ -452,9 +485,6 @@ en: repository_objects: Repository Contents settings: Settings statistics: Statistics - analytics: Analytics - works_report: Works Report - collections_report: Collections Report tasks: Tasks technical: Features transfers: Transfers @@ -464,24 +494,46 @@ en: workflow_roles: Workflow Roles works: Works works_listing: Works listing + works_report: Works Report stats: + date_form: + load_stats: Load Stats deposited_form: end_label: end [defaults to now] - heading: "Display Files Deposited:" + heading: 'Display Files Deposited:' start_label: Start + deposits: + deposited: 'deposited ' + deposits_by_users: 'Deposits By Users ' + new_users: + newest_users: Newest Users %{users} + of: 'of ' + registered: registered + total: 'Total: ' repository_objects: series: published: Published unknown: Unknown unpublished: Unpublished + stats_by_date: + explanation: Statistics in this section are filtered by the dates entered in the form below. The data is unfiltered unless the date form has been filled in. Start date is required and the default end is now. + statistics_by_date: Statistics By Date + top_data: + explanation_with_limit: Statistics in this section shows the top %{limit} items for each category + most_actie_users: Most Active Users (top %{count}) + top_file_format: Top File Formats (top %{count}) + top_file_formats_and_users: Top File Formats and Users + view_top: View top %{number} user_deposits: end_label: Ending [defaults to now] heading: Display files deposited by users start_label: Starting + workflows: + show_number_per_page: Show %{number}) per page works: headers: main: Work Statistics - total: "Total Works:" + total: 'Total Works:' visibility: Totals by Visibility users: index: @@ -508,16 +560,16 @@ en: index: header: Review Submissions heading: - work: Work depositor: Depositor - submission_date: Submission Date status: status - works_published: "%{total_count} works published" - works_under_review: "%{total_count} works under review" - works_listing: Works listing + submission_date: Submission Date + work: Work tabs: published: Published under_review: Under Review + works_listing: Works listing + works_published: "%{total_count} works published" + works_under_review: "%{total_count} works under review" api: accepted: default: Your request has been accepted for processing, but processing is not complete. See job for more info. @@ -537,7 +589,7 @@ en: default: You must be logged in to do that! unprocessable_entity: default: The resource you attempted to modify cannot be modified according to your request. - background_attribution_html: "" + background_attribution_html: '' base: attributes: table_attribute_name: Attribute Name @@ -547,7 +599,7 @@ en: citations: citations: Citations endnote: EndNote - header: "Citations:" + header: 'Citations:' mendeley: Mendeley zotero: Zotero currently_shared: @@ -604,6 +656,7 @@ en: cancel: Cancel remove: Remove text: Removing this work will not remove it from the repository, only from this collection. Are you sure you want to remove this work from the collection? + display_data_info: This table will only display data if works are assigned to collections header: actions: Action title: Collection title @@ -651,8 +704,8 @@ en: help_html: Select the file to be used as the thumbnail for this work. legend_html: Thumbnail form_visibility_component: + subtitle_html: "Who should be able to view or download this content?" visibility: Visibility - subtitle_html: Who should be able to view or download this content? inspect_work: back_to: Back to entity_id: Entity ID @@ -663,6 +716,7 @@ en: processing_entity_id: Processing Entity ID proxy_for: Proxy for roles: Roles + solr: Solr state: State state_name: State Name users: Users @@ -677,11 +731,13 @@ en: title: Title unauthorized: There are no publicly available items in this %{type}. visibility: Visibility + member_of_collections: + member_of_collections: Member of Collections relationships: empty: This %{type} is not currently in any collections. header: Relationships relationships_parent_row: - label: "In %{type}:" + label: 'In %{type}:' share_with: definition_heading: Permission Definitions definitions_html: "View/Download: this file (both contents and metadata) is accessible from within %{application_name}.
    Edit: this file (both contents and metadata) can be edited. You may only grant this permission to %{institution_name} users and/or groups." @@ -708,7 +764,7 @@ en: twitter: Twitter twitter_share: Share on Twitter unauthorized: - id: "ID: %{id}" + id: 'ID: %{id}' is_private: The %{type} you have tried to access is private page_is_private: The page you have tried to access is private unauthorized: Unauthorized @@ -743,12 +799,13 @@ en: button_label: Delete Selected deleting_file_from: Deleting a file from %{application_name} is permanent. Click OK to delete this file from %{application_name}, or Cancel to cancel this operation edit: - apply_changes_to: "Changes will be applied to: (%{x_number_of} works)" + apply_changes_to: 'Changes will be applied to: (%{x_number_of} works)' batch_edit_descriptions: Batch Edit Descriptions    Click on labels below to edit work descriptions. clear_batch: Clear Batch descriptions: Descriptions - descriptions_title: "Descriptions:" + descriptions_title: 'Descriptions:' permissions: Permissions + save_changes: Save changes sharing: Sharing visibility: Visibility batch_uploads: @@ -769,7 +826,10 @@ en: search_results: Back to search results citations: work: + apa: APA + chicago: Chicago citation_formats: Citation Formats + mla: MLA collection: actions: add_existing_works: @@ -817,9 +877,16 @@ en: create: Save create_new: Add to new Collection no_collections: You do not have access to any existing collections. You may create a new collection. - select_heading: "Select the collection to add your files to:" + select_heading: 'Select the collection to add your files to:' title: Add to collection update: Save changes + collection_type: + admin_set_title: Admin Set + default_title: User Collection + collection_types: + create_service: + admin_set_description: An aggregation of works that is intended to help with administrative control. Admin Sets provide a way of defining behaviors and policies around a set of works. + default_description: A User Collection can be created by any user to organize their works. collections: search_form: button_label: Go @@ -839,15 +906,8 @@ en: works_in_collection: Works sort_and_per_page: number_of_results_to_display_per_page: Number of results to display per page - results_per_page: "Results per page:" + results_per_page: 'Results per page:' sort_by_html: "Sort by:" - collection_type: - admin_set_title: Admin Set - default_title: User Collection - collection_types: - create_service: - admin_set_description: An aggregation of works that is intended to help with administrative control. Admin Sets provide a way of defining behaviors and policies around a set of works. - default_description: A User Collection can be created by any user to organize their works. contact_form: button_label: Send email_label: Your Email @@ -867,6 +927,10 @@ en: type_label: Issue Type content_blocks: cancel: Cancel + form: + announcement: announcement + marketing: marketing + researcher: researcher tabs: announcement_text: Announcement Text featured_researcher: Featured Researcher @@ -899,11 +963,9 @@ en: select_type_of_collection: Select type of collection collections: collection_title: Collection Title - last_updated: Last updated - works: Works - files: Files edit: - header: "Edit %{type_title}: %{title}" + header: 'Edit %{type_title}: %{title}' + files: Files form: permission_update_errors: error: Invalid update option for permission template. @@ -918,7 +980,7 @@ en: relationships: Relationships sharing: Sharing form_branding: - alt_text: "Alt Text:" + alt_text: 'Alt Text:' banner: description: An image to be displayed at the top of the collection page. For best results, upload an image (JPG, GIF or PNG) that is at least 120 pixels tall and 1200 pixels wide. label: Banner @@ -926,7 +988,7 @@ en: description: Optionally, you can upload a banner image and/or logo images to associate with this collection. If uploaded, these images will be displayed at the top of the collection page to provide unique branding for the collection. label: Branding choose_file: Choose File - link_url: "Link URL:" + link_url: 'Link URL:' logo: description: One or more images to be displayed at the top of the collection page. For best results, upload an image (JPG, GIF or PNG) that is 40 pixels in height. Larger images will be resized to 40 pixels in height. label: Logo @@ -1000,8 +1062,10 @@ en: remove: Remove title: Viewers type: Type + last_updated: Last updated new: header: New %{type_title} + recent_activity: Recent activity show: header: Collection item_count: Works @@ -1024,14 +1088,15 @@ en: show_document_list_menu: select: Select show_document_list_row: - creator: "Creator:" - depositor: "Depositor:" - edit_access: "Edit Access:" - title: "Collections" - recent_activity: Recent activity + creator: 'Creator:' + depositor: 'Depositor:' + edit_access: 'Edit Access:' + groups: 'Groups: ' + users: 'Users: ' sort_and_per_page: show_par_page_html: Show %{select} per page - sort_by: "Sort By:" + sort_by: 'Sort By:' + title: Collections work_action_menu: delete_work: Delete work deleting_from_work: Deleting a work from %{application_name} is permanent. Click OK to delete this work from %{application_name}, or Cancel to cancel this operation @@ -1040,6 +1105,7 @@ en: remove_from_collection: Remove from collection select_an_action: Select an action transfer_ownership_of_work: Transfer ownership of work + works: Works create_work: Create Work current_proxies: Current Proxies delete_notification: Delete Notification @@ -1091,21 +1157,21 @@ en: view_admin_set: View collection view_collection: View collection work_confirmation: Deleting a work from %{application_name} is permanent. Click OK to delete this work from %{application_name}, or Cancel to cancel this operation - collections: Collections collection_list: - description: "Description:" - edit_access: "Edit Access:" - groups: "Groups:" + description: 'Description:' + edit_access: 'Edit Access:' + groups: 'Groups:' managed_access: deposit: Deposit manage: Manage view: View - users: "Users:" + users: 'Users:' + collections: Collections facet_label: - collections: "Filter collections:" - highlighted: "Filter highlights:" - shared: "Filter shares:" - works: "Filter works:" + collections: 'Filter collections:' + highlighted: 'Filter highlights:' + shared: 'Filter shares:' + works: 'Filter works:' heading: access: Access action: Actions @@ -1167,36 +1233,32 @@ en: repository_growth: collections: Collections date: Date - works: Works title: Repository Growth + works: Works repository_objects: status: Current Status subtitle: Current Status title: Repository Objects resource_type_graph: + count: Count resource_type: Resource Type title: Resource Types - count: Count - work_type_graph: - work_type: Work Type - title: Work Types - count: Count show_admin: current_registered_users: Current + graph_reports: Customized Graph Reports new_visitors: New Visitors past_30_days: Past 30 days registered_users: Registered Users returning_visitors: Returning Visitors total_visitors: Total Visitors - graph_reports: Customized Graph Reports stats: collections: Collections created - work_views: Metadata View file_downloads: File Download file_views: File View files: Files deposited heading: Your Statistics joined_on: Joined on + work_views: Metadata View works: Works created tabs: admin_sets: Admin Sets @@ -1208,9 +1270,9 @@ en: user_activity: date: Date new_users: New Users + new_visitors: New Visitors registered_users: Registered Users returning_visitors: Returning Visitors - new_visitors: New Visitors subtitle: New user signups title: User Activity total_visitors: Total Visitors @@ -1225,6 +1287,10 @@ en: view_files: View Files visibility_graph: visibility: Visibility + work_type_graph: + count: Count + title: Work Types + work_type: Work Type document_language: en edit_profile: Edit Profile embargoes: @@ -1247,7 +1313,7 @@ en: expired: Expired Active Embargoes manage_embargoes: Manage Embargoes list_expired_active_embargoes: - change_all: "Change all files within %{cc} to " + change_all: 'Change all files within %{cc} to ' deactivate: Deactivate Embargo deactivate_selected: Deactivate Embargoes for Selected missing: There are no expired embargoes in effect at this time. @@ -1292,6 +1358,8 @@ en: versions_title: Display previous versions asset_deleted_flash: message: The file has been deleted. + asset_permissions_denial_flash: + message: The file(s) %{files} could not be updated. You do not have sufficient privileges to edit it." asset_saved_flash: message: one: The file %{saved_files} has been saved. @@ -1424,7 +1492,7 @@ en: expired: Expired Active Leases manage_leases: Manage Leases list_expired_active_leases: - change_all: "Change all files within %{cc} to " + change_all: 'Change all files within %{cc} to ' deactivate: Deactivate Lease deactivate_selected: Deactivate Leases for Selected missing: There are no expired leases in effect at this time. @@ -1481,7 +1549,7 @@ en: change_tab_message: Are you sure you want to leave this tab? Any unsaved data will be lost. notifications: batch_create_failure: - message: "The batch create for %{user} failed: %{messages}" + message: 'The batch create for %{user} failed: %{messages}' subject: Failing batch create batch_create_success: message: The batch create for %{user} passed. @@ -1497,7 +1565,7 @@ en: subject: Ownership Change Request transfer_link_label: transfer requests transfer_on_update: - comments: "Comments: %{receiver_comment}" + comments: 'Comments: %{receiver_comment}' message: Your transfer request was %{status}. subject: Ownership Change %{status} validation: @@ -1526,8 +1594,20 @@ en: status: Status title: Operations updated: Updated + show: + message_header: Message + message_label: 'Message:' + operation_type_header: Operation Type + status: status + status_header: Status + status_label: 'Status:' pages: cancel: Cancel + form: + about: about + agreement: agreement + help: help + terms: terms tabs: about_page: About Page agreement_page: Deposit Agreement @@ -1544,6 +1624,10 @@ en: owner: edit: Edit access read: View/Download + permissions: + confirm: + confirm: Yes please. + deny: No. I'll update it manually. read_only: The repository is in read-only mode for maintenance. No submissions or edits can be made at this time. search: button: @@ -1592,29 +1676,33 @@ en: no_links: No links have been generated title: Single-Use Links single_use_links_viewer: + show: + actions: Actions + descriptions: " Descriptions:" + download: Download (can only be used once) single_use_error: help: '%{application_name} could not locate the single use link. This link either expired or had been used previously. We apologize for the inconvenience. You might be interested in using the help page for looking up solutions.' link_expired_not_found: Single Use Link Expired or Not Found link_not_found: Single use link Not Found sort_label: Sort the listing of items - stats: - work: - header: Work Analytics - pageviews: Pageviews - downloads: Downloads - pageviews: - pageviews: Page Views - downloads: - downloads: Downloads static: mendeley: contact_form: Contact Form export_to_mendeley: Export to Mendeley - export_to_mendeley_details: "Exporting to Mendeley is supported via embedded metadata. If Mendeley does not automatically pick up metadata for deposited files, please report the issue via the " + export_to_mendeley_details: 'Exporting to Mendeley is supported via embedded metadata. If Mendeley does not automatically pick up metadata for deposited files, please report the issue via the ' zotero: contact_form: Contact Form export_to_zotero: Export to Zotero - export_to_zotero_details: "Exporting to Zotero is supported via embedded metadata. If Zotero does not automatically pick up metadata for deposited files, please report the issue via the " + export_to_zotero_details: 'Exporting to Zotero is supported via embedded metadata. If Zotero does not automatically pick up metadata for deposited files, please report the issue via the ' + stats: + downloads: + downloads: Downloads + pageviews: + pageviews: Page Views + work: + downloads: Downloads + header: Work Analytics + pageviews: Pageviews toolbar: dashboard: menu: Dashboard @@ -1691,9 +1779,9 @@ en: set_all_to_this_resource_type: Set all to this Resource Type start: Start js_templates_branding: - alt_text: "Alt Text:" + alt_text: 'Alt Text:' error: Error - link_url: "Link URL:" + link_url: 'Link URL:' previous: previous remove: Remove remove_new_banner: Remove New Banner @@ -1727,6 +1815,7 @@ en: users: activity_log: date: Date + no_user_activity: No user activity user_activity: User Activity index: avatar: Avatar @@ -1742,6 +1831,19 @@ en: search_form: go: Go search_users: Search Users + user_info: + administrative_area: Administrative Area + affiliation: Affiliation + chat_id: Chat ID + department: Department + email: Email + facebook_handle: Facebook Handle + linkedin: LinkedIn + office: Office + telephone: Telephone + title: Title + twitter_handle: Twitter Handle + website: Website(s) virus_scanner: virus_detected: Virus detected in %{filename}. The file has not been saved. visibility: @@ -1771,7 +1873,7 @@ en: default: deposit: Deposit load: - state_error: "The workflow: %{workflow_name} has not been updated. You are removing a state: %{state_name} with %{entity_count} entity/ies. A state may not be removed while it has active entities!" + state_error: 'The workflow: %{workflow_name} has not been updated. You are removing a state: %{state_name} with %{entity_count} entity/ies. A state may not be removed while it has active entities!' unauthorized: The work is not currently available because it has not yet completed the approval process unauthorized_parent: The file is not currently available because its parent work has not yet completed the approval process works: @@ -1799,6 +1901,16 @@ en: no_preview: No preview available update: header: Edit Work + layouts: + error: + system_error: System Error + shared: + nav_safety_modal: + cancel: Cancel + ok: OK + schema_version: + created_on_version: Created On Version + version_after_save: Version After Save simple_form: hints: admin_set: @@ -1807,7 +1919,7 @@ en: collection: based_near: A place name related to the collection, such as its site of publication, or the city, state, or country the collection contents are about. Calls upon the GeoNames web service. contributor: A person or group you want to recognize for playing a role in the creation of the collection, but not the primary role. - creator: "The person or group responsible for the collection. Usually this is the author of the content. Personal names should be entered with the last name first: Smith, John" + creator: 'The person or group responsible for the collection. Usually this is the author of the content. Personal names should be entered with the last name first: Smith, John' date_created: The date on which the collection was created. description: Free-text notes about the collection. Examples include abstracts of a paper or citation information for a journal article. identifier: A unique handle identifying the collection. An example would be a DOI for a journal article, or an ISBN or OCLC number for a book. @@ -1830,7 +1942,7 @@ en: require_membership: A work must belong to at least one collection of this type sharable: Allow users to assign collection managers, depositors, and viewers for collections they manage share_applies_to_new_works: When new works are created directly in the collection, grant sharing users and groups permissions for the new work according to their collection roles. - title: "" + title: '' defaults: abstract: A brief summary of a research article, thesis, review, conference proceeding, or any in-depth analysis of a particular subject. access_right: Contains information about who can access the resource or an indication of its security status. @@ -1900,6 +2012,3 @@ en: total_view: one: This work has 1 total view other: This work has %{count} total views - download: - one: and 1 download - other: and %{count} downloads diff --git a/config/locales/hyrax.it.yml b/config/locales/hyrax.it.yml index 380a7f215e..1afedff298 100644 --- a/config/locales/hyrax.it.yml +++ b/config/locales/hyrax.it.yml @@ -149,6 +149,7 @@ it: add_participants: Aggiungi partecipanti add_user: 'Aggiungi utente:' current_participants: Partecipanti attuali + as: come form_visibility: cancel: Annulla page_description: Il controllo delle impostazioni di rilascio e visibilità quando le opere aggiunte a questo set sono disponibili per la scoperta e il download e chi può scoprirle e scaricarle. @@ -187,6 +188,25 @@ it: item_list_header: Funziona in questo set show_actions: confirm_delete: Sei sicuro di voler eliminare questo set amministrativo? Questa azione non può essere annullata. + index: + creator: Creatore + date_created: Data creata + no_administrative_sets_have_been_created: Non sono stati creati gruppi amministrativi. + title: Titolo + works: Lavori + show_document_list: + actions: Azioni + date_uploaded: Data caricata + list_of_items_in_this_administrative_set: Elenco delle voci in questo insieme amministrativo + status: Stato + title: Titolo + visibility: Visibilità + show_document_list_row: + creator: 'Creatore:' + depositor: 'Depositatore:' + edit_access: 'Modifica accesso:' + groups: 'Gruppi:' + users: 'Utenti:' analytics: collection_reports: custom_range: @@ -357,6 +377,7 @@ it: top_works: I migliori lavori work_title: Titolo del lavoro work_views: Visualizzazioni della pagina di lavoro + id: ID work_counts: child_works: bambino lavora files: File @@ -414,9 +435,11 @@ it: remove_success: Rimosso il partecipante submit: Inserisci update_notice: Aggiornamento dei partecipanti + as: come form_settings: instructions: Queste impostazioni determinano in che modo è possibile gestire e scoprire raccolte di questo tipo. warning: 'Avvertenza: queste impostazioni non possono essere modificate dopo aver creato una collezione di questo tipo.' + apply_to_new_works: APPLICAZIONE A NUOVI LAVORATORI index: breadcrumb: Tipi di raccolta create_new_button: Crea un nuovo tipo di raccolta @@ -447,6 +470,7 @@ it: description: Descrizione feature: Caratteristica header: Caratteristiche + status: Stato sidebar: activity: Attività analytics: Analisi @@ -498,6 +522,27 @@ it: main: Statistiche di lavoro total: 'Totale opere:' visibility: Totale per visibilità + date_form: + load_stats: Stats di carico + deposits: + deposited: depositato + deposits_by_users: Depositi dagli utenti + new_users: + newest_users: Utenti più recenti %{utenti} + of: di + registered: registrato + total: 'Totale:' + stats_by_date: + explanation: Le statistiche in questa sezione sono filtrate dalle date inserite nel modulo sottostante. I dati non sono filtrati a meno che il modulo di data non sia stato compilato. La data di inizio è richiesta e l'estremità predefinita è ora. + statistics_by_date: Statistiche per data + top_data: + explanation_with_limit: Le statistiche in questa sezione mostrano gli elementi top %{limit} per ogni categoria + most_actie_users: La maggior parte degli utenti attivi (top %{count}) + top_file_format: Formati file superiori (top %{count}) + top_file_formats_and_users: Formati di file e utenti + view_top: Visualizza top %{number} + workflows: + show_number_per_page: Mostra %{number}) per pagina users: index: access_label: Ultimo accesso @@ -621,6 +666,7 @@ it: header: actions: Azione title: Titolo della collezione + display_data_info: Questa tabella visualizzerà i dati solo se le opere sono assegnate alle collezioni form_permission: visibility: Visibilità Chi dovrebbe essere in grado di visualizzare o scaricare questo contenuto? form_permission_under_embargo: @@ -682,6 +728,7 @@ it: users: utenti workflow: Flusso di lavoro workflow_comments: Commenti sul flusso di lavoro + solr: Sol items: actions: Azioni date_uploaded: Data caricata @@ -739,6 +786,8 @@ it: previous_comments: Commenti precedenti review_comment: Commento di revisione title: Revisione e approvazione + member_of_collections: + member_of_collections: Membro delle Collezioni base/unauthorized: is_private: Lo %{type} a cui hai provato ad accedere è privato unauthorized: non autorizzato @@ -765,6 +814,7 @@ it: permissions: permessi sharing: compartecipazione visibility: Visibilità + save_changes: Salvare le modifiche batch_uploads: disabled: Caratteristica disabilitata dall'amministratore files: @@ -784,6 +834,9 @@ it: citations: work: citation_formats: Formati di citazione + apa: APA + chicago: Chicago + mla: MLA collection: actions: add_existing_works: @@ -886,6 +939,10 @@ it: featured_researcher: Ricercatore in primo piano marketing_text: Testo di marketing updated: Blocchi di contenuto aggiornati. + form: + announcement: annuncio + marketing: marketing + researcher: ricercatore controls: about: Di contact: contatto @@ -1041,6 +1098,8 @@ it: creator: 'Creatore:' depositor: 'Depositante:' edit_access: 'Modifica accesso:' + groups: 'Gruppi:' + users: 'Utenti:' sort_and_per_page: show_par_page_html: Mostra %{select} per pagina sort_by: 'Ordina Per:' @@ -1383,6 +1442,8 @@ it: save: Salva revisione save_your_note: Devi fare clic su "Salva revisione" per ripristinare una versione precedente di questo file upload: Carica nuova versione + asset_permissions_denial_flash: + message: Il file(i) %{files} non potrebbe essere aggiornato. Non hai privilegi sufficienti per modificarlo." help: header: Supporto utente override_text: Utilizza app / views / static / help.html.erb per ignorare questo file. @@ -1544,6 +1605,13 @@ it: status: Stato title: operazioni updated: aggiornato + show: + message_header: Messaggio + message_label: 'Messaggio:' + operation_type_header: Tipo di operazione + status: stato + status_header: Stato + status_label: 'Stato:' pages: cancel: Annulla tabs: @@ -1552,6 +1620,11 @@ it: help_page: Pagina di aiuto terms_page: Condizioni d'uso updated: Pagine aggiornate. + form: + about: circa + agreement: accordo + help: aiuto + terms: termini passive_consent_to_agreement: Salvo questo lavoro accetto il permission_levels: edit: Accesso in modifica @@ -1614,6 +1687,10 @@ it: help: '%{application_name} non è stato in grado di individuare il collegamento monouso. Questo link è scaduto o era stato utilizzato in precedenza. Ci scusiamo per il disagio. Potresti essere interessato a utilizzare la pagina di aiuto per cercare soluzioni.' link_expired_not_found: Link monouso scaduto o non trovato link_not_found: Link monouso non trovato + show: + actions: Azioni + descriptions: 'Descrizioni:' + download: Scarica (può essere utilizzato solo una volta) sort_label: Ordina l'elenco degli articoli static: mendeley: @@ -1747,6 +1824,7 @@ it: activity_log: date: Data user_activity: Attività dell'utente + no_user_activity: Nessuna attività utente index: avatar: Avatar department: Dipartimento @@ -1761,6 +1839,19 @@ it: search_form: go: Partire search_users: Cerca utenti + user_info: + administrative_area: Spazio amministrativo + affiliation: Affiliazione + chat_id: ID chat + department: Dipartimento + email: Email + facebook_handle: Maniglia Facebook + linkedin: LinkedIn + office: Ufficio + telephone: Telefono + title: Titolo + twitter_handle: Gestione Twitter + website: Sito web(i) virus_scanner: virus_detected: Virus rilevato in %{filename}. Il file non è stato salvato. visibility: @@ -1818,6 +1909,10 @@ it: no_preview: nessuna anteprima disponibile update: header: Modifica lavoro + permissions: + confirm: + confirm: Si', per favore. + deny: No, lo aggiornero' manualmente. simple_form: hints: admin_set: @@ -1919,3 +2014,17 @@ it: total_view: one: Quest'opera ha 1 vista totale other: Questo lavoro ha %{count} visualizzazioni totali + catalog: + edit_partials: + default_details: + title: 'Titolo:' + layouts: + error: + system_error: Errore di sistema + shared: + nav_safety_modal: + cancel: Annulla + ok: OK + schema_version: + created_on_version: Creato sulla versione + version_after_save: Versione dopo il salvataggio
    Operation TypeStatusMessage<%= 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") %>
    No user activity<%= I18n.t("hyrax.users.activity_log.no_user_activity", :default => "No user activity") %>