hyrax 2.1.0.beta2 → 2.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/.github/CODE_OF_CONDUCT.md +5 -5
  3. data/.github/CONTRIBUTING.md +2 -2
  4. data/.rubocop.yml +1 -0
  5. data/.rubocop_fixme.yml +2 -0
  6. data/Gemfile +1 -0
  7. data/README.md +3 -2
  8. data/app/actors/hyrax/actors/collections_membership_actor.rb +3 -0
  9. data/app/actors/hyrax/actors/create_with_remote_files_actor.rb +4 -3
  10. data/app/actors/hyrax/actors/default_admin_set_actor.rb +9 -6
  11. data/app/assets/javascripts/hyrax.js +3 -0
  12. data/app/assets/javascripts/hyrax/app.js.erb +14 -0
  13. data/app/assets/javascripts/hyrax/batch_edit.js +2 -1
  14. data/app/assets/javascripts/hyrax/collection_types.es6 +97 -36
  15. data/app/assets/javascripts/hyrax/collections.js +15 -49
  16. data/app/assets/javascripts/hyrax/collections_utils.es6 +116 -0
  17. data/app/assets/javascripts/hyrax/collections_v2.es6 +57 -0
  18. data/app/assets/javascripts/hyrax/content_blocks.js +1 -13
  19. data/app/assets/javascripts/hyrax/nav_safety.js +41 -0
  20. data/app/assets/javascripts/hyrax/turbolinks_events.js +3 -0
  21. data/app/assets/stylesheets/hyrax/_collection_types.scss +46 -2
  22. data/app/assets/stylesheets/hyrax/_work-show.scss +6 -9
  23. data/app/assets/stylesheets/hyrax/dashboard.scss +2 -0
  24. data/app/assets/stylesheets/hyrax/sidebar.scss +4 -0
  25. data/app/controllers/concerns/hyrax/works_controller_behavior.rb +10 -2
  26. data/app/controllers/hyrax/admin/admin_sets_controller.rb +2 -9
  27. data/app/controllers/hyrax/admin/collection_types_controller.rb +1 -1
  28. data/app/controllers/hyrax/batch_edits_controller.rb +30 -4
  29. data/app/controllers/hyrax/dashboard/collection_members_controller.rb +1 -0
  30. data/app/controllers/hyrax/dashboard/collections_controller.rb +4 -1
  31. data/app/controllers/hyrax/downloads_controller.rb +7 -1
  32. data/app/forms/hyrax/forms/admin/collection_type_form.rb +1 -1
  33. data/app/indexers/hyrax/repository_reindexer.rb +1 -1
  34. data/app/jobs/attach_files_to_work_job.rb +8 -4
  35. data/app/jobs/import_url_job.rb +11 -5
  36. data/app/models/admin_set.rb +25 -3
  37. data/app/models/concerns/hyrax/collection_behavior.rb +23 -11
  38. data/app/models/concerns/hyrax/collection_nesting.rb +22 -3
  39. data/app/models/hyrax/permission_template_access.rb +7 -4
  40. data/app/presenters/hyrax/admin_set_presenter.rb +21 -0
  41. data/app/presenters/hyrax/collection_presenter.rb +23 -1
  42. data/app/presenters/hyrax/dashboard/user_presenter.rb +4 -0
  43. data/app/presenters/hyrax/presents_attributes.rb +6 -2
  44. data/app/presenters/hyrax/work_show_presenter.rb +4 -0
  45. data/app/renderers/hyrax/renderers/attribute_renderer.rb +14 -0
  46. data/app/services/hyrax/adapters/nesting_index_adapter.rb +19 -39
  47. data/app/services/hyrax/admin_set_create_service.rb +1 -1
  48. data/app/services/hyrax/collection_types/create_service.rb +4 -0
  49. data/app/services/hyrax/collections/migration_service.rb +25 -2
  50. data/app/services/hyrax/collections/nested_collection_persistence_service.rb +8 -3
  51. data/app/services/hyrax/collections/nested_collection_query_service.rb +3 -3
  52. data/app/services/hyrax/default_middleware_stack.rb +3 -3
  53. data/app/services/hyrax/multiple_membership_checker.rb +4 -2
  54. data/app/views/catalog/_index_header_list_collection.html.erb +1 -1
  55. data/app/views/catalog/_search_form.html.erb +0 -4
  56. data/app/views/hyrax/admin/admin_sets/_show_actions.html.erb +27 -0
  57. data/app/views/hyrax/admin/admin_sets/show.html.erb +1 -25
  58. data/app/views/hyrax/admin/collection_types/_form.html.erb +17 -6
  59. data/app/views/hyrax/admin/collection_types/_form_appearance.html.erb +5 -0
  60. data/app/views/hyrax/admin/collection_types/_form_participant_table.html.erb +1 -1
  61. data/app/views/hyrax/admin/collection_types/_form_participants.html.erb +56 -52
  62. data/app/views/hyrax/admin/collection_types/edit.html.erb +9 -7
  63. data/app/views/hyrax/admin/collection_types/index.html.erb +1 -1
  64. data/app/views/hyrax/base/_attribute_rows.html.erb +15 -14
  65. data/app/views/hyrax/base/_form.html.erb +1 -0
  66. data/app/views/hyrax/base/_form_collections_error.html.erb +1 -0
  67. data/app/views/hyrax/base/_items.html.erb +3 -2
  68. data/app/views/hyrax/base/_metadata.html.erb +5 -7
  69. data/app/views/hyrax/base/_relationships.html.erb +3 -5
  70. data/app/views/hyrax/base/_relationships_parent_row.html.erb +4 -5
  71. data/app/views/hyrax/base/_relationships_parent_rows.html.erb +2 -1
  72. data/app/views/hyrax/base/_show_actions.html.erb +11 -1
  73. data/app/views/hyrax/batch_edits/edit.html.erb +57 -17
  74. data/app/views/hyrax/collections/_list_collections.html.erb +1 -1
  75. data/app/views/hyrax/collections/show.html.erb +1 -1
  76. data/app/views/hyrax/content_blocks/_form.html.erb +8 -7
  77. data/app/views/hyrax/dashboard/_index_partials/_current_proxy_rights.html.erb +17 -0
  78. data/app/views/hyrax/dashboard/collections/_collection_title.html.erb +1 -3
  79. data/app/views/hyrax/dashboard/collections/_default_group.html.erb +30 -0
  80. data/app/views/hyrax/dashboard/collections/_form_branding.html.erb +2 -2
  81. data/app/views/hyrax/dashboard/collections/_form_for_select_collection.html.erb +1 -1
  82. data/app/views/hyrax/dashboard/collections/_form_share.html.erb +2 -2
  83. data/app/views/hyrax/dashboard/collections/_list_collections.html.erb +13 -2
  84. data/app/views/hyrax/dashboard/show_user.html.erb +10 -9
  85. data/app/views/hyrax/my/collections/_list_collections.html.erb +10 -3
  86. data/app/views/hyrax/my/collections/_modal_add_subcollection.html.erb +1 -1
  87. data/app/views/hyrax/my/collections/_modal_add_to_collection.html.erb +1 -1
  88. data/app/views/hyrax/my/collections/_modal_delete_collections_deny.html.erb +14 -0
  89. data/app/views/hyrax/my/collections/index.html.erb +1 -0
  90. data/app/views/shared/_nav_safety_modal.html.erb +12 -0
  91. data/config/features.rb +4 -0
  92. data/config/initializers/samvera-nesting_indexer_initializer.rb +1 -0
  93. data/config/locales/hyrax.de.yml +26 -11
  94. data/config/locales/hyrax.en.yml +21 -6
  95. data/config/locales/hyrax.es.yml +17 -2
  96. data/config/locales/hyrax.fr.yml +17 -2
  97. data/config/locales/hyrax.it.yml +17 -2
  98. data/config/locales/hyrax.pt-BR.yml +17 -2
  99. data/config/locales/hyrax.zh.yml +17 -2
  100. data/config/locales/simple_form.en.yml +6 -27
  101. data/hyrax.gemspec +2 -2
  102. data/lib/generators/hyrax/assets_generator.rb +4 -0
  103. data/lib/generators/hyrax/install_generator.rb +10 -0
  104. data/lib/generators/hyrax/templates/app/assets/images/unauthorized.png +0 -0
  105. data/lib/generators/hyrax/templates/config/locales/hyrax.en.yml +6 -5
  106. data/lib/generators/hyrax/templates/config/tinymce.yml +12 -7
  107. data/lib/generators/hyrax/templates/db/migrate/20180406202557_add_badge_color_to_collection_types.rb.erb +5 -0
  108. data/lib/hyrax/configuration.rb +1 -1
  109. data/lib/hyrax/version.rb +1 -1
  110. data/spec/actors/hyrax/actors/collections_membership_actor_spec.rb +24 -0
  111. data/spec/actors/hyrax/actors/create_with_remote_files_actor_spec.rb +19 -1
  112. data/spec/actors/hyrax/actors/default_admin_set_actor_spec.rb +41 -8
  113. data/spec/actors/hyrax/actors/file_set_actor_spec.rb +4 -12
  114. data/spec/actors/hyrax/actors/generic_work_actor_spec.rb +3 -7
  115. data/spec/controllers/hyrax/admin/strategies_controller_spec.rb +13 -2
  116. data/spec/controllers/hyrax/batch_edits_controller_spec.rb +83 -8
  117. data/spec/controllers/hyrax/dashboard/collections_controller_spec.rb +3 -0
  118. data/spec/controllers/hyrax/downloads_controller_spec.rb +26 -5
  119. data/spec/controllers/hyrax/file_sets_controller_spec.rb +3 -6
  120. data/spec/controllers/hyrax/generic_works_controller_json_spec.rb +4 -4
  121. data/spec/controllers/hyrax/generic_works_controller_spec.rb +3 -23
  122. data/spec/controllers/hyrax/transfers_controller_spec.rb +1 -1
  123. data/spec/factories/admin_sets_lw.rb +215 -0
  124. data/spec/factories/collections.rb +10 -10
  125. data/spec/factory_tests/adminsets_factory_spec.rb +132 -0
  126. data/spec/factory_tests/collections_factory_spec.rb +3 -3
  127. data/spec/features/batch_create_spec.rb +5 -8
  128. data/spec/features/batch_edit_spec.rb +49 -2
  129. data/spec/features/collection_multi_membership_spec.rb +29 -14
  130. data/spec/features/collection_type_spec.rb +9 -2
  131. data/spec/features/create_work_admin_spec.rb +1 -1
  132. data/spec/features/create_work_spec.rb +1 -1
  133. data/spec/features/dashboard/collection_spec.rb +16 -12
  134. data/spec/features/edit_content_block_admin_spec.rb +29 -12
  135. data/spec/features/embargo_spec.rb +55 -0
  136. data/spec/features/proxy_spec.rb +3 -1
  137. data/spec/features/work_show_spec.rb +20 -4
  138. data/spec/forms/hyrax/forms/admin/collection_type_form_spec.rb +1 -0
  139. data/spec/indexers/hyrax/repository_reindexer_spec.rb +1 -1
  140. data/spec/jobs/attach_files_to_work_job_spec.rb +15 -3
  141. data/spec/jobs/batch_create_job_spec.rb +6 -6
  142. data/spec/jobs/create_work_job_spec.rb +1 -1
  143. data/spec/models/admin_set_spec.rb +10 -8
  144. data/spec/models/collection_spec.rb +1 -1
  145. data/spec/models/concerns/hyrax/collection_nesting_spec.rb +6 -3
  146. data/spec/models/flipflop_spec.rb +8 -0
  147. data/spec/models/hyrax/work_behavior_spec.rb +1 -1
  148. data/spec/presenters/hyrax/admin_set_presenter_spec.rb +70 -0
  149. data/spec/presenters/hyrax/collection_presenter_spec.rb +66 -0
  150. data/spec/renderers/hyrax/renderers/attribute_renderer_spec.rb +19 -0
  151. data/spec/services/hyrax/adapters/nesting_index_adapter_spec.rb +31 -21
  152. data/spec/services/hyrax/collection_types/create_service_spec.rb +7 -4
  153. data/spec/services/hyrax/collections/migration_service_spec.rb +204 -17
  154. data/spec/services/hyrax/collections/nested_collection_persistence_service_spec.rb +1 -1
  155. data/spec/services/hyrax/collections/permissions_create_service_spec.rb +1 -1
  156. data/spec/services/hyrax/collections/permissions_service_spec.rb +4 -0
  157. data/spec/services/hyrax/default_middleware_stack_spec.rb +1 -1
  158. data/spec/services/hyrax/multiple_membership_checker_spec.rb +4 -4
  159. data/spec/services/hyrax/workflow/grant_edit_to_depositor_spec.rb +1 -1
  160. data/spec/services/hyrax/workflow/grant_read_to_depositor_spec.rb +1 -1
  161. data/spec/services/hyrax/workflow/revoke_edit_from_depositor_spec.rb +1 -1
  162. data/spec/spec_helper.rb +35 -2
  163. data/spec/support/features/batch_edit_actions.rb +1 -1
  164. data/spec/support/selectors.rb +15 -0
  165. data/spec/views/hyrax/admin/admin_sets/_show_actions.html.erb_spec.rb +66 -0
  166. data/spec/views/hyrax/admin/admin_sets/show.html.erb_spec.rb +5 -34
  167. data/spec/views/hyrax/admin/collection_types/_form.html.erb_spec.rb +3 -1
  168. data/spec/views/hyrax/admin/collection_types/_form_appearance.html.erb_spec.rb +22 -0
  169. data/spec/views/hyrax/admin/collection_types/_form_participants.html.erb_spec.rb +11 -3
  170. data/spec/views/hyrax/base/_items.html.erb_spec.rb +46 -0
  171. data/spec/views/hyrax/base/_relationships.html.erb_spec.rb +1 -1
  172. data/spec/views/hyrax/base/_show_actions.html.erb_spec.rb +4 -2
  173. data/spec/views/hyrax/dashboard/collections/_default_group.html.erb_spec.rb +43 -0
  174. data/spec/views/hyrax/dashboard/collections/_list_collections.html.erb_spec.rb +51 -0
  175. data/spec/views/hyrax/dashboard/collections/show.html.erb_spec.rb +1 -0
  176. data/spec/views/hyrax/dashboard/show_user_spec.rb +5 -2
  177. data/spec/views/hyrax/my/collections/_list_collections.html.erb_spec.rb +2 -0
  178. data/template.rb +1 -1
  179. metadata +30 -13
  180. data/app/views/hyrax/content_blocks/_modal_content_block.html.erb +0 -15
@@ -21,16 +21,17 @@
21
21
  </div>
22
22
  </div>
23
23
 
24
- <div class="panel panel-default" id="proxy_management">
25
- <div class="panel-heading">
26
- <h3 class="panel-title "><%= t("hyrax.dashboard.manage_proxies") %></h3>
27
- </div>
28
- <div class="panel-body">
29
- <% if Flipflop.proxy_deposit? %>
30
- <%= render 'hyrax/dashboard/_index_partials/proxy_rights', user: current_user %>
31
- <% end %>
24
+ <% if Flipflop.proxy_deposit? %>
25
+ <div class="panel panel-default" id="proxy_management">
26
+ <div class="panel-heading">
27
+ <h3 class="panel-title "><%= t("hyrax.dashboard.current_proxies") %></h3>
28
+ </div>
29
+ <div class="panel-body">
30
+ <%= render 'hyrax/dashboard/_index_partials/current_proxy_rights', user: current_user %>
31
+ <%= @presenter.link_to_manage_proxies %>
32
+ </div>
32
33
  </div>
33
- </div>
34
+ <% end %>
34
35
 
35
36
  <div class="panel panel-default transfers">
36
37
  <div class="panel-heading">
@@ -1,5 +1,5 @@
1
+ <% # used by Your Collections tab %>
1
2
  <% id = collection_presenter.id %>
2
-
3
3
  <%# Data attributes referenced by the javascript for row actions %>
4
4
  <tr id="document_<%= id %>"
5
5
  data-source="my"
@@ -8,7 +8,14 @@
8
8
  data-post-url="<%= hyrax.dashboard_create_nest_collection_within_path(id) %>"
9
9
  data-post-delete-url="<%= is_admin_set ? hyrax.admin_admin_set_path(id) : hyrax.dashboard_collection_path(id) %>">
10
10
 
11
- <td><% unless collection_presenter.solr_document.admin_set? %><input type="checkbox" name="batch_document_ids[]" id="batch_document_<%= id %>" value="<%= id %>" class="batch_document_selector" /><% end %></td>
11
+ <td>
12
+ <% if collection_presenter.allow_batch? %>
13
+ <input type="checkbox" name="batch_document_ids[]" id="batch_document_<%= id %>" value="<%= id %>" class="batch_document_selector"
14
+ data-hasaccess="<%= (can?(:edit, collection_presenter.solr_document)) %>" />
15
+ <% else %>
16
+ <input type="checkbox" class="disabled" disabled=true />
17
+ <% end %>
18
+ </td>
12
19
  <td>
13
20
  <div class="thumbnail-title-wrapper">
14
21
  <div class="thumbnail-wrapper">
@@ -50,7 +57,7 @@
50
57
  </div>
51
58
  </td>
52
59
  <td class="collection_type">
53
- <span class="label label-success"><%= collection_presenter.collection_type_badge %></span>
60
+ <%= collection_presenter.collection_type_badge %>
54
61
  </td>
55
62
  <td><%= collection_presenter.permission_badge %></td>
56
63
  <td><%= collection_presenter.total_viewable_items %></td>
@@ -11,7 +11,7 @@
11
11
  <div class="modal-body">
12
12
  <div class="modal-ajax-alert"></div>
13
13
  <label><%= t('hyrax.collection.actions.nest_collections.select_label') %></label>
14
- <input type="hidden" name="source" value="<%= source %>" /><input />
14
+ <input type="hidden" name="source" value="<%= source %>" />
15
15
  <select name="child_id">
16
16
  <option value="none"><%= t("hyrax.dashboard.my.action.select") %></option>
17
17
  <% colls = Hyrax::Collections::NestedCollectionQueryService.available_child_collections(parent: collection, scope: controller, limit_to_id: nil) %>
@@ -12,7 +12,7 @@
12
12
  <div class="modal-ajax-alert"></div>
13
13
 
14
14
  <label><%= t('hyrax.collection.actions.nested_subcollection.select_label') %></label>
15
- <input type="hidden" name="source" value="<%= source %>" /><input />
15
+ <input type="hidden" name="source" value="<%= source %>" />
16
16
  <select name="parent_id">
17
17
  <option value="none"><%= t("hyrax.dashboard.my.action.select") %></option>
18
18
  </select>
@@ -0,0 +1,14 @@
1
+ <div class="modal fade" id="collection-to-delete-deny-modal" tabindex="-1" role="dialog" aria-labelledby="deny-delete-collection-label">
2
+ <div class="modal-dialog" role="document">
3
+ <div class="modal-content">
4
+ <form class="deny-delete-collection-form">
5
+ <div class="modal-body">
6
+ <p><%= t('hyrax.dashboard.my.action.delete_collections_deny') %></p>
7
+ </div>
8
+ <div class="modal-footer">
9
+ <button type="button" class="btn btn-primary" data-dismiss="modal"><%= t('helpers.action.close') %></button>
10
+ </div>
11
+ </form>
12
+ </div>
13
+ </div>
14
+ </div>
@@ -59,6 +59,7 @@
59
59
  <%= render 'modal_delete_admin_set_deny' %>
60
60
  <%= render 'modal_delete_collection' %>
61
61
  <%= render 'modal_delete_collection_deny' %>
62
+ <%= render 'modal_delete_collections_deny' %>
62
63
  <%= render 'modal_delete_deny' %>
63
64
  <%= render 'modal_delete_empty_collection' %>
64
65
  <%= render 'modal_delete_selected_collections' %>
@@ -0,0 +1,12 @@
1
+ <div class="modal fade" id="nav-safety-modal" tabindex="-1" role="dialog">
2
+ <div class="modal-dialog" role="document">
3
+ <div class="modal-content">
4
+ <div class="modal-body">
5
+ <%= t(:'hyrax.nav_safety.change_tab_message') %>
6
+ </div>
7
+ <div class="modal-footer">
8
+ <button type="button" class="btn btn-default" id="nav-safety-dismiss" data-dismiss="modal">OK</button>
9
+ </div>
10
+ </div>
11
+ </div>
12
+ </div>
data/config/features.rb CHANGED
@@ -34,4 +34,8 @@ Flipflop.configure do
34
34
  feature :analytics_redesign,
35
35
  default: false,
36
36
  description: "Display new reporting features. *Very Experimental*"
37
+
38
+ feature :hide_private_files,
39
+ default: false,
40
+ description: "Do not show the private files."
37
41
  end
@@ -12,4 +12,5 @@ Samvera::NestingIndexer.configure do |config|
12
12
  config.solr_field_name_for_storing_parent_ids = Solrizer.solr_name('nesting_collection__parent_ids', :symbol)
13
13
  config.solr_field_name_for_storing_ancestors = Solrizer.solr_name('nesting_collection__ancestors', :symbol)
14
14
  config.solr_field_name_for_storing_pathnames = Solrizer.solr_name('nesting_collection__pathnames', :symbol)
15
+ config.solr_field_name_for_deepest_nested_depth = 'nesting_collection__deepest_nested_depth_isi'
15
16
  end
@@ -49,6 +49,8 @@ de:
49
49
  new: Neue Sammlung
50
50
  delete: Löschen
51
51
  edit: Bearbeiten
52
+ less: Weniger
53
+ more: Mehr
52
54
  refresh: Aktualisierung
53
55
  remove: Entfernen
54
56
  work:
@@ -169,9 +171,10 @@ de:
169
171
  header: Neues Admin-Set erstellen
170
172
  show:
171
173
  breadcrumb: Ansicht Admin-Set
172
- confirm_delete: Sind Sie sicher, dass Sie dieses Admin-Set löschen möchten? Diese Aktion kann nicht rückgängig gemacht werden.
173
174
  header: Admin-Set
174
175
  item_list_header: Arbeiten in diesem Admin-Set
176
+ show_actions:
177
+ confirm_delete: Möchten Sie dieses Verwaltungsset wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.
175
178
  appearances:
176
179
  show:
177
180
  header: Design
@@ -193,6 +196,7 @@ de:
193
196
  not_empty: Der Sammlungstyp kann nicht geändert werden, da er Sammlungen enthält
194
197
  form:
195
198
  tab:
199
+ appearance: Abzeichen Farbe
196
200
  metadata: Beschreibung
197
201
  participants: Teilnehmer
198
202
  settings: Einstellungen
@@ -212,7 +216,9 @@ de:
212
216
  title: Manager
213
217
  type: Typ
214
218
  form_participants:
219
+ add_group: Gruppe hinzufügen
215
220
  add_participants: Teilnehmer hinzufügen
221
+ add_user: Benutzer hinzufügen
216
222
  current_participants: Aktuelle Teilnehmer
217
223
  header: Sammlungs-Teilnehmer
218
224
  instructions: Sie können sowohl Gruppen als auch Benutzer als Ersteller und Manager von Sammlungen dieses Typs festlegen
@@ -223,23 +229,24 @@ de:
223
229
  instructions: Diese Einstellungen legen fest, wie Sammlungen dieses Typs verwaltet und ermittelt werden können.
224
230
  warning: 'Warnung: Diese Einstellungen können nicht geändert werden, nachdem eine Sammlung dieses Typs erstellt wurde.'
225
231
  index:
226
- breadcrumb: Sammlungsarten
232
+ breadcrumb: Sammlungstypen
227
233
  create_new_button: Erstellen Sie eine neue Sammlungsart
228
- description: Mit Sammlungsarten können Sie Einstellungen definieren, die Sammlungen steuern, die unterschiedliche Zwecke in Ihrem Repositorium erfüllen. Sie können so viele Sammlungsarten definieren, wie Sie benötigen.
229
- header: Sammlungsrten
234
+ description: Mit Sammlungstypen können Sie Einstellungen definieren, die Sammlungen steuern. Somit können Sammlungen unterschiedliche Zwecke in Ihrem Repositorium erfüllen. Sie können so viele Sammlungstypen definieren, wie Sie benötigen.
235
+ header: Sammlungstypen
230
236
  modal:
231
237
  can_delete_body_html: "<p> Durch das Löschen dieses Sammlumgs-Types werden der Typ und seine Einstellungen dauerhaft aus dem Repository entfernt. Möchten Sie diesen Sammlungstyp wirklich löschen? </p>"
232
238
  cannot_delete_body_html: "<p> Sie können diesen Sammlungsart nicht löschen, da mindestens eine Sammlung dieses Typs bereits erstellt wurde. </p><p> Um diesen Erfassungstyp zu löschen, stellen Sie zunächst sicher, dass alle Sammlungen dieses Typs gelöscht wurden.</p>"
233
239
  header_can_delete: Sammlungstyp löschen?
234
240
  header_cannot_delete: Sammlungstyp kann nicht gelöscht werden
235
241
  view_collections: Sammlungen dieses Typs anzeigen
236
- more_toggle_content_html: "<p> Typische Szenarien für Sammlungstypen umfassen: </p><ul><li> <strong>Benutzer-Sammlungen</strong> , die ein registrierter Benutzer erstellen kann, um die deponierten Arbeiten zu organisieren. </li><li> <strong>Exponate</strong> , die das Personal für die öffentliche Ausstellung kreiert und kuratiert, wobei Gegenstände in einer beliebigen Anzahl von Exponaten enthalten sein können. </li><li> <strong>Kontrollierte Sammlungen</strong> , die von Mitarbeitern erstellt und verwaltet werden und nicht zur öffentlichen Anzeige bestimmt sind, z. B. Sammlungen, die Organisationseinheiten oder Abteilungen zugeordnet sind. </li><li> <strong>Community-Sammlungen</strong> , die zur öffentlichen Anzeige vorgesehen sind, ähnlich wie DSpace-Communitys und Sammlungen manchmal verwendet werden. </li></ul>"
242
+ more_toggle_content_html: "<p> Typische Szenarien für Sammlungstypen umfassen: </p><ul><li> <strong>Benutzer-Sammlungen</strong>, die ein registrierter Benutzer erstellen kann, um die deponierten Arbeiten zu organisieren. </li><li> <strong>Exponate</strong>, die Mitarbeiter für die öffentliche Ausstellung erstellt und kuratiert, wobei Gegenstände in einer beliebigen Anzahl von Exponaten enthalten sein können. </li><li> <strong>Kontrollierte Sammlungen</strong>, die von Mitarbeitern erstellt und verwaltet werden und nicht zur öffentlichen Anzeige bestimmt sind, z. B. Sammlungen, die Organisationseinheiten oder Abteilungen zugeordnet sind. </li><li> <strong>Community-Sammlungen</strong>, die zur öffentlichen Anzeige vorgesehen sind, ähnlich wie DSpace-Communitys und Sammlungen manchmal verwendet werden. </li></ul>"
237
243
  more_toggle_header_html: "<span>Mehr</span> über Sammlungstypen"
238
244
  table:
239
245
  actions: Aktionen
240
246
  name: Name
241
247
  multiple_membership_checker:
242
248
  error_preamble: 'Fehler: Sie haben mehrere derselben Sammlungstypen mit einer einzelnen Mitgliedschaft angegeben'
249
+ error_type_and_collections: "(Geben Sie ein: %{type}, Sammlungen: %{collections})"
243
250
  new:
244
251
  header: Erstellen Sie einen neuen Sammlungstyp
245
252
  submit: Speichen
@@ -383,7 +390,7 @@ de:
383
390
  legend_html: Sichtbarkeit <small>Wer soll in der Lage sein, diesen Inhalt anzusehen oder herunterzuladen?</small>
384
391
  management_page: Leasing-Management-Seite
385
392
  form_progress:
386
- required_agreement: Kaution vereinbaren
393
+ required_agreement: Deponierungsvereinbarung zustimmen
387
394
  required_descriptions: Beschreiben Sie Ihre Arbeit
388
395
  required_files: Dateien hinzufügen
389
396
  requirements: Bedarf
@@ -528,7 +535,6 @@ de:
528
535
  type_label: Anfragentyp
529
536
  content_blocks:
530
537
  cancel: Abbrechen
531
- change_tab_message: Möchten Sie diesen Tab wirklich verlassen? Nicht gespeicherte Daten gehen verloren.
532
538
  tabs:
533
539
  announcement_text: Ankündigungstext
534
540
  featured_researcher: Ausgewählter Forscher
@@ -698,6 +704,10 @@ de:
698
704
  description: 'Beschreibung:'
699
705
  edit_access: 'Bearbeiten der Zugriffsrechte:'
700
706
  groups: 'Gruppen:'
707
+ managed_access:
708
+ deposit: Anzahlung
709
+ manage: Verwalten
710
+ view: Aussicht
701
711
  users: 'Benutzer:'
702
712
  collections: Ihre Sammlungen
703
713
  facet_label:
@@ -706,6 +716,7 @@ de:
706
716
  shared: 'Filter Freigaben:'
707
717
  works: 'Filter Arbeiten:'
708
718
  heading:
719
+ access: Zugriff
709
720
  action: Aktionen
710
721
  collection_type: Sammlungsart
711
722
  date_modified: Zuletzt bearbeitet
@@ -735,6 +746,7 @@ de:
735
746
  removed_relationship: "'%{child_title}' wurde aus '%{parent_title}' entfernt"
736
747
  no_activity: Benutzer hat keine aktuellen Aufgaben
737
748
  no_notifications: Benutzer hat keine Benachrichtigungen
749
+ no_proxies: Es sind keine Proxys zugewiesen
738
750
  no_transfer_requests: Sie haben keine Übertragungsanfragen für Arbeiten erhalten
739
751
  no_transfers: Sie haben keine Arbeit übertragen
740
752
  proxy_activity: Vertreter-Aktivität
@@ -913,6 +925,8 @@ de:
913
925
  single: wurde gespeichert.
914
926
  subject: Stapelweises Hochladen abgeschlossen
915
927
  title: Dateien erfolgreich hochgeladen
928
+ nav_safety:
929
+ change_tab_message: Möchten Sie diesen Tab wirklich verlassen? Nicht gespeicherte Daten gehen verloren.
916
930
  pages:
917
931
  cancel: Abbrechen
918
932
  tabs:
@@ -1100,7 +1114,7 @@ de:
1100
1114
  assigns_visibility: Sammlungen dieses Typs erlauben, einer neuen Arbeit initiale Sichtbarkeitseinstellungen zuzuweisen
1101
1115
  assigns_workflow: Sammlungen dieses Typs erlauben, Arbeitsabläufe einer neuen Arbeit zuzuweisen
1102
1116
  brandable: Sammlungen dieses Typs dürfen als Marken gekennzeichnet werden
1103
- description: Eine kurze Erklärung des allgemeinen Zwecks dieser Sammlungsart. Benutzer sehen dies, wenn beim Erstellen einer neuen Sammlung mehrere Sammlungsarten zur Auswahl stehen.
1117
+ description: Eine kurze Erklärung des allgemeinen Zwecks dieser Sammlungsart. Benutzer sehen dies, wenn beim Erstellen einer neuen Sammlung mehrere Sammlungstypen zur Auswahl stehen.
1104
1118
  discoverable: Sammlungen dieses Typs können sichtbar gemacht werden
1105
1119
  nestable: Sammlungen dieses Typs können geschachtelt werden (eine Sammlung kann andere Sammlungen enthalten)
1106
1120
  require_membership: Eine Arbeit muss zu mindestens einer Sammlung dieses Typs gehören
@@ -1129,10 +1143,11 @@ de:
1129
1143
  collection_type:
1130
1144
  allow_multiple_membership: MEHRFACHE MITGLIEDSCHAFT
1131
1145
  assigns_visibility: SICHTBARKEIT
1132
- assigns_workflow: ARBEITSABLAUF
1133
- brandable: BRANDING
1146
+ assigns_workflow: WORKFLOW
1147
+ badge_color: Abzeichen Farbe
1148
+ brandable: HERVORHEBBAR (MARKE)
1134
1149
  description: Typbeschreibung
1135
- discoverable: ENTDECKUNG
1150
+ discoverable: EINSEHBAR
1136
1151
  nestable: SCHACHTELBAR
1137
1152
  require_membership: MITGLIEDSCHAFT ERFORDERLICH
1138
1153
  sharable: TEILBAR
@@ -49,6 +49,8 @@ en:
49
49
  new: New Collection
50
50
  delete: Delete
51
51
  edit: Edit
52
+ less: Less
53
+ more: More
52
54
  refresh: Refresh
53
55
  remove: Remove
54
56
  work:
@@ -169,9 +171,10 @@ en:
169
171
  header: Create New Administrative Set
170
172
  show:
171
173
  breadcrumb: View Set
172
- confirm_delete: Are you sure you wish to delete this Administrative Set? This action cannot be undone.
173
174
  header: Administrative Set
174
175
  item_list_header: Works in This Set
176
+ show_actions:
177
+ confirm_delete: Are you sure you wish to delete this Administrative Set? This action cannot be undone.
175
178
  appearances:
176
179
  show:
177
180
  header: Appearance
@@ -193,6 +196,7 @@ en:
193
196
  not_empty: Collection type cannot be altered as it has collections
194
197
  form:
195
198
  tab:
199
+ appearance: Badge Color
196
200
  metadata: Description
197
201
  participants: Participants
198
202
  settings: Settings
@@ -212,7 +216,9 @@ en:
212
216
  title: Managers
213
217
  type: Type
214
218
  form_participants:
219
+ add_group: Add group
215
220
  add_participants: Add Participants
221
+ add_user: Add user
216
222
  current_participants: Current Participants
217
223
  header: Collection Participants
218
224
  instructions: You can designate both groups and users as creators and managers of collections of this type
@@ -239,7 +245,8 @@ en:
239
245
  actions: Actions
240
246
  name: Name
241
247
  multiple_membership_checker:
242
- error_preamble: 'Error: You have specified more than one of the same single-membership collection types'
248
+ error_preamble: 'Error: You have specified more than one of the same single-membership collection type '
249
+ error_type_and_collections: "(type: %{type}, collections: %{collections})"
243
250
  new:
244
251
  header: Create New Collection Type
245
252
  submit: Save
@@ -527,7 +534,6 @@ en:
527
534
  type_label: Issue Type
528
535
  content_blocks:
529
536
  cancel: Cancel
530
- change_tab_message: Are you sure you want to leave this tab? Any unsaved data will be lost.
531
537
  tabs:
532
538
  announcement_text: Announcement Text
533
539
  featured_researcher: Featured Researcher
@@ -672,9 +678,9 @@ en:
672
678
  delete_admin_set: Delete collection
673
679
  delete_admin_set_deny: This collection is defined as Admin Set and is not empty. To delete this Admin Set, you must first remove (delete or move to another Admin Set collection) all items from the Admin Set.
674
680
  delete_collection: Delete collection
675
- delete_collection_deny: You do not have sufficient privileges to delete this document.
681
+ delete_collection_deny: You do not have sufficient privileges to delete this collection.
676
682
  delete_collections: Delete collections
677
- delete_collections_deny: You must select one or more collections to delete.
683
+ delete_collections_deny: You do not have sufficient privileges to delete one or more collections.
678
684
  delete_work: Delete Work
679
685
  edit_admin_set: Edit collection
680
686
  edit_collection: Edit collection
@@ -697,6 +703,10 @@ en:
697
703
  description: 'Description:'
698
704
  edit_access: 'Edit Access:'
699
705
  groups: 'Groups:'
706
+ managed_access:
707
+ deposit: Deposit
708
+ manage: Manage
709
+ view: View
700
710
  users: 'Users:'
701
711
  collections: Collections
702
712
  facet_label:
@@ -705,6 +715,7 @@ en:
705
715
  shared: 'Filter shares:'
706
716
  works: 'Filter works:'
707
717
  heading:
718
+ access: Access
708
719
  action: Actions
709
720
  collection_type: Collection Type
710
721
  date_modified: Last Modified
@@ -734,6 +745,7 @@ en:
734
745
  removed_relationship: "'%{child_title}' has been removed from '%{parent_title}'"
735
746
  no_activity: User has no recent activity
736
747
  no_notifications: User has no notifications
748
+ no_proxies: There are no proxies assigned
737
749
  no_transfer_requests: You haven't received any work transfer requests
738
750
  no_transfers: You haven't transferred any work
739
751
  proxy_activity: Proxy Activity
@@ -818,7 +830,7 @@ en:
818
830
  video_link: Download video
819
831
  file_sets:
820
832
  groups_description:
821
- description_html: 'The list of groups in the drop-down marked "Select a group" is a list of User Managed Groups that you are a member of. You may select a specific group and assign an access level for a file within %{application_name}, similarly to adding user access levels.'
833
+ description_html: The list of groups in the drop-down marked "Select a group" is a list of User Managed Groups that you are a member of. You may select a specific group and assign an access level for a file within %{application_name}, similarly to adding user access levels.
822
834
  help:
823
835
  header: User Support
824
836
  override_text: Use app/views/static/help.html.erb to override this file.
@@ -912,6 +924,8 @@ en:
912
924
  single: has been saved.
913
925
  subject: Batch upload complete
914
926
  title: Files uploaded successfully
927
+ nav_safety:
928
+ change_tab_message: Are you sure you want to leave this tab? Any unsaved data will be lost.
915
929
  pages:
916
930
  cancel: Cancel
917
931
  tabs:
@@ -1129,6 +1143,7 @@ en:
1129
1143
  allow_multiple_membership: MULTIPLE MEMBERSHIP
1130
1144
  assigns_visibility: VISIBILITY
1131
1145
  assigns_workflow: WORKFLOW
1146
+ badge_color: Badge Color
1132
1147
  brandable: BRANDING
1133
1148
  description: Type description
1134
1149
  discoverable: DISCOVERY
@@ -49,6 +49,8 @@ es:
49
49
  new: Nueva Colección
50
50
  delete: Borrar
51
51
  edit: Editar
52
+ less: Menos
53
+ more: Más
52
54
  refresh: Refrescar
53
55
  remove: retirar
54
56
  work:
@@ -169,9 +171,10 @@ es:
169
171
  header: Crear Nuevo Conjunto Administrativo
170
172
  show:
171
173
  breadcrumb: Ver Conjunto
172
- confirm_delete: "¿Está seguro de que desea eliminar este conjunto administrativo? Esta acción no se puede deshacer."
173
174
  header: Conjunto Administrativo
174
175
  item_list_header: Trabajos en este conjunto
176
+ show_actions:
177
+ confirm_delete: "¿Estás seguro de que deseas eliminar este conjunto administrativo? Esta acción no se puede deshacer."
175
178
  appearances:
176
179
  show:
177
180
  header: Apariencia
@@ -193,6 +196,7 @@ es:
193
196
  not_empty: El tipo de colección no se puede modificar ya que tiene colecciones
194
197
  form:
195
198
  tab:
199
+ appearance: Insignia de color
196
200
  metadata: Descripción
197
201
  participants: Participantes
198
202
  settings: Configuraciones
@@ -212,7 +216,9 @@ es:
212
216
  title: Gerentes
213
217
  type: Tipo
214
218
  form_participants:
219
+ add_group: Añadir grupo
215
220
  add_participants: Agregar participantes
221
+ add_user: Agregar usuario
216
222
  current_participants: Participantes actuales
217
223
  header: Participantes de la colección
218
224
  instructions: Puede designar grupos y usuarios como creadores y administradores de colecciones de este tipo
@@ -240,6 +246,7 @@ es:
240
246
  name: Nombre
241
247
  multiple_membership_checker:
242
248
  error_preamble: 'Error: ha especificado más de uno de los mismos tipos de colección de membresía única'
249
+ error_type_and_collections: "(tipo: %{type}, colecciones: %{collections})"
243
250
  new:
244
251
  header: Crear nuevo tipo de colección
245
252
  submit: Salvar
@@ -526,7 +533,6 @@ es:
526
533
  type_label: Tipo de Problema
527
534
  content_blocks:
528
535
  cancel: Cancelar
529
- change_tab_message: "¿Seguro que quieres salir de esta pestaña? Cualquier información no guardada se perderá."
530
536
  tabs:
531
537
  announcement_text: Texto del Anuncio
532
538
  featured_researcher: Investigador Destacado
@@ -696,6 +702,10 @@ es:
696
702
  description: 'Descripción:'
697
703
  edit_access: 'Editar Acceso:'
698
704
  groups: 'Grupos:'
705
+ managed_access:
706
+ deposit: Depositar
707
+ manage: Gestionar
708
+ view: Ver
699
709
  users: 'Usuarios:'
700
710
  collections: Mis Colecciones
701
711
  facet_label:
@@ -704,6 +714,7 @@ es:
704
714
  shared: 'Filtrar archivos compartidos:'
705
715
  works: 'Filtrar trabajos:'
706
716
  heading:
717
+ access: Acceso
707
718
  action: Acciones
708
719
  collection_type: Tipo de colección
709
720
  date_modified: Última modificación
@@ -733,6 +744,7 @@ es:
733
744
  removed_relationship: "'%{child_title}' ha sido eliminado de '%{parent_title}'"
734
745
  no_activity: El usuario no tiene actividad reciente
735
746
  no_notifications: El usuario no tiene notificaciones
747
+ no_proxies: No hay proxies asignados
736
748
  no_transfer_requests: No ha recibido ninguna petición de transferencia
737
749
  no_transfers: No ha transferido ningún trabajo
738
750
  proxy_activity: Actividad de Proxy
@@ -913,6 +925,8 @@ es:
913
925
  single: ha sido guardado.
914
926
  subject: Subida en lote completa
915
927
  title: Archivos cargados satisfactoriamente
928
+ nav_safety:
929
+ change_tab_message: "¿Seguro que quieres salir de esta pestaña? Cualquier información no guardada se perderá."
916
930
  pages:
917
931
  cancel: Cancelar
918
932
  tabs:
@@ -1130,6 +1144,7 @@ es:
1130
1144
  allow_multiple_membership: MIEMBROS MÚLTIPLES
1131
1145
  assigns_visibility: VISIBILIDAD
1132
1146
  assigns_workflow: FLUJO DE TRABAJO
1147
+ badge_color: Insignia de color
1133
1148
  brandable: MARCA
1134
1149
  description: Descripción del tipo
1135
1150
  discoverable: DESCUBRIMIENTO