hyrax 2.0.3 → 2.1.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (703) hide show
  1. checksums.yaml +4 -4
  2. data/.eslintrc +0 -1
  3. data/.github/CONTRIBUTING.md +1 -1
  4. data/.rubocop.yml +8 -4
  5. data/.rubocop_fixme.yml +20 -2
  6. data/.travis.yml +3 -3
  7. data/README.md +12 -4
  8. data/app/actors/hyrax/actors/abstract_actor.rb +1 -1
  9. data/app/actors/hyrax/actors/apply_permission_template_actor.rb +17 -1
  10. data/app/actors/hyrax/actors/attach_members_actor.rb +2 -2
  11. data/app/actors/hyrax/actors/collections_membership_actor.rb +147 -12
  12. data/app/actors/hyrax/actors/create_with_remote_files_actor.rb +15 -9
  13. data/app/actors/hyrax/actors/default_admin_set_actor.rb +3 -3
  14. data/app/actors/hyrax/actors/file_set_actor.rb +10 -6
  15. data/app/actors/hyrax/actors/interpret_visibility_actor.rb +1 -1
  16. data/app/assets/javascripts/hyrax.js +13 -7
  17. data/app/assets/javascripts/hyrax/admin/admin_set_controls.es6 +5 -3
  18. data/app/assets/javascripts/hyrax/admin/collection_type/participants.es6 +13 -0
  19. data/app/assets/javascripts/hyrax/admin/collection_type/settings.es6 +60 -0
  20. data/app/assets/javascripts/hyrax/admin/collection_type_controls.es6 +15 -0
  21. data/app/assets/javascripts/hyrax/app.js.erb +29 -7
  22. data/app/assets/javascripts/hyrax/autocomplete.es6 +10 -5
  23. data/app/assets/javascripts/hyrax/autocomplete/default.es6 +1 -1
  24. data/app/assets/javascripts/hyrax/autocomplete/linked_data.es6 +1 -1
  25. data/app/assets/javascripts/hyrax/autocomplete/{work.es6 → resource.es6} +10 -4
  26. data/app/assets/javascripts/hyrax/collection_types.es6 +65 -0
  27. data/app/assets/javascripts/hyrax/collections.js +168 -3
  28. data/app/assets/javascripts/hyrax/collections/editor.es6 +7 -1
  29. data/app/assets/javascripts/hyrax/collections_forms.js +108 -0
  30. data/app/assets/javascripts/hyrax/editor.es6 +17 -3
  31. data/app/assets/javascripts/hyrax/fileupload.js +1 -0
  32. data/app/assets/javascripts/hyrax/relationships.js +2 -1
  33. data/app/assets/javascripts/hyrax/relationships/confirm_remove_dialog.es6 +45 -0
  34. data/app/assets/javascripts/hyrax/relationships/control.es6 +25 -10
  35. data/app/assets/javascripts/hyrax/relationships/registry.es6 +28 -25
  36. data/app/assets/javascripts/hyrax/relationships/registry_entry.es6 +40 -33
  37. data/app/assets/javascripts/hyrax/relationships/resource.es6 +10 -0
  38. data/app/assets/javascripts/hyrax/select_collection_type.es6 +39 -0
  39. data/app/assets/javascripts/hyrax/{per_page.es6 → sort_and_per_page.es6} +1 -1
  40. data/app/assets/javascripts/hyrax/tabbed_form.es6 +35 -0
  41. data/app/assets/stylesheets/_bootstrap-default-overrides.scss +15 -0
  42. data/app/assets/stylesheets/fileupload/jquery.fileupload-ui.scss +6 -0
  43. data/app/assets/stylesheets/hyrax/_accessibility.scss +16 -0
  44. data/app/assets/stylesheets/hyrax/_catalog.scss +88 -1
  45. data/app/assets/stylesheets/hyrax/_collection_types.scss +53 -0
  46. data/app/assets/stylesheets/hyrax/_collections.scss +616 -22
  47. data/app/assets/stylesheets/hyrax/_featured.scss +16 -0
  48. data/app/assets/stylesheets/hyrax/_file-listing.scss +9 -2
  49. data/app/assets/stylesheets/hyrax/_forms.scss +46 -0
  50. data/app/assets/stylesheets/hyrax/_home-page.scss +10 -0
  51. data/app/assets/stylesheets/hyrax/_hyrax.scss +3 -2
  52. data/app/assets/stylesheets/hyrax/_positioning.scss +0 -11
  53. data/app/assets/stylesheets/hyrax/_recent.scss +26 -0
  54. data/app/assets/stylesheets/hyrax/_representative-media.scss +7 -0
  55. data/app/assets/stylesheets/hyrax/_select_collection_type.scss +45 -0
  56. data/app/assets/stylesheets/hyrax/_select_work_type.scss +0 -4
  57. data/app/assets/stylesheets/hyrax/_styles.scss +2 -17
  58. data/app/assets/stylesheets/hyrax/_variables.scss +2 -2
  59. data/app/assets/stylesheets/hyrax/_viewer.scss +8 -0
  60. data/app/assets/stylesheets/hyrax/_work-show.scss +44 -6
  61. data/app/assets/stylesheets/hyrax/dashboard.scss +7 -2
  62. data/app/authorities/qa/authorities/collections.rb +30 -0
  63. data/app/builders/hyrax/manifest_helper.rb +36 -0
  64. data/app/controllers/concerns/hyrax/admin/stats_behavior.rb +1 -1
  65. data/app/controllers/concerns/hyrax/admin/users_controller_behavior.rb +1 -1
  66. data/app/controllers/concerns/hyrax/collections_controller_behavior.rb +37 -40
  67. data/app/controllers/concerns/hyrax/controller.rb +0 -9
  68. data/app/controllers/concerns/hyrax/themed_layout_controller.rb +4 -1
  69. data/app/controllers/concerns/hyrax/works_controller_behavior.rb +22 -11
  70. data/app/controllers/hyrax/admin/admin_sets_controller.rb +24 -15
  71. data/app/controllers/hyrax/admin/appearances_controller.rb +1 -1
  72. data/app/controllers/hyrax/admin/collection_type_participants_controller.rb +44 -0
  73. data/app/controllers/hyrax/admin/collection_types_controller.rb +97 -0
  74. data/app/controllers/hyrax/admin/features_controller.rb +1 -1
  75. data/app/controllers/hyrax/admin/permission_template_accesses_controller.rb +55 -13
  76. data/app/controllers/hyrax/admin/permission_templates_controller.rb +66 -23
  77. data/app/controllers/hyrax/admin/workflow_roles_controller.rb +1 -1
  78. data/app/controllers/hyrax/admin/workflows_controller.rb +1 -1
  79. data/app/controllers/hyrax/batch_edits_controller.rb +1 -1
  80. data/app/controllers/hyrax/batch_uploads_controller.rb +1 -1
  81. data/app/controllers/hyrax/citations_controller.rb +3 -12
  82. data/app/controllers/hyrax/collections_controller.rb +8 -9
  83. data/app/controllers/hyrax/content_blocks_controller.rb +1 -1
  84. data/app/controllers/hyrax/dashboard/collection_members_controller.rb +73 -0
  85. data/app/controllers/hyrax/dashboard/collections_controller.rb +210 -54
  86. data/app/controllers/hyrax/dashboard/nest_collections_controller.rb +106 -0
  87. data/app/controllers/hyrax/dashboard/profiles_controller.rb +1 -1
  88. data/app/controllers/hyrax/dashboard/works_controller.rb +1 -9
  89. data/app/controllers/hyrax/dashboard_controller.rb +1 -1
  90. data/app/controllers/hyrax/file_sets_controller.rb +7 -75
  91. data/app/controllers/hyrax/my/collections_controller.rb +26 -1
  92. data/app/controllers/hyrax/my/works_controller.rb +16 -1
  93. data/app/controllers/hyrax/my_controller.rb +5 -19
  94. data/app/controllers/hyrax/notifications_controller.rb +1 -1
  95. data/app/controllers/hyrax/pages_controller.rb +3 -2
  96. data/app/controllers/hyrax/stats_controller.rb +3 -0
  97. data/app/controllers/hyrax/transfers_controller.rb +1 -1
  98. data/app/forms/hyrax/forms/admin/appearance.rb +2 -2
  99. data/app/forms/hyrax/forms/admin/collection_type_form.rb +24 -0
  100. data/app/forms/hyrax/forms/admin/collection_type_participant_form.rb +16 -0
  101. data/app/forms/hyrax/forms/admin_set_form.rb +1 -1
  102. data/app/forms/hyrax/forms/batch_edit_form.rb +28 -7
  103. data/app/forms/hyrax/forms/collection_form.rb +71 -13
  104. data/app/forms/hyrax/forms/dashboard/nest_collection_form.rb +98 -0
  105. data/app/forms/hyrax/forms/permission_template_form.rb +13 -13
  106. data/app/forms/hyrax/forms/work_form.rb +58 -14
  107. data/app/helpers/hyrax/ability_helper.rb +3 -0
  108. data/app/helpers/hyrax/citations_behaviors/formatters/chicago_formatter.rb +3 -10
  109. data/app/helpers/hyrax/collections_helper.rb +10 -2
  110. data/app/helpers/hyrax/dashboard_helper_behavior.rb +0 -4
  111. data/app/helpers/hyrax/hyrax_helper_behavior.rb +19 -5
  112. data/app/helpers/hyrax/trophy_helper.rb +0 -1
  113. data/app/indexers/hyrax/indexes_workflow.rb +1 -1
  114. data/app/indexers/hyrax/repository_reindexer.rb +19 -0
  115. data/app/jobs/hyrax/application_job.rb +1 -1
  116. data/app/jobs/import_export_job.rb +1 -1
  117. data/app/jobs/user_edit_profile_event_job.rb +1 -1
  118. data/app/models/admin_set.rb +5 -2
  119. data/app/models/collection_branding_info.rb +39 -0
  120. data/app/models/concerns/hyrax/ability.rb +26 -49
  121. data/app/models/concerns/hyrax/ability/admin_set_ability.rb +40 -0
  122. data/app/models/concerns/hyrax/ability/collection_ability.rb +40 -0
  123. data/app/models/concerns/hyrax/ability/collection_type_ability.rb +16 -0
  124. data/app/models/concerns/hyrax/ability/permission_template_ability.rb +18 -0
  125. data/app/models/concerns/hyrax/ability/solr_document_ability.rb +18 -0
  126. data/app/models/concerns/hyrax/collection_behavior.rb +86 -3
  127. data/app/models/concerns/hyrax/collection_nesting.rb +41 -0
  128. data/app/models/concerns/hyrax/file_set/belongs_to_works.rb +0 -15
  129. data/app/models/concerns/hyrax/file_set_behavior.rb +0 -1
  130. data/app/models/concerns/hyrax/has_rendering.rb +11 -0
  131. data/app/models/concerns/hyrax/human_readable_type.rb +3 -0
  132. data/app/models/concerns/hyrax/solr_document/metadata.rb +3 -0
  133. data/app/models/concerns/hyrax/solr_document_behavior.rb +8 -2
  134. data/app/models/concerns/hyrax/user.rb +11 -6
  135. data/app/models/concerns/hyrax/with_events.rb +12 -6
  136. data/app/models/concerns/hyrax/work_behavior.rb +3 -1
  137. data/app/models/hyrax/batch_create_operation.rb +1 -1
  138. data/app/models/hyrax/collection_type.rb +155 -0
  139. data/app/models/hyrax/collection_type_participant.rb +39 -0
  140. data/app/models/hyrax/operation.rb +14 -2
  141. data/app/models/hyrax/permission_template.rb +23 -1
  142. data/app/models/hyrax/permission_template_access.rb +56 -7
  143. data/app/models/hyrax/uploaded_file.rb +4 -1
  144. data/app/models/sipity/workflow.rb +6 -4
  145. data/app/presenters/hyrax/admin/workflow_role_presenter.rb +3 -3
  146. data/app/presenters/hyrax/admin_set_options_presenter.rb +1 -1
  147. data/app/presenters/hyrax/admin_set_presenter.rb +16 -0
  148. data/app/presenters/hyrax/collection_options_presenter.rb +1 -0
  149. data/app/presenters/hyrax/collection_presenter.rb +134 -6
  150. data/app/presenters/hyrax/displays_image.rb +39 -0
  151. data/app/presenters/hyrax/file_set_presenter.rb +1 -4
  152. data/app/presenters/hyrax/fixity_status_presenter.rb +2 -2
  153. data/app/presenters/hyrax/homepage_presenter.rb +20 -0
  154. data/app/presenters/hyrax/menu_presenter.rb +2 -1
  155. data/app/presenters/hyrax/select_collection_type_list_presenter.rb +42 -0
  156. data/app/presenters/hyrax/select_collection_type_presenter.rb +11 -0
  157. data/app/presenters/hyrax/select_type_presenter.rb +13 -4
  158. data/app/presenters/hyrax/work_show_presenter.rb +52 -1
  159. data/app/renderers/hyrax/renderers/attribute_renderer.rb +1 -1
  160. data/app/renderers/hyrax/renderers/license_attribute_renderer.rb +1 -1
  161. data/app/renderers/hyrax/renderers/rights_statement_attribute_renderer.rb +3 -2
  162. data/app/search_builders/hyrax/admin_admin_set_member_search_builder.rb +10 -1
  163. data/app/search_builders/hyrax/admin_set_search_builder.rb +9 -2
  164. data/app/search_builders/hyrax/collection_member_search_builder.rb +21 -8
  165. data/app/search_builders/hyrax/collection_search_builder.rb +37 -0
  166. data/app/search_builders/hyrax/dashboard/collections_search_builder.rb +42 -0
  167. data/app/search_builders/hyrax/dashboard/managed_search_filters.rb +24 -0
  168. data/app/search_builders/hyrax/dashboard/nested_collections_search_builder.rb +123 -0
  169. data/app/search_builders/hyrax/dashboard/works_search_builder.rb +18 -0
  170. data/app/search_builders/hyrax/filter_suppressed_with_roles.rb +5 -1
  171. data/app/search_builders/hyrax/my/collections_search_builder.rb +20 -3
  172. data/app/search_builders/hyrax/nested_collections_parent_search_builder.rb +27 -0
  173. data/app/search_builders/hyrax/search_filters.rb +8 -0
  174. data/app/services/hyrax/adapters/nesting_index_adapter.rb +192 -0
  175. data/app/services/hyrax/admin_set_create_service.rb +3 -2
  176. data/app/services/hyrax/admin_set_member_service.rb +40 -0
  177. data/app/services/hyrax/batch_create_failure_service.rb +4 -3
  178. data/app/services/hyrax/collection_types/create_service.rb +143 -0
  179. data/app/services/hyrax/collection_types/permissions_service.rb +233 -0
  180. data/app/services/hyrax/collections/collection_member_service.rb +91 -0
  181. data/app/services/hyrax/collections/managed_collections_service.rb +16 -0
  182. data/app/services/hyrax/collections/migration_service.rb +81 -0
  183. data/app/services/hyrax/collections/nested_collection_persistence_service.rb +26 -0
  184. data/app/services/hyrax/collections/nested_collection_query_service.rb +187 -0
  185. data/app/services/hyrax/collections/permissions_create_service.rb +71 -0
  186. data/app/services/hyrax/collections/permissions_service.rb +234 -0
  187. data/app/services/hyrax/collections_service.rb +3 -3
  188. data/app/services/hyrax/default_middleware_stack.rb +35 -0
  189. data/app/services/hyrax/file_set_fixity_check_service.rb +1 -1
  190. data/app/services/hyrax/graph_exporter.rb +19 -15
  191. data/app/services/hyrax/iiif_authorization_service.rb +19 -0
  192. data/app/services/hyrax/multiple_membership_checker.rb +78 -0
  193. data/app/services/hyrax/noid.rb +1 -3
  194. data/app/services/hyrax/qa_select_service.rb +11 -2
  195. data/app/services/hyrax/workflow/status_list_service.rb +1 -1
  196. data/app/services/hyrax/working_directory.rb +0 -8
  197. data/app/services/hyrax/works/managed_works_service.rb +16 -0
  198. data/app/views/_flash_msg.html.erb +1 -1
  199. data/app/views/_masthead.html.erb +0 -1
  200. data/app/views/catalog/_document.html.erb +3 -1
  201. data/app/views/catalog/_document_list.html.erb +2 -2
  202. data/app/views/catalog/_index_header_list_collection.html.erb +4 -3
  203. data/app/views/catalog/_index_header_list_default.html.erb +3 -3
  204. data/app/views/catalog/_index_list_default.html.erb +29 -14
  205. data/app/views/catalog/_thumbnail_list_collection.html.erb +3 -4
  206. data/app/views/catalog/_thumbnail_list_default.html.erb +5 -3
  207. data/app/views/hyrax/admin/admin_sets/_form.html.erb +2 -1
  208. data/app/views/hyrax/admin/admin_sets/_form_participant_table.html.erb +1 -1
  209. data/app/views/hyrax/admin/admin_sets/_form_participants.html.erb +1 -1
  210. data/app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb +3 -3
  211. data/app/views/hyrax/admin/admin_sets/edit.html.erb +1 -1
  212. data/app/views/hyrax/admin/collection_types/_form.html.erb +61 -0
  213. data/app/views/hyrax/admin/collection_types/_form_metadata.html.erb +2 -0
  214. data/app/views/hyrax/admin/collection_types/_form_metadata_admin_set.html.erb +2 -0
  215. data/app/views/hyrax/admin/collection_types/_form_participant_table.html.erb +26 -0
  216. data/app/views/hyrax/admin/collection_types/_form_participants.html.erb +62 -0
  217. data/app/views/hyrax/admin/collection_types/_form_settings.html.erb +39 -0
  218. data/app/views/hyrax/admin/collection_types/edit.html.erb +10 -0
  219. data/app/views/hyrax/admin/collection_types/index.html.erb +88 -0
  220. data/app/views/hyrax/admin/collection_types/new.html.erb +10 -0
  221. data/app/views/hyrax/base/_attribute_rows.html.erb +1 -0
  222. data/app/views/hyrax/base/_citations.html.erb +10 -6
  223. data/app/views/hyrax/base/_form_child_work_relationships.html.erb +22 -29
  224. data/app/views/hyrax/base/_form_files.html.erb +29 -16
  225. data/app/views/hyrax/base/_form_media.html.erb +1 -0
  226. data/app/views/hyrax/base/_form_member_of_collections.html.erb +44 -6
  227. data/app/views/hyrax/base/_form_metadata.html.erb +0 -3
  228. data/app/views/hyrax/base/_form_progress.html.erb +2 -1
  229. data/app/views/hyrax/base/_form_relationships.html.erb +3 -2
  230. data/app/views/hyrax/base/_form_rendering.html.erb +14 -0
  231. data/app/views/hyrax/base/_form_representative.html.erb +2 -2
  232. data/app/views/hyrax/base/_form_share.html.erb +44 -41
  233. data/app/views/hyrax/base/_form_thumbnail.html.erb +2 -2
  234. data/app/views/hyrax/base/_guts4form.html.erb +2 -2
  235. data/app/views/hyrax/base/_member.html.erb +3 -4
  236. data/app/views/hyrax/base/_metadata.html.erb +1 -5
  237. data/app/views/hyrax/base/_relationships.html.erb +1 -1
  238. data/app/views/hyrax/base/_relationships_parent_row.html.erb +1 -1
  239. data/app/views/hyrax/base/_representative_media.html.erb +8 -2
  240. data/app/views/hyrax/base/_work_title.erb +14 -7
  241. data/app/views/hyrax/base/_work_type.html.erb +4 -0
  242. data/app/views/hyrax/base/_workflow_actions.html.erb +7 -7
  243. data/app/views/hyrax/base/_workflow_actions_widget.erb +4 -2
  244. data/app/views/hyrax/base/show.html.erb +35 -26
  245. data/app/views/hyrax/batch_edits/edit.html.erb +1 -1
  246. data/app/views/hyrax/collections/_collection_description.erb +1 -1
  247. data/app/views/hyrax/collections/_default_group.html.erb +9 -11
  248. data/app/views/hyrax/collections/_list_collections.html.erb +19 -12
  249. data/app/views/hyrax/collections/_paginate.html.erb +5 -4
  250. data/app/views/hyrax/collections/_search_form.html.erb +1 -1
  251. data/app/views/hyrax/collections/_search_results.html.erb +0 -2
  252. data/app/views/hyrax/collections/_show_descriptions.html.erb +7 -6
  253. data/app/views/hyrax/collections/_show_document_list.html.erb +3 -3
  254. data/app/views/hyrax/collections/_show_document_list_row.html.erb +3 -3
  255. data/app/views/hyrax/collections/_show_parent_collections.html.erb +41 -0
  256. data/app/views/hyrax/collections/_sort_and_per_page.html.erb +16 -24
  257. data/app/views/hyrax/collections/_subcollection_list.html.erb +13 -0
  258. data/app/views/hyrax/collections/_view_type_group.html.erb +1 -1
  259. data/app/views/hyrax/collections/show.html.erb +120 -31
  260. data/app/views/hyrax/dashboard/collections/_button_for_batch_delete_collection.html.erb +4 -0
  261. data/app/views/hyrax/dashboard/collections/_button_for_remove_selected_from_collection.html.erb +0 -1
  262. data/app/views/hyrax/dashboard/collections/_button_for_update_collection.html.erb +1 -1
  263. data/app/views/hyrax/dashboard/collections/_button_remove_from_collection.html.erb +1 -1
  264. data/app/views/hyrax/dashboard/collections/_collection_title.html.erb +25 -0
  265. data/app/views/hyrax/dashboard/collections/_document_list.html.erb +1 -5
  266. data/app/views/hyrax/dashboard/collections/_edit_actions.html.erb +2 -2
  267. data/app/views/hyrax/dashboard/collections/_flash_msg.html.erb +9 -0
  268. data/app/views/hyrax/dashboard/collections/_form.html.erb +46 -24
  269. data/app/views/hyrax/dashboard/collections/_form_branding.html.erb +153 -0
  270. data/app/views/hyrax/dashboard/collections/_form_default_group_delt.html.erb +27 -0
  271. data/app/views/hyrax/dashboard/collections/_form_discovery.html.erb +18 -0
  272. data/app/views/hyrax/dashboard/collections/_form_share.html.erb +69 -81
  273. data/app/views/hyrax/dashboard/collections/_form_share_table.html.erb +31 -0
  274. data/app/views/hyrax/dashboard/collections/_list_collections.html.erb +54 -37
  275. data/app/views/hyrax/dashboard/collections/_modal_remove_from_collection.html.erb +17 -0
  276. data/app/views/hyrax/dashboard/collections/_modal_remove_sub_collection.html.erb +17 -0
  277. data/app/views/hyrax/dashboard/collections/_show_actions.html.erb +27 -21
  278. data/app/views/hyrax/dashboard/collections/_show_add_items_actions.html.erb +25 -0
  279. data/app/views/hyrax/dashboard/collections/_show_document_list.html.erb +4 -3
  280. data/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb +6 -5
  281. data/app/views/hyrax/dashboard/collections/_show_parent_collection_row.html.erb +6 -0
  282. data/app/views/hyrax/dashboard/collections/_show_parent_collections.html.erb +37 -0
  283. data/app/views/hyrax/dashboard/collections/_show_subcollection_actions.html.erb +26 -0
  284. data/app/views/hyrax/dashboard/collections/_sort_and_per_page.html.erb +28 -27
  285. data/app/views/hyrax/dashboard/collections/_subcollection_list.html.erb +21 -0
  286. data/app/views/hyrax/dashboard/collections/_work_action_menu.html.erb +1 -1
  287. data/app/views/hyrax/dashboard/collections/edit.html.erb +8 -31
  288. data/app/views/hyrax/dashboard/collections/new.html.erb +2 -3
  289. data/app/views/hyrax/dashboard/collections/show.html.erb +102 -35
  290. data/app/views/hyrax/dashboard/sidebar/_configuration.html.erb +5 -0
  291. data/app/views/hyrax/dashboard/sidebar/_repository_content.html.erb +0 -5
  292. data/app/views/hyrax/dashboard/sidebar/_tasks.html.erb +10 -0
  293. data/app/views/hyrax/dashboard/works/_default_group.html.erb +1 -0
  294. data/app/views/hyrax/dashboard/works/_list_works.html.erb +4 -0
  295. data/app/views/hyrax/file_sets/_extra_fields_modal.html.erb +1 -1
  296. data/app/views/hyrax/file_sets/_form.html.erb +2 -2
  297. data/app/views/hyrax/file_sets/_show_characterization_details.html.erb +1 -1
  298. data/app/views/hyrax/file_sets/media_display/_image.html.erb +3 -5
  299. data/app/views/hyrax/file_sets/media_display/_office_document.html.erb +3 -5
  300. data/app/views/hyrax/file_sets/media_display/_pdf.html.erb +3 -5
  301. data/app/views/hyrax/homepage/_featured.html.erb +5 -5
  302. data/app/views/hyrax/homepage/_featured_fields.html.erb +10 -14
  303. data/app/views/hyrax/homepage/_featured_works.html.erb +1 -1
  304. data/app/views/hyrax/homepage/_home_content.html.erb +2 -2
  305. data/app/views/hyrax/homepage/_recent_document.html.erb +14 -12
  306. data/app/views/hyrax/homepage/_recently_uploaded.html.erb +2 -6
  307. data/app/views/hyrax/homepage/index.html.erb +4 -2
  308. data/app/views/hyrax/my/_admin_set_action_menu.html.erb +54 -0
  309. data/app/views/hyrax/my/_collection_action_menu.html.erb +41 -9
  310. data/app/views/hyrax/my/_facet_pivot.html.erb +26 -0
  311. data/app/views/hyrax/my/_search_header.html.erb +1 -15
  312. data/app/views/hyrax/my/_sort_and_per_page.html.erb +12 -13
  313. data/app/views/hyrax/my/_work_action_menu.html.erb +17 -15
  314. data/app/views/hyrax/my/collections/_batch_actions.html.erb +5 -0
  315. data/app/views/hyrax/my/collections/_default_group.html.erb +21 -12
  316. data/app/views/hyrax/my/collections/_list_collections.html.erb +57 -35
  317. data/app/views/hyrax/my/collections/_modal_add_subcollection.html.erb +38 -0
  318. data/app/views/hyrax/my/collections/_modal_add_to_collection.html.erb +31 -0
  319. data/app/views/hyrax/my/collections/_modal_add_to_collection_deny.html.erb +12 -0
  320. data/app/views/hyrax/my/collections/_modal_add_to_collection_permission_deny.html.erb +12 -0
  321. data/app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb +36 -0
  322. data/app/views/hyrax/my/collections/_modal_delete_admin_set_deny.html.erb +12 -0
  323. data/app/views/hyrax/my/collections/_modal_delete_collection.html.erb +19 -0
  324. data/app/views/hyrax/my/collections/_modal_delete_collection_deny.html.erb +14 -0
  325. data/app/views/hyrax/my/collections/_modal_delete_deny.html.erb +14 -0
  326. data/app/views/hyrax/my/collections/_modal_delete_empty_collection.html.erb +18 -0
  327. data/app/views/hyrax/my/collections/_modal_delete_selected_collections.html.erb +17 -0
  328. data/app/views/hyrax/my/collections/_modal_edit_deny.html.erb +14 -0
  329. data/app/views/hyrax/my/collections/_tabs.html.erb +3 -3
  330. data/app/views/hyrax/my/collections/index.html.erb +46 -21
  331. data/app/views/hyrax/my/works/_batch_actions.html.erb +14 -0
  332. data/app/views/hyrax/my/works/_default_group.html.erb +10 -12
  333. data/app/views/hyrax/my/works/_tabs.html.erb +1 -1
  334. data/app/views/hyrax/my/works/index.html.erb +7 -5
  335. data/app/views/hyrax/notifications/_notifications.html.erb +3 -3
  336. data/app/views/hyrax/permissions/confirm_access.html.erb +1 -1
  337. data/app/views/hyrax/stats/file.html.erb +1 -1
  338. data/app/views/hyrax/stats/work.html.erb +1 -1
  339. data/app/views/hyrax/transfers/_received.html.erb +1 -1
  340. data/app/views/hyrax/transfers/_sent.html.erb +1 -1
  341. data/app/views/hyrax/uploads/_js_templates_branding.html.erb +120 -0
  342. data/app/views/hyrax/users/_activity_log.html.erb +3 -3
  343. data/app/views/kaminari/blacklight_compact/_paginator.html.erb +23 -0
  344. data/app/views/layouts/hyrax.html.erb +9 -11
  345. data/app/views/layouts/{dashboard.html.erb → hyrax/dashboard.html.erb} +0 -0
  346. data/app/views/shared/_select_work_type_modal.html.erb +25 -26
  347. data/config/features.rb +4 -0
  348. data/config/initializers/hyrax_callbacks.rb +2 -2
  349. data/config/initializers/samvera-nesting_indexer_initializer.rb +15 -0
  350. data/config/locales/hyrax.de.yml +364 -79
  351. data/config/locales/hyrax.en.yml +874 -584
  352. data/config/locales/hyrax.es.yml +323 -35
  353. data/config/locales/hyrax.fr.yml +323 -39
  354. data/config/locales/hyrax.it.yml +322 -39
  355. data/config/locales/hyrax.pt-BR.yml +317 -39
  356. data/config/locales/hyrax.zh.yml +420 -142
  357. data/config/routes.rb +17 -0
  358. data/hyrax.gemspec +58 -57
  359. data/lib/generators/hyrax/assets_generator.rb +2 -4
  360. data/lib/generators/hyrax/clamav_generator.rb +0 -2
  361. data/lib/generators/hyrax/config_generator.rb +0 -2
  362. data/lib/generators/hyrax/install_generator.rb +12 -3
  363. data/lib/generators/hyrax/riiif_generator.rb +54 -0
  364. data/lib/generators/hyrax/templates/app/assets/images/us_404.svg +91 -0
  365. data/lib/generators/hyrax/templates/config/initializers/hyrax.rb +48 -3
  366. data/lib/generators/hyrax/templates/config/initializers/riiif.rb +26 -0
  367. data/lib/generators/hyrax/templates/config/locales/hyrax.en.yml +4 -4
  368. data/lib/generators/hyrax/templates/config/locales/hyrax.fr.yml +0 -4
  369. data/lib/generators/hyrax/templates/db/migrate/20170808160431_create_collection_types.rb.erb +17 -0
  370. data/lib/generators/hyrax/templates/db/migrate/20170808160432_update_collection_type_column_names.rb.erb +9 -0
  371. data/lib/generators/hyrax/templates/db/migrate/20170810190549_update_collection_type_column_options.rb.erb +9 -0
  372. data/lib/generators/hyrax/templates/db/migrate/20170816180307_create_collection_branding_infos.rb.erb +15 -0
  373. data/lib/generators/hyrax/templates/db/migrate/20170817152654_create_collection_type_participants.rb.erb +11 -0
  374. data/lib/generators/hyrax/templates/db/migrate/20170821152307_rename_admin_set_id_to_source_id.rb.erb +5 -0
  375. data/lib/generators/hyrax/templates/db/migrate/20171103080032_add_collection_type_sharing_options.rb.erb +5 -0
  376. data/lib/generators/hyrax/templates/db/seeds.rb +226 -22
  377. data/lib/generators/hyrax/work/templates/controller.rb.erb +1 -1
  378. data/lib/generators/hyrax/work/templates/feature_spec.rb.erb +37 -1
  379. data/lib/generators/hyrax/work/templates/form.rb.erb +1 -0
  380. data/lib/generators/hyrax/work/templates/indexer.rb.erb +0 -1
  381. data/lib/generators/hyrax/work/templates/locale.de.yml.erb +1 -1
  382. data/lib/generators/hyrax/work/templates/locale.en.yml.erb +1 -1
  383. data/lib/generators/hyrax/work/templates/locale.es.yml.erb +1 -1
  384. data/lib/generators/hyrax/work/templates/locale.fr.yml.erb +1 -1
  385. data/lib/generators/hyrax/work/templates/locale.it.yml.erb +1 -1
  386. data/lib/generators/hyrax/work/templates/locale.pt-BR.yml.erb +1 -1
  387. data/lib/generators/hyrax/work/templates/locale.zh.yml.erb +1 -1
  388. data/lib/generators/hyrax/work/templates/model.rb.erb +0 -2
  389. data/lib/hyrax.rb +1 -1
  390. data/lib/hyrax/configuration.rb +96 -7
  391. data/lib/hyrax/engine.rb +5 -4
  392. data/lib/hyrax/rails/routes.rb +1 -1
  393. data/lib/hyrax/version.rb +1 -1
  394. data/lib/tasks/default_admin_set.rake +5 -3
  395. data/lib/tasks/default_collection_type.rake +19 -0
  396. data/lib/tasks/migrate.rake +8 -0
  397. data/spec/abilities/ability_spec.rb +4 -1
  398. data/spec/abilities/admin_set_ability_spec.rb +172 -0
  399. data/spec/abilities/collection_ability_spec.rb +194 -0
  400. data/spec/abilities/collection_type_ability_spec.rb +72 -0
  401. data/spec/abilities/file_set_abilities_spec.rb +3 -3
  402. data/spec/abilities/generic_work_abilities_spec.rb +5 -5
  403. data/spec/abilities/permission_template_ability_spec.rb +145 -0
  404. data/spec/abilities/solr_document_ability_spec.rb +27 -0
  405. data/spec/actors/hyrax/actors/apply_permission_template_actor_spec.rb +96 -28
  406. data/spec/actors/hyrax/actors/collections_membership_actor_spec.rb +283 -15
  407. data/spec/actors/hyrax/actors/create_with_remote_files_actor_spec.rb +7 -7
  408. data/spec/actors/hyrax/actors/default_admin_set_actor_spec.rb +1 -1
  409. data/spec/actors/hyrax/actors/file_actor_spec.rb +0 -1
  410. data/spec/actors/hyrax/actors/file_set_actor_spec.rb +8 -6
  411. data/spec/actors/hyrax/actors/generic_work_actor_spec.rb +11 -39
  412. data/spec/actors/hyrax/actors/interpret_visibility_actor_spec.rb +15 -15
  413. data/spec/actors/hyrax/actors/model_actor_spec.rb +0 -2
  414. data/spec/authorities/qa/authorities/collections_spec.rb +68 -0
  415. data/spec/channels/hyrax/application_cable/channel_spec.rb +1 -1
  416. data/spec/channels/hyrax/application_cable/connection_spec.rb +1 -1
  417. data/spec/channels/hyrax/notifications_channel_spec.rb +1 -1
  418. data/spec/controllers/catalog_controller_spec.rb +1 -1
  419. data/spec/controllers/hyrax/admin/admin_sets_controller_spec.rb +27 -1
  420. data/spec/controllers/hyrax/admin/collection_type_participants_controller_spec.rb +152 -0
  421. data/spec/controllers/hyrax/admin/collection_types_controller_spec.rb +320 -0
  422. data/spec/controllers/hyrax/admin/permission_template_accesses_controller_spec.rb +68 -29
  423. data/spec/controllers/hyrax/admin/permission_templates_controller_spec.rb +37 -10
  424. data/spec/controllers/hyrax/admin/strategies_controller_spec.rb +2 -13
  425. data/spec/controllers/hyrax/admin/workflow_roles_controller_spec.rb +52 -2
  426. data/spec/controllers/hyrax/batch_edits_controller_spec.rb +75 -4
  427. data/spec/controllers/hyrax/batch_uploads_controller_spec.rb +2 -2
  428. data/spec/controllers/hyrax/collections_controller_spec.rb +15 -6
  429. data/spec/controllers/hyrax/content_blocks_controller_spec.rb +5 -5
  430. data/spec/controllers/hyrax/dashboard/collection_members_controller_spec.rb +408 -0
  431. data/spec/controllers/hyrax/dashboard/collections_controller_spec.rb +114 -18
  432. data/spec/controllers/hyrax/dashboard/nest_collections_controller_spec.rb +360 -0
  433. data/spec/controllers/hyrax/dashboard/profiles_controller_spec.rb +2 -2
  434. data/spec/controllers/hyrax/dashboard/works_controller_spec.rb +1 -1
  435. data/spec/controllers/hyrax/downloads_controller_spec.rb +3 -3
  436. data/spec/controllers/hyrax/featured_work_lists_controller_spec.rb +2 -2
  437. data/spec/controllers/hyrax/file_sets_controller_spec.rb +8 -136
  438. data/spec/controllers/hyrax/fixity_checks_controller_spec.rb +1 -1
  439. data/spec/controllers/hyrax/generic_works_controller_spec.rb +64 -2
  440. data/spec/controllers/hyrax/homepage_controller_spec.rb +1 -1
  441. data/spec/controllers/hyrax/my/works_controller_spec.rb +4 -1
  442. data/spec/controllers/hyrax/pages_controller_spec.rb +11 -11
  443. data/spec/controllers/hyrax/users_controller_spec.rb +1 -1
  444. data/spec/controllers/hyrax/workflow_actions_controller_spec.rb +1 -1
  445. data/spec/conversions/power_converters/polymorphic_type_spec.rb +2 -2
  446. data/spec/conversions/power_converters/sipity_agent_spec.rb +1 -1
  447. data/spec/conversions/power_converters/sipity_role_spec.rb +1 -1
  448. data/spec/conversions/power_converters/sipity_workflow_state_spec.rb +1 -1
  449. data/spec/factories/admin_sets.rb +3 -3
  450. data/spec/factories/collection_branding_infos.rb +11 -0
  451. data/spec/factories/collection_type_participants.rb +8 -0
  452. data/spec/factories/collection_types.rb +104 -0
  453. data/spec/factories/collections.rb +323 -0
  454. data/spec/factories/collections_factory.rb +106 -3
  455. data/spec/factories/file_sets.rb +2 -2
  456. data/spec/factories/generic_works.rb +22 -14
  457. data/spec/factories/object_id.rb +6 -0
  458. data/spec/factories/permission_templates.rb +46 -8
  459. data/spec/factories/users.rb +1 -1
  460. data/spec/factory_tests/collections_factory_spec.rb +211 -0
  461. data/spec/features/admin_spec.rb +1 -1
  462. data/spec/features/batch_create_spec.rb +1 -1
  463. data/spec/features/batch_edit_spec.rb +0 -1
  464. data/spec/features/browse_catalog_spec.rb +1 -3
  465. data/spec/features/browse_dashboard_works_spec.rb +0 -1
  466. data/spec/features/collection_multi_membership_spec.rb +188 -0
  467. data/spec/features/collection_spec.rb +45 -7
  468. data/spec/features/collection_type_spec.rb +338 -0
  469. data/spec/features/create_child_work_spec.rb +1 -1
  470. data/spec/features/create_work_admin_spec.rb +44 -0
  471. data/spec/features/create_work_spec.rb +1 -1
  472. data/spec/features/dashboard/all_works.rb +1 -1
  473. data/spec/features/dashboard/collection_spec.rb +724 -115
  474. data/spec/features/delete_work_spec.rb +1 -1
  475. data/spec/features/edit_file_spec.rb +1 -1
  476. data/spec/features/edit_work_spec.rb +1 -1
  477. data/spec/features/embargo_spec.rb +1 -1
  478. data/spec/features/homepage_spec.rb +3 -3
  479. data/spec/features/lease_spec.rb +1 -1
  480. data/spec/features/notifications_spec.rb +2 -2
  481. data/spec/features/ownership_transfer_spec.rb +1 -2
  482. data/spec/features/proxy_spec.rb +1 -1
  483. data/spec/features/search_spec.rb +12 -11
  484. data/spec/features/static_pages_spec.rb +1 -1
  485. data/spec/features/users_spec.rb +1 -1
  486. data/spec/features/work_generator_spec.rb +1 -1
  487. data/spec/features/work_show_spec.rb +4 -4
  488. data/spec/features/workflow_roles_spec.rb +1 -1
  489. data/spec/features/workflow_state_changes_spec.rb +2 -2
  490. data/spec/forms/hyrax/forms/admin/collection_type_form_spec.rb +106 -0
  491. data/spec/forms/hyrax/forms/admin/collection_type_participant_form_spec.rb +10 -0
  492. data/spec/forms/hyrax/forms/admin_set_form_spec.rb +1 -1
  493. data/spec/forms/hyrax/forms/batch_edit_form_spec.rb +1 -1
  494. data/spec/forms/hyrax/forms/batch_upload_form_spec.rb +1 -0
  495. data/spec/forms/hyrax/forms/collection_form_spec.rb +52 -4
  496. data/spec/forms/hyrax/forms/dashboard/nest_collection_form_spec.rb +159 -0
  497. data/spec/forms/hyrax/forms/permission_template_form_spec.rb +15 -12
  498. data/spec/forms/hyrax/forms/work_form_spec.rb +61 -12
  499. data/spec/forms/hyrax/forms/workflow_action_form_spec.rb +1 -1
  500. data/spec/forms/hyrax/generic_work_form_spec.rb +6 -3
  501. data/spec/helpers/hyrax/ability_helper_spec.rb +11 -0
  502. data/spec/helpers/hyrax/collections_helper_spec.rb +17 -39
  503. data/spec/helpers/hyrax/content_block_helper_spec.rb +1 -1
  504. data/spec/helpers/{dashboard_helper_spec.rb → hyrax/dashboard_helper_behavior_spec.rb} +1 -12
  505. data/spec/helpers/hyrax/trophy_helper_spec.rb +1 -1
  506. data/spec/helpers/hyrax_helper_spec.rb +0 -3
  507. data/spec/indexers/hyrax/generic_work_indexer_spec.rb +4 -4
  508. data/spec/indexers/hyrax/repository_reindexer_spec.rb +8 -0
  509. data/spec/javascripts/relationships_control_spec.js.coffee +3 -3
  510. data/spec/javascripts/settings_spec.js +73 -0
  511. data/spec/jobs/user_edit_profile_event_job_spec.rb +1 -1
  512. data/spec/lib/hyrax/configuration_spec.rb +16 -0
  513. data/spec/models/admin_set_spec.rb +42 -4
  514. data/spec/models/collection_branding_info_spec.rb +61 -0
  515. data/spec/models/collection_spec.rb +228 -3
  516. data/spec/models/concerns/hyrax/collection_nesting_spec.rb +64 -0
  517. data/spec/models/file_set_spec.rb +4 -4
  518. data/spec/models/generic_work_spec.rb +1 -1
  519. data/spec/models/hyrax/batch_create_operation_spec.rb +59 -0
  520. data/spec/models/hyrax/collection_type_participant_spec.rb +43 -0
  521. data/spec/models/hyrax/collection_type_spec.rb +235 -0
  522. data/spec/models/hyrax/operation_spec.rb +27 -1
  523. data/spec/models/hyrax/permission_template_access_spec.rb +128 -5
  524. data/spec/models/hyrax/permission_template_spec.rb +85 -29
  525. data/spec/models/hyrax/user_usage_stats_spec.rb +1 -1
  526. data/spec/models/hyrax/work_behavior_spec.rb +12 -2
  527. data/spec/models/sipity/agent_spec.rb +1 -1
  528. data/spec/models/sipity/comment_spec.rb +1 -1
  529. data/spec/models/sipity/entity_spec.rb +3 -3
  530. data/spec/models/sipity/entity_specific_responsibility_spec.rb +1 -1
  531. data/spec/models/sipity/notifiable_context_spec.rb +1 -1
  532. data/spec/models/sipity/notification_recipient_spec.rb +1 -1
  533. data/spec/models/sipity/notification_spec.rb +1 -1
  534. data/spec/models/sipity/role_spec.rb +1 -1
  535. data/spec/models/sipity/workflow_action_spec.rb +1 -1
  536. data/spec/models/sipity/workflow_responsibility_spec.rb +1 -1
  537. data/spec/models/sipity/workflow_role_spec.rb +1 -1
  538. data/spec/models/sipity/workflow_spec.rb +7 -7
  539. data/spec/models/sipity/workflow_state_action_permission_spec.rb +1 -1
  540. data/spec/models/sipity/workflow_state_action_spec.rb +1 -1
  541. data/spec/models/sipity/workflow_state_spec.rb +1 -1
  542. data/spec/models/solr_document_spec.rb +24 -0
  543. data/spec/models/user_mailbox_spec.rb +0 -2
  544. data/spec/models/user_spec.rb +7 -7
  545. data/spec/presenters/hyrax/admin/users_presenter_spec.rb +2 -2
  546. data/spec/presenters/hyrax/admin_set_options_presenter_spec.rb +7 -7
  547. data/spec/presenters/hyrax/admin_set_presenter_spec.rb +20 -0
  548. data/spec/presenters/hyrax/collection_options_presenter_spec.rb +2 -0
  549. data/spec/presenters/hyrax/collection_presenter_spec.rb +375 -6
  550. data/spec/presenters/hyrax/file_set_presenter_spec.rb +124 -5
  551. data/spec/presenters/hyrax/inspect_work_presenter_spec.rb +1 -1
  552. data/spec/presenters/hyrax/menu_presenter_spec.rb +5 -0
  553. data/spec/presenters/hyrax/select_collection_type_list_presenter_spec.rb +59 -0
  554. data/spec/presenters/hyrax/select_collection_type_presenter_spec.rb +10 -0
  555. data/spec/presenters/hyrax/select_type_presenter_spec.rb +12 -0
  556. data/spec/presenters/hyrax/work_show_presenter_spec.rb +116 -1
  557. data/spec/presenters/hyrax/workflow_presenter_spec.rb +1 -1
  558. data/spec/renderers/hyrax/renderers/attribute_renderer_spec.rb +6 -6
  559. data/spec/renderers/hyrax/renderers/date_attribute_renderer_spec.rb +2 -2
  560. data/spec/renderers/hyrax/renderers/external_link_attribute_renderer_spec.rb +1 -1
  561. data/spec/renderers/hyrax/renderers/faceted_attribute_renderer_spec.rb +2 -2
  562. data/spec/renderers/hyrax/renderers/license_attribute_renderer_spec.rb +2 -2
  563. data/spec/renderers/hyrax/renderers/linked_attribute_renderer_spec.rb +2 -2
  564. data/spec/renderers/hyrax/renderers/rights_statement_attribute_renderer_spec.rb +10 -1
  565. data/spec/requests/riiif_spec.rb +32 -0
  566. data/spec/routing/collection_permission_templates_routes_spec.rb +31 -0
  567. data/spec/routing/collection_types_routes.rb +35 -0
  568. data/spec/routing/dashboard_routes_spec.rb +37 -0
  569. data/spec/routing/route_spec.rb +4 -10
  570. data/spec/search_builders/hyrax/admin_admin_set_member_search_builder_spec.rb +2 -2
  571. data/spec/search_builders/hyrax/admin_set_search_builder_spec.rb +4 -40
  572. data/spec/search_builders/hyrax/collection_member_search_builder_spec.rb +53 -0
  573. data/spec/search_builders/hyrax/collection_search_builder_spec.rb +74 -0
  574. data/spec/search_builders/hyrax/dashboard/collections_search_builder_spec.rb +92 -0
  575. data/spec/search_builders/hyrax/dashboard/nested_collections_search_builder_spec.rb +85 -0
  576. data/spec/search_builders/hyrax/dashboard/works_search_builder_spec.rb +44 -0
  577. data/spec/search_builders/hyrax/my/collections_search_builder_spec.rb +35 -0
  578. data/spec/search_builders/hyrax/work_search_builder_spec.rb +47 -10
  579. data/spec/services/hyrax/adapters/nesting_index_adapter_spec.rb +191 -0
  580. data/spec/services/hyrax/admin_set_create_service_spec.rb +6 -2
  581. data/spec/services/hyrax/admin_set_member_service_spec.rb +21 -0
  582. data/spec/services/hyrax/batch_create_failure_service_spec.rb +6 -2
  583. data/spec/services/hyrax/collection_types/create_service_spec.rb +91 -0
  584. data/spec/services/hyrax/collection_types/permissions_service_spec.rb +297 -0
  585. data/spec/services/hyrax/collections/collection_member_service_spec.rb +49 -0
  586. data/spec/services/hyrax/collections/managed_collections_service_spec.rb +17 -0
  587. data/spec/services/hyrax/collections/migration_service_spec.rb +280 -0
  588. data/spec/services/hyrax/collections/nested_collection_persistence_service_spec.rb +28 -0
  589. data/spec/services/hyrax/collections/nested_collection_query_service_spec.rb +353 -0
  590. data/spec/services/hyrax/collections/permissions_create_service_spec.rb +41 -0
  591. data/spec/services/hyrax/collections/permissions_service_spec.rb +278 -0
  592. data/spec/services/hyrax/collections_service_spec.rb +30 -8
  593. data/spec/services/hyrax/embargo_service_spec.rb +26 -5
  594. data/spec/services/hyrax/iiif_authorization_service_spec.rb +43 -0
  595. data/spec/services/hyrax/multiple_membership_checker_spec.rb +155 -0
  596. data/spec/services/hyrax/qa_select_service_spec.rb +8 -2
  597. data/spec/services/hyrax/workflow/notification_configuration_parameter_spec.rb +1 -1
  598. data/spec/services/hyrax/workflow/notification_generator_spec.rb +1 -1
  599. data/spec/services/hyrax/workflow/permission_generator_spec.rb +1 -1
  600. data/spec/services/hyrax/workflow/permission_query_spec.rb +2 -2
  601. data/spec/services/hyrax/workflow/status_list_service_spec.rb +1 -1
  602. data/spec/services/hyrax/workflow/workflow_factory_spec.rb +1 -1
  603. data/spec/services/hyrax/workflow/workflow_schema_spec.rb +1 -1
  604. data/spec/services/hyrax/works/managed_works_service_spec.rb +17 -0
  605. data/spec/spec_helper.rb +34 -4
  606. data/spec/support/features/session_helpers.rb +1 -1
  607. data/spec/support/matchers/collection_type_property_matchers.rb +29 -0
  608. data/spec/test_app_templates/lib/generators/test_app_generator.rb +64 -24
  609. data/spec/views/_flash_msg.html.erb_spec.rb +0 -2
  610. data/spec/views/_user_util_links.html.erb_spec.rb +0 -2
  611. data/spec/views/catalog/_index_list_default.html.erb_spec.rb +9 -9
  612. data/spec/views/hyrax/admin/admin_sets/_form_participant_table.html.erb_spec.rb +42 -20
  613. data/spec/views/hyrax/admin/collection_types/_form.html.erb_spec.rb +43 -0
  614. data/spec/views/hyrax/admin/collection_types/_form_metadata.html.erb_spec.rb +27 -0
  615. data/spec/views/hyrax/admin/collection_types/_form_metadata_admin_set.html.erb_spec.rb +27 -0
  616. data/spec/views/hyrax/admin/collection_types/_form_participants.html.erb_spec.rb +16 -0
  617. data/spec/views/hyrax/admin/collection_types/_form_participants_table.html.erb_spec.rb +73 -0
  618. data/spec/views/hyrax/admin/collection_types/_form_settings.html.erb_spec.rb +106 -0
  619. data/spec/views/hyrax/admin/collection_types/index.html.erb_spec.rb +41 -0
  620. data/spec/views/hyrax/admin/users/index.html.erb_spec.rb +1 -1
  621. data/spec/views/hyrax/base/_form.html.erb_spec.rb +18 -42
  622. data/spec/views/hyrax/base/_form_child_work_relationships.html.erb_spec.rb +11 -22
  623. data/spec/views/hyrax/base/_form_files.html.erb_spec.rb +38 -0
  624. data/spec/views/hyrax/base/_form_progress.html.erb_spec.rb +1 -1
  625. data/spec/views/hyrax/base/_form_relationships.html.erb_spec.rb +1 -2
  626. data/spec/views/hyrax/base/_form_rendering.html.erb_spec.rb +18 -0
  627. data/spec/views/hyrax/base/file_manager.html.erb_spec.rb +1 -1
  628. data/spec/views/hyrax/base/show.html.erb_spec.rb +24 -5
  629. data/spec/views/hyrax/collections/_show_descriptions.html.erb_spec.rb +1 -1
  630. data/spec/views/hyrax/collections/_show_parent_collections.html.erb_spec.rb +124 -0
  631. data/spec/views/hyrax/collections/_sort_and_per_page.html.erb_spec.rb +60 -0
  632. data/spec/views/hyrax/collections/_subcollection_list.html.erb_spec.rb +39 -0
  633. data/spec/views/hyrax/collections/show.html.erb_spec.rb +20 -23
  634. data/spec/views/hyrax/dashboard/_sidebar.html.erb_spec.rb +14 -9
  635. data/spec/views/hyrax/dashboard/collections/_form.html.erb_spec.rb +5 -1
  636. data/spec/views/hyrax/dashboard/collections/_form_branding.html.erb_spec.rb +23 -0
  637. data/spec/views/hyrax/dashboard/collections/_form_discovery.erb_spec.rb +67 -0
  638. data/spec/views/hyrax/dashboard/collections/_form_share.erb_spec.rb +13 -34
  639. data/spec/views/hyrax/dashboard/collections/_form_share_table.html.erb_spec.rb +108 -0
  640. data/spec/views/hyrax/dashboard/collections/_show_actions.html.erb_spec.rb +64 -0
  641. data/spec/views/hyrax/dashboard/collections/_show_add_items_actions.html.erb_spec.rb +44 -0
  642. data/spec/views/hyrax/dashboard/collections/_show_descriptions.html.erb_spec.rb +1 -1
  643. data/spec/views/hyrax/dashboard/collections/_show_parent_collection_row.html.erb_spec.rb +23 -0
  644. data/spec/views/hyrax/dashboard/collections/_show_parent_collections.html.erb_spec.rb +118 -0
  645. data/spec/views/hyrax/dashboard/collections/_show_subcollection_actions.html.erb_spec.rb +62 -0
  646. data/spec/views/hyrax/dashboard/collections/_sort_and_per_page.html.erb_spec.rb +60 -0
  647. data/spec/views/hyrax/dashboard/collections/_subcollection_list.html.erb_spec.rb +63 -0
  648. data/spec/views/hyrax/dashboard/collections/_work_action_menu.html.erb_spec.rb +18 -0
  649. data/spec/views/hyrax/dashboard/collections/edit.html.erb_spec.rb +5 -13
  650. data/spec/views/hyrax/dashboard/collections/show.html.erb_spec.rb +86 -9
  651. data/spec/views/hyrax/file_sets/_show_actions.html.erb_spec.rb +1 -1
  652. data/spec/views/hyrax/homepage/_featured_works.html.erb_spec.rb +1 -1
  653. data/spec/views/hyrax/homepage/index.html.erb_spec.rb +14 -5
  654. data/spec/views/hyrax/my/_collection_action_menu.html.erb_spec.rb +65 -0
  655. data/spec/views/hyrax/my/_search_header.html.erb_spec.rb +6 -6
  656. data/spec/views/hyrax/my/_work_action_menu.html.erb_spec.rb +6 -4
  657. data/spec/views/hyrax/my/collections/_list_collections.html.erb_spec.rb +90 -22
  658. data/spec/views/hyrax/my/works/index.html.erb_spec.rb +3 -1
  659. data/spec/views/hyrax/users/_user_info.html.erb_spec.rb +16 -18
  660. data/spec/views/pages/show.html.erb_spec.rb +1 -1
  661. data/spec/views/shared/select_work_type_modal.html.erb_spec.rb +36 -10
  662. data/tasks/hyrax_dev.rake +27 -4
  663. data/template.rb +2 -1
  664. metadata +578 -290
  665. data/.solr_wrapper +0 -6
  666. data/app/assets/javascripts/hyrax/relationships/work.es6 +0 -7
  667. data/app/assets/javascripts/hyrax/workflow_actions_affix.js +0 -14
  668. data/app/assets/stylesheets/hyrax/_work_editor.scss +0 -17
  669. data/app/controllers/concerns/hyrax/parent_container.rb +0 -35
  670. data/app/helpers/dashboard_helper.rb +0 -3
  671. data/app/services/hyrax/parent_service.rb +0 -19
  672. data/app/views/catalog/_show_partials/_default.html.erb +0 -21
  673. data/app/views/catalog/_show_partials/_default_details.html.erb +0 -15
  674. data/app/views/catalog/_show_partials/_facets.html.erb +0 -52
  675. data/app/views/hyrax/base/_browse_everything.html.erb +0 -6
  676. data/app/views/hyrax/base/_find_work_widget.html.erb +0 -10
  677. data/app/views/hyrax/dashboard/collections/_form_default_group.html.erb +0 -25
  678. data/app/views/hyrax/dashboard/collections/_form_permission.html.erb +0 -24
  679. data/app/views/hyrax/file_sets/jq_upload.json.jbuilder +0 -8
  680. data/solr/config/_rest_managed.json +0 -3
  681. data/solr/config/admin-extra.html +0 -31
  682. data/solr/config/elevate.xml +0 -36
  683. data/solr/config/mapping-ISOLatin1Accent.txt +0 -246
  684. data/solr/config/protwords.txt +0 -21
  685. data/solr/config/schema.xml +0 -366
  686. data/solr/config/scripts.conf +0 -24
  687. data/solr/config/solrconfig.xml +0 -322
  688. data/solr/config/spellings.txt +0 -2
  689. data/solr/config/stopwords.txt +0 -58
  690. data/solr/config/stopwords_en.txt +0 -58
  691. data/solr/config/synonyms.txt +0 -31
  692. data/solr/config/xslt/example.xsl +0 -132
  693. data/solr/config/xslt/example_atom.xsl +0 -67
  694. data/solr/config/xslt/example_rss.xsl +0 -66
  695. data/solr/config/xslt/luke.xsl +0 -337
  696. data/spec/abilities/admin_set_abilities_spec.rb +0 -15
  697. data/spec/abilities/collection_abilities_spec.rb +0 -51
  698. data/spec/features/admin_admin_set_spec.rb +0 -30
  699. data/spec/helpers/hyrax/citations_behaviors/formatters/chicago_formatter_spec.rb +0 -10
  700. data/spec/services/hyrax/parent_service_spec.rb +0 -11
  701. data/spec/support/uploaded_file_monkeypatch.rb +0 -6
  702. data/spec/views/hyrax/base/_browse_everything.html.erb_spec.rb +0 -17
  703. data/spec/views/hyrax/base/_find_work_widget.html.erb_spec.rb +0 -20
@@ -1,318 +1,433 @@
1
+ ---
1
2
  en:
2
3
  activefedora:
3
4
  models:
4
- batch_upload_item: 'Works by Batch'
5
+ batch_upload_item: Works by Batch
6
+ file_set: File
5
7
  activemodel:
6
8
  errors:
7
9
  messages:
8
- conflict: "Your changes could not be saved because another user (or background job) updated this %{model} after you began editing. Please make sure all file attachments have completed successfully and try again. This form has refreshed with the most recent saved copy of the %{model}."
10
+ cannot_have_child_nested: cannot have child nested within it
11
+ cannot_nest_in_parent: cannot nest within parent
12
+ cannot_remove_relationship: permission is inadequate for removal of nesting relationship
13
+ conflict: Your changes could not be saved because another user (or background job) updated this %{model} after you began editing. Please make sure all file attachments have completed successfully and try again. This form has refreshed with the most recent saved copy of the %{model}.
14
+ exceeds_maximum_nesting_depth: nesting exceeds the allowed maximum nesting depth.
15
+ is_not_nestable: is not nestable
9
16
  blacklight:
10
17
  search:
11
18
  fields:
19
+ facet:
20
+ admin_set_sim: Collection
21
+ resource_type_sim: Resource type
22
+ suppressed_bsi: Status
12
23
  show:
13
- admin_set: "In Administrative Set:"
24
+ admin_set: 'In Administrative Set:'
14
25
  based_near_label: Location
15
26
  contributor: Contributors
16
27
  keyword: Keyword
17
- facet:
18
- admin_set_sim: "Collection"
19
- suppressed_bsi: "Status"
20
- resource_type_sim: "Resource type"
21
28
  filters:
22
- title: "Filtering by:"
29
+ title: 'Filtering by:'
23
30
  start_over: Clear filters
24
31
  errors:
25
32
  messages:
26
- carrierwave_download_error: "Couldn't download image."
27
- carrierwave_integrity_error: "Not an image."
28
- carrierwave_processing_error: "Cannot resize image."
29
- extension_blacklist_error: "You are not allowed to upload %{extension} files, prohibited types: %{prohibited_types}"
30
- extension_whitelist_error: "You are not allowed to upload %{extension} files, allowed types: %{allowed_types}"
33
+ carrierwave_download_error: Couldn't download image.
34
+ carrierwave_integrity_error: Not an image.
35
+ carrierwave_processing_error: Cannot resize image.
36
+ extension_blacklist_error: 'You are not allowed to upload %{extension} files, prohibited types: %{prohibited_types}'
37
+ extension_whitelist_error: 'You are not allowed to upload %{extension} files, allowed types: %{allowed_types}'
31
38
  helpers:
32
39
  action:
40
+ add: Add
33
41
  admin_set:
34
- new: "Create new administrative set"
42
+ new: Create new administrative set
35
43
  batch:
36
- new: "Create batch of works"
37
- cancel: "Cancel"
44
+ new: Create batch of works
45
+ cancel: Cancel
46
+ close: Close
38
47
  collection:
39
- new: "New Collection"
40
- delete: "Delete"
41
- edit: "Edit"
48
+ new: New Collection
49
+ delete: Delete
50
+ edit: Edit
51
+ refresh: Refresh
52
+ remove: Remove
42
53
  work:
43
- new: "Add new work"
54
+ new: Add new work
44
55
  submit:
45
56
  admin_set:
46
- create: 'Save'
47
- update: 'Save'
48
- create: 'Save'
57
+ create: Save
58
+ update: Save changes
59
+ create: Save
49
60
  hyrax_permission_template:
50
- create: 'Save'
51
- update: 'Save'
61
+ create: Save
62
+ update: Save
52
63
  hyrax_permission_template_access:
53
- create: 'Add'
64
+ create: Add
54
65
  proxy_deposit_request:
55
- create: 'Transfer'
56
- update: 'Save'
66
+ create: Transfer
67
+ update: Save changes
57
68
  hyrax:
58
- account_label: "User"
59
- active_consent_to_agreement: "I have read and agree to the"
69
+ account_label: User
70
+ active_consent_to_agreement: I have read and agree to the
60
71
  admin:
61
72
  admin_sets:
62
- document_list:
63
- edit: "Edit"
64
- no_works: "The administrative set does not contain any works."
65
- title: "List of items in this administrative set"
66
73
  delete:
67
- error_default_set: "Administrative set cannot be deleted as it is the default set"
68
- error_not_empty: "Administrative set cannot be deleted as it is not empty"
69
- notification: "Administrative set successfully deleted"
74
+ error_default_set: Administrative set cannot be deleted as it is the default set
75
+ error_not_empty: Administrative set cannot be deleted as it is not empty
76
+ notification: Administrative set successfully deleted
77
+ document_list:
78
+ edit: Edit
79
+ no_works: The administrative set does not contain any works.
80
+ title: List of items in this administrative set
70
81
  edit:
71
- header: "Edit Administrative Set"
82
+ header: 'Edit Administrative Set: %{title}'
72
83
  form:
73
- cancel: "Cancel"
74
- note: "Users granted a new role will only gain the role on works that are deposited after that role has been granted."
84
+ cancel: Cancel
85
+ note: Users granted a new role will only gain the role on works that are deposited after that role has been granted.
75
86
  permission_destroy_errors:
76
- admin_group: "The repository administrators group cannot be removed"
77
- permission_update_notices:
78
- new_admin_set: "The administrative set '%{name}' has been created. Use the additional tabs to define other aspects of the administrative set."
79
- updated_admin_set: "The administrative set '%{name}' has been updated."
80
- participants: "The administrative set's participant rights have been updated"
81
- visibility: "The administrative set's release & visibility settings have been updated."
82
- workflow: "The administrative set's workflow has been updated."
87
+ admin_group: The repository administrators group cannot be removed
83
88
  permission_update_errors:
84
- no_date: "A date is required for the selected release option."
85
- no_embargo: "An embargo period is required for the selected option."
86
- nothing: "Select release options before pressing save."
87
- error: "Invalid update option for permission template."
89
+ error: Invalid update option for permission template.
90
+ no_date: A date is required for the selected release option.
91
+ no_embargo: An embargo period is required for the selected option.
92
+ nothing: Select release options before pressing save.
93
+ permission_update_notices:
94
+ new_admin_set: The administrative set '%{name}' has been created. Use the additional tabs to define other aspects of the administrative set.
95
+ participants: The administrative set's participant rights have been updated
96
+ updated_admin_set: The administrative set '%{name}' has been updated.
97
+ visibility: The administrative set's release & visibility settings have been updated.
98
+ workflow: The administrative set's workflow has been updated.
88
99
  tabs:
89
- description: "Description"
90
- participants: "Participants"
91
- visibility: "Release and Visibility"
92
- workflow: "Workflow"
100
+ description: Description
101
+ participants: Participants
102
+ visibility: Release and Visibility
103
+ workflow: Workflow
93
104
  form_participant_table:
94
- admin_users: "Repository Administrators"
95
- allow_all_registered: "Allow all registered users to deposit"
105
+ admin_users: Repository Administrators
106
+ allow_all_registered: Allow all registered users to deposit
96
107
  depositors:
97
- action: "Action"
98
- agent_name: "Depositors of This Set"
99
- empty: "No depositors have been added to this administrative set."
100
- help: "Depositors can add new works to this administrative set."
101
- remove: "Remove"
102
- title: "Depositors"
103
- type: "Type"
108
+ action: Action
109
+ agent_name: Depositors of This Set
110
+ empty: No depositors have been added to this administrative set.
111
+ help: Depositors can add new works to this administrative set.
112
+ remove: Remove
113
+ title: Depositors
114
+ type: Type
104
115
  managers:
105
- action: "Action"
106
- agent_name: "Managers of This Set"
107
- empty: "No managers have been added to this administrative set."
108
- help: "Managers of this administrative set can edit the set metadata, participants, and release and visibility settings. Managers can also edit work metadata, add to or remove files from a work, and add new works to the set."
109
- remove: "Remove"
110
- title: "Managers"
111
- type: "Type"
112
- registered_users: "Registered Users"
116
+ action: Action
117
+ agent_name: Managers of This Set
118
+ empty: No managers have been added to this administrative set.
119
+ help: Managers of this administrative set can edit the set metadata, participants, and release and visibility settings. Managers can also edit work metadata, add to or remove files from a work, and add new works to the set.
120
+ remove: Remove
121
+ title: Managers
122
+ type: Type
123
+ registered_users: Registered Users
113
124
  viewers:
114
- action: "Action"
115
- agent_name: "Viewers of This Set"
116
- empty: "No viewers have been added to this administrative set."
117
- help: "Viewers of this administrative set can view works in the set regardless of the visibility settings applied to the work. For example, viewers can view works in this set even if the works are currently embargoed or restricted."
118
- remove: "Remove"
119
- title: "Viewers"
120
- type: "Type"
125
+ action: Action
126
+ agent_name: Viewers of This Set
127
+ empty: No viewers have been added to this administrative set.
128
+ help: Viewers of this administrative set can view works in the set regardless of the visibility settings applied to the work. For example, viewers can view works in this set even if the works are currently embargoed or restricted.
129
+ remove: Remove
130
+ title: Viewers
131
+ type: Type
121
132
  form_participants:
122
- add_group: "Add group:"
123
- add_participants: "Add Participants"
124
- add_user: "Add user:"
125
- current_participants: "Current Participants"
133
+ add_group: 'Add group:'
134
+ add_participants: Add Participants
135
+ add_user: 'Add user:'
136
+ current_participants: Current Participants
126
137
  form_visibility:
127
- cancel: "Cancel"
128
- page_description: "Release and visibility settings determine the options available to depositors when submitting a work to this administrative set. Changes to these settings do not affect previously deposited works."
138
+ cancel: Cancel
139
+ page_description: Release and visibility settings determine the options available to depositors when submitting a work to this administrative set. Changes to these settings do not affect previously deposited works.
129
140
  release:
130
- description: "Set embargoes and lease polices for this administrative set."
131
- fixed: "Depositor must choose embargo -- delay release of all works until"
132
- no_delay: "Do not allow embargoes or leases"
133
- title: "Release"
141
+ description: Set embargoes and lease polices for this administrative set.
142
+ fixed: Depositor must choose embargo -- delay release of all works until
143
+ no_delay: Do not allow embargoes or leases
144
+ title: Release
134
145
  varies:
135
- any: "Depositor can choose any embargo length; leases are allowed"
136
- between: "Depositor can choose embargo up to date:"
137
- period: "Depositor can choose embargo period up to:"
138
- description: "Allow depositor to choose settings:"
146
+ any: Depositor can choose any embargo length; leases are allowed
147
+ between: 'Depositor can choose embargo up to date:'
148
+ description: 'Allow depositor to choose settings:'
139
149
  embargo:
140
- 1yr: "1 year after deposit"
141
- 2yrs: "2 years after deposit"
142
- 3yrs: "3 years after deposit"
143
- 6mos: "6 months after deposit"
144
- select: "Select embargo period.."
150
+ 1yr: 1 year after deposit
151
+ 2yrs: 2 years after deposit
152
+ 3yrs: 3 years after deposit
153
+ 6mos: 6 months after deposit
154
+ select: Select embargo period..
155
+ period: 'Depositor can choose embargo period up to:'
145
156
  visibility:
146
- description: "Set visibility policies for the administrative set. Setting honors embargo policies above."
147
- everyone: "Public - depositor can only choose public visibility setting"
148
- institution: "Institution -- depositor can only select institution visibility setting"
149
- restricted: "Private -- depositor can only select private for visibility. Access is restricted to repository administrators, managers, and viewers of the set. Must be used with \"No embargo\" setting above."
150
- title: "Visibility"
151
- varies: "All settings allowed -- depositor can choose. Must use this option to allow leases."
157
+ description: Set visibility policies for the administrative set. Setting honors embargo policies above.
158
+ everyone: Public - depositor can only choose public visibility setting
159
+ institution: Institution -- depositor can only select institution visibility setting
160
+ restricted: Private -- depositor can only select private for visibility. Access is restricted to repository administrators, managers, and viewers of the set. Must be used with "No embargo" setting above.
161
+ title: Visibility
162
+ varies: All settings allowed -- depositor can choose. Must use this option to allow leases.
152
163
  form_workflow:
153
- cancel: "Cancel"
154
- no_workflows: "There are no workflows to select."
155
- 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."
164
+ cancel: Cancel
165
+ no_workflows: There are no workflows to select.
166
+ 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.
156
167
  new:
157
- header: "Create New Administrative Set"
168
+ header: Create New Administrative Set
158
169
  show:
159
- breadcrumb: "View Set"
160
- confirm_delete: "Are you sure you wish to delete this Administrative Set? This action cannot be undone."
161
- header: "Administrative Set"
162
- item_list_header: "Works in This Set"
170
+ breadcrumb: View Set
171
+ confirm_delete: Are you sure you wish to delete this Administrative Set? This action cannot be undone.
172
+ header: Administrative Set
173
+ item_list_header: Works in This Set
163
174
  appearances:
164
175
  show:
165
- header: "Appearance"
176
+ header: Appearance
166
177
  update:
167
178
  flash:
168
- success: "The appearance was successfully updated"
179
+ success: The appearance was successfully updated
180
+ collection_types:
181
+ create:
182
+ notification: The collection type %{name} has been created.
183
+ delete:
184
+ notification: The collection type %{name} has been deleted.
185
+ edit:
186
+ header: Edit Collection Type
187
+ submit: Save changes
188
+ errors:
189
+ no_settings_change_for_admin_sets: Collection type settings cannot be altered for the Administrative Set type
190
+ no_settings_change_for_user_collections: Collection type settings cannot be altered for the User Collection type
191
+ no_settings_change_if_not_empty: Collection type settings cannot be altered for a type that has collections
192
+ not_empty: Collection type cannot be altered as it has collections
193
+ form:
194
+ tab:
195
+ metadata: Description
196
+ participants: Participants
197
+ settings: Settings
198
+ form_participant_table:
199
+ creators:
200
+ action: Action
201
+ agent_name: Collection Creators
202
+ empty: No creators have been added to this collection type.
203
+ help: Creators of collections of this type can create and manage their own collections.
204
+ title: Creators
205
+ type: Type
206
+ managers:
207
+ action: Action
208
+ agent_name: Collection Managers
209
+ empty: No managers have been added to this collection type.
210
+ help: Managers of collections of this type can edit collections other users have created, including adding to and removing works from a collection, modifying collection metadata, and deleting collections.
211
+ title: Managers
212
+ type: Type
213
+ form_participants:
214
+ add_participants: Add Participants
215
+ current_participants: Current Participants
216
+ header: Collection Participants
217
+ instructions: You can designate both groups and users as creators and managers of collections of this type
218
+ remove_success: Participant Removed
219
+ submit: Add
220
+ update_notice: Participants Updated
221
+ form_settings:
222
+ instructions: These settings determine how collections of this type can be managed and discovered.
223
+ warning: 'Warning: These settings cannot be changed after a collection of this type has been created.'
224
+ index:
225
+ breadcrumb: Collection Types
226
+ create_new_button: Create new collection type
227
+ description: Collection types enable you to define settings that govern collections that serve different purposes in your repository. You can define as many collection types as you need.
228
+ header: Collection Types
229
+ modal:
230
+ can_delete_body_html: "<p>Deleting this collection type will permanently remove the type and its settings from the repository. Are you sure you want to delete this collection type?</p>"
231
+ cannot_delete_body_html: "<p>You cannot delete this collection type because one or more collections of this type have already been created.</p> <p>To delete this collection type, first ensure that all collections of this type have been deleted.</p>"
232
+ header_can_delete: Delete Collection Type?
233
+ header_cannot_delete: Cannot Delete Collection Type
234
+ view_collections: View collections of this type
235
+ more_toggle_content_html: "<p>Typical scenarios for collection types include:</p> <ul> <li><strong>User Collections</strong> that any registered user can create to organize items they deposit.</li> <li><strong>Exhibits</strong> that staff create and curate for public display, where items can be included in any number of exhibits.</li> <li><strong>Controlled Collections</strong> created and managed by staff and not intended for public display, such as collections associated with organizational units or departments.</li> <li><strong>Community Collections</strong> that are intended for public display, similar to how DSpace communities and collections are sometimes used.</li> </ul>"
236
+ more_toggle_header_html: "<span>More</span> about collection types"
237
+ table:
238
+ actions: Actions
239
+ name: Name
240
+ multiple_membership_checker:
241
+ error_preamble: 'Error: You have specified more than one of the same single-membership collection types'
242
+ new:
243
+ header: Create New Collection Type
244
+ submit: Save
245
+ update:
246
+ notification: The collection type %{name} has been updated.
169
247
  features:
170
248
  index:
171
- header: Features
172
- feature: Feature
173
- description: Description
174
- action: Action
249
+ action: Action
250
+ description: Description
251
+ feature: Feature
252
+ header: Features
175
253
  sidebar:
176
- activity: "Activity"
177
- admin_sets: "Administrative Sets"
178
- appearance: "Appearance"
179
- collections: "Collections"
180
- configuration: "Configuration"
181
- content_blocks: "Content Blocks"
182
- notifications: "Notifications"
183
- pages: "Pages"
184
- profile: "Profile"
185
- repository_objects: "Repository Contents"
186
- settings: "Settings"
187
- statistics: "Reports"
188
- tasks: "Tasks"
189
- technical: "Features"
190
- transfers: "Transfers"
191
- users: "Manage Users"
192
- user_activity: "Your activity"
193
- workflow_review: "Review Submissions"
194
- workflow_roles: "Workflow Roles"
195
- works: "Works"
254
+ activity: Activity
255
+ appearance: Appearance
256
+ collection_types: Collection Types
257
+ collections: Collections
258
+ configuration: Configuration
259
+ content_blocks: Content Blocks
260
+ notifications: Notifications
261
+ pages: Pages
262
+ profile: Profile
263
+ repository_objects: Repository Contents
264
+ settings: Settings
265
+ statistics: Reports
266
+ tasks: Tasks
267
+ technical: Features
268
+ transfers: Transfers
269
+ user_activity: Your activity
270
+ users: Manage Users
271
+ workflow_review: Review Submissions
272
+ workflow_roles: Workflow Roles
273
+ works: Works
196
274
  stats:
197
275
  deposited_form:
198
- end_label: "end [defaults to now]"
199
- heading: "Display Files Deposited:"
200
- start_label: "Start"
276
+ end_label: end [defaults to now]
277
+ heading: 'Display Files Deposited:'
278
+ start_label: Start
201
279
  repository_objects:
202
280
  series:
203
- published: 'Published'
204
- unknown: 'Unknown'
205
- unpublished: 'Unpublished'
281
+ published: Published
282
+ unknown: Unknown
283
+ unpublished: Unpublished
206
284
  user_deposits:
207
- end_label: "Ending [defaults to now]"
208
- heading: "Display files deposited by users"
209
- start_label: "Starting"
285
+ end_label: Ending [defaults to now]
286
+ heading: Display files deposited by users
287
+ start_label: Starting
210
288
  works:
211
289
  headers:
212
290
  main: Work Statistics
213
- total: "Total Works:"
291
+ total: 'Total Works:'
214
292
  visibility: Totals by Visibility
215
293
  users:
216
294
  index:
217
- access_label: "Last access"
295
+ access_label: Last access
218
296
  describe_users_html:
219
- one: "There is <b>%{count} user</b> in this repository."
220
- other: "There are <b>%{count} users</b> in this repository."
221
- id_label: "Username"
222
- role_label: "Roles"
223
- title: "Manage Users"
297
+ one: There is <b>%{count} user</b> in this repository.
298
+ other: There are <b>%{count} users</b> in this repository.
299
+ id_label: Username
300
+ role_label: Roles
301
+ title: Manage Users
224
302
  workflow_roles:
225
- header: "Workflow Roles"
303
+ header: Workflow Roles
226
304
  index:
305
+ current_roles: Current Roles
227
306
  delete:
228
307
  confirm: Are you sure?
229
308
  header:
230
- roles: Roles
231
- user: User
232
- new_role: "Assign Role"
309
+ roles: Roles
310
+ user: User
311
+ new_role: Assign Role
233
312
  no_roles: No roles
234
- current_roles: "Current Roles"
235
313
  workflows:
236
314
  index:
237
- header: "Review Submissions"
315
+ header: Review Submissions
238
316
  tabs:
239
- published: "Published"
240
- under_review: "Under Review"
317
+ published: Published
318
+ under_review: Under Review
241
319
  api:
242
320
  accepted:
243
- default: "Your request has been accepted for processing, but processing is not complete. See job for more info."
321
+ default: Your request has been accepted for processing, but processing is not complete. See job for more info.
244
322
  bad_request:
245
- default: "Unable to process your request. See errors for more info."
323
+ default: Unable to process your request. See errors for more info.
246
324
  deleted:
247
- default: "Deleted the Resource"
325
+ default: Deleted the Resource
248
326
  forbidden:
249
- default: "You are not authorized to access this content."
327
+ default: You are not authorized to access this content.
250
328
  internal_error:
251
- default: "The server encountered an error."
329
+ default: The server encountered an error.
252
330
  not_found:
253
- default: "Could not find a resource that matches your request."
331
+ default: Could not find a resource that matches your request.
254
332
  success:
255
- default: "Your request was processed successfully."
333
+ default: Your request was processed successfully.
256
334
  unauthorized:
257
- default: "You must be logged in to do that!"
335
+ default: You must be logged in to do that!
258
336
  unprocessable_entity:
259
- default: "The resource you attempted to modify cannot be modified according to your request."
260
- empty_file: "The file you uploaded has no content."
337
+ default: The resource you attempted to modify cannot be modified according to your request.
261
338
  background_attribution_html: ''
262
339
  base:
263
340
  citations:
264
341
  header: 'Citations:'
342
+ form_child_work_relationships:
343
+ actions:
344
+ remove: Remove from this work
345
+ attach_new_work: Deposit new work as child of this work
346
+ caption: This work currently contains these child works
347
+ confirm:
348
+ cancel: Cancel
349
+ remove: Remove
350
+ text: Removing this child work will not remove it from the repository, only from this parent work. Are you sure you want to remove this work from this parent work?
351
+ header:
352
+ actions: Action
353
+ title: Work title
265
354
  form_files:
266
- dropzone: "Drop files here."
267
- external_upload: Cloud Providers
268
- local_upload: Add Local Files
355
+ dropzone: Drop files here.
356
+ local_upload_browse_everything_html: |
357
+ <p>You can add one or more files to associate with this work. Add files
358
+ from your local system or a cloud provider.</p>
359
+ <p>Note that if you use a cloud provider to upload a large number of
360
+ files within a short period of time, the provider may not be able to
361
+ accommodate your request. If you experience errors uploading from the
362
+ cloud, let us know via the %{contact_href}.</p>
363
+ local_upload_html: "<p>You can add one or more files to associate with this work.</p>"
364
+ form_member_of_collections:
365
+ actions:
366
+ remove: Remove from collection
367
+ caption: This work is currently in these collections
368
+ confirm:
369
+ cancel: Cancel
370
+ remove: Remove
371
+ 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?
372
+ header:
373
+ actions: Action
374
+ title: Collection title
269
375
  form_permission_under_embargo:
270
- legend_html: Visibility <small>Who should be able to view or download this content?</small>
271
376
  help_html: "<strong>This work is under embargo.</strong> You can change the settings of the embargo here, or you can visit the %{edit_link} to deactivate it."
377
+ legend_html: Visibility <small>Who should be able to view or download this content?</small>
272
378
  management_page: Embargo Management Page
273
379
  form_permission_under_lease:
274
- legend_html: Visibility <small>Who should be able to view or download this content?</small>
275
380
  help_html: "<strong>This work is under lease.</strong> You can change the settings of the lease here, or you can visit the %{edit_link} to deactivate it."
381
+ legend_html: Visibility <small>Who should be able to view or download this content?</small>
276
382
  management_page: Lease Management Page
277
383
  form_progress:
384
+ required_agreement: Check deposit agreement
278
385
  required_descriptions: Describe your work
279
- required_files: Add files
280
- required_agreement: Check deposit agreement
281
- requirements: Requirements
386
+ required_files: Add files
387
+ requirements: Requirements
388
+ form_rendering:
389
+ help_html: Select file(s) to be offered as a download for every image in Universal Viewer, for example a PDF of the whole work.
390
+ legend_html: Rendering
391
+ form_representative:
392
+ help_html: Select the file with media that represents this work.
393
+ legend_html: Representative Media
394
+ form_share:
395
+ add_sharing: Add Sharing
396
+ currently_sharing: Currently Shared With
397
+ directions: Regardless of the visibility settings for this work, you can also share it with other users and groups.
398
+ form_thumbnail:
399
+ help_html: Select the file to be used as the thumbnail for this work.
400
+ legend_html: Thumbnail
282
401
  items:
283
402
  actions: Actions
284
- date_uploaded: "Date Uploaded"
285
- empty: "This %{type} has no files associated with it. Click \"edit\" to add more files."
403
+ date_uploaded: Date Uploaded
404
+ empty: This %{type} has no files associated with it. Click "edit" to add more files.
286
405
  header: Items
287
406
  thumbnail: Thumbnail
288
407
  title: Title
289
408
  visibility: Visibility
290
- metadata:
291
- attribute_name_label: Attribute Name
292
- attribute_values_label: Values
293
- header: Descriptions
294
409
  relationships:
295
- empty: "This %{type} is not currently in any collections."
410
+ empty: This %{type} is not currently in any collections.
296
411
  header: Relationships
297
412
  relationships_parent_row:
298
- label: "In %{type}:"
413
+ label: 'In %{type}:'
299
414
  show:
300
- last_modified: "Last modified: %{value}"
415
+ last_modified: Last modified
301
416
  social_media:
302
- facebook: 'Facebook'
303
- google: 'Google+'
304
- tumblr: 'Tumblr'
305
- twitter: 'Twitter'
417
+ facebook: Facebook
418
+ google: Google+
419
+ tumblr: Tumblr
420
+ twitter: Twitter
306
421
  batch:
307
422
  help:
308
- resource_type: "You may select multiple types to apply to all files"
309
- title: "Filename will be the default title. Please provide a more meaningful title, and filenames will still be preserved by the system."
423
+ resource_type: You may select multiple types to apply to all files
424
+ title: Filename will be the default title. Please provide a more meaningful title, and filenames will still be preserved by the system.
310
425
  batch_uploads:
311
426
  disabled: Feature disabled by administrator
312
427
  files:
428
+ button_label: Add New Work
313
429
  instructions: Each file will be uploaded to a separate new work resulting in one work per uploaded file.
314
430
  upload_type_instructions: To create a single work for all the files, go to
315
- button_label: Add New Work
316
431
  new:
317
432
  header: Batch Create New Works
318
433
  in_collections: These Works in Collections
@@ -321,352 +436,513 @@ en:
321
436
  progress:
322
437
  header: Save Works
323
438
  bread_crumb:
324
- search_results: "Back to search results"
439
+ search_results: Back to search results
325
440
  collection:
326
441
  actions:
327
- add_works:
328
- desc: "Add works to this Collection"
329
- label: "Add works"
442
+ add_existing_works:
443
+ desc: Add existing works to this Collection
444
+ label: Add existing works to this collection
445
+ add_new_nested_collection:
446
+ desc: Add new collection to this Collection
447
+ label: Create new collection as subcollection
448
+ add_new_work:
449
+ desc: Deposit new work through this collection
450
+ label: Deposit new work through this collection
330
451
  delete:
331
- confirmation: "Delete this collection?"
332
- desc: "Delete this collection"
333
- label: "Delete"
452
+ confirmation: Delete this collection?
453
+ desc: Delete this collection
454
+ label: Delete collection
334
455
  edit:
335
- desc: "Edit this collection"
336
- label: "Edit"
337
- header: "Actions"
338
- browse_view: "Browse View"
456
+ desc: Edit this collection
457
+ label: Edit collection
458
+ header: Actions
459
+ nest_collections:
460
+ button_label: Add a subcollection
461
+ desc: Nest other collections within this Collection
462
+ label: Add existing collections to this collection
463
+ modal_title: Add a Subcollection to Collection
464
+ select_label: Select subcollection
465
+ nested_subcollection:
466
+ button_label: Add to collection
467
+ desc: Add existing collections to this collection
468
+ modal_title: Add this Collection Within Another Collection
469
+ select_label: Select collection
470
+ browse_view: Browse View
339
471
  document_list:
340
- edit: "Edit"
341
- no_visible_works: "The collection is either empty or does not contain items to which you have access."
472
+ edit: Edit
473
+ no_visible_works: The collection is either empty or does not contain items to which you have access.
342
474
  edit:
343
- manage_items: "Manage Items in this Collection"
475
+ manage_items: Manage Items in this Collection
344
476
  form:
345
- additional_fields: "Additional fields"
346
- description: "Descriptions"
347
- is_part_of: "Is part of"
477
+ additional_fields: Additional fields
478
+ description: Descriptions
479
+ is_part_of: Is part of
348
480
  select_form:
349
- close: "Close"
350
- create: "Create Collection"
351
- create_new: "Add to new Collection"
352
- no_collections: "You do not have access to any existing collections. You may create a new collection."
353
- select_heading: "Select the collection to add your files to:"
354
- title: "Add to collection"
355
- update: "Update Collection"
481
+ close: Close
482
+ create: Save
483
+ create_new: Add to new Collection
484
+ no_collections: You do not have access to any existing collections. You may create a new collection.
485
+ select_heading: 'Select the collection to add your files to:'
486
+ title: Add to collection
487
+ update: Save changes
488
+ collection_type:
489
+ admin_set_title: Admin Set
490
+ default_title: User Collection
491
+ collection_types:
492
+ create_service:
493
+ 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.
494
+ default_description: A User Collection can be created by any user to organize their works.
356
495
  collections:
357
496
  search_form:
358
497
  button_label: Go
359
- label: "Search Collection %{title}"
360
- placeholder: "Search Collection"
498
+ label: Search Collection %{title}
499
+ placeholder: Search subcollections and works in this collection
361
500
  show:
362
- works_in_collection: "Works in this Collection"
501
+ buttons:
502
+ remove_from_collection: Remove
503
+ remove_this_sub_collection: Remove
504
+ no_visible_parent_collections: There are no visible parent collections.
505
+ no_visible_subcollections: There are no visible subcollections.
506
+ parent_collection_header: Parent Collections
507
+ show_less_parent_collections: "...show less"
508
+ show_more_parent_collections: show more...
509
+ subcollection_count: Subcollections
510
+ works_in_collection: Works
363
511
  contact_form:
364
- button_label: "Send"
365
- email_label: "Your Email"
366
- header: "Contact Form"
512
+ button_label: Send
513
+ email_label: Your Email
514
+ header: Contact Form
367
515
  issue_types:
368
- browsing: "Browsing and searching"
369
- changing: "Making changes to my content"
370
- depositing: "Depositing content"
371
- general: "General inquiry or request"
372
- reporting: "Reporting a problem"
373
- message_label: "Message"
374
- name_label: "Your Name"
375
- notice: "Please use the contact form to submit inquiries about this system; to report a problem you are experiencing with the system; to request assistance using the system; or to provide general feedback. See the Help page for additional information about this system."
376
- select_type: "Select an Issue Type"
377
- subject_label: "Subject"
378
- type_label: "Issue Type"
516
+ browsing: Browsing and searching
517
+ changing: Making changes to my content
518
+ depositing: Depositing content
519
+ general: General inquiry or request
520
+ reporting: Reporting a problem
521
+ message_label: Message
522
+ name_label: Your Name
523
+ notice: Please use the contact form to submit inquiries about this system; to report a problem you are experiencing with the system; to request assistance using the system; or to provide general feedback. See the Help page for additional information about this system.
524
+ select_type: Select an Issue Type
525
+ subject_label: Subject
526
+ type_label: Issue Type
379
527
  content_blocks:
380
- cancel: "Cancel"
528
+ cancel: Cancel
381
529
  tabs:
382
- announcement_text: "Announcement Text"
383
- featured_researcher: "Featured Researcher"
384
- marketing_text: "Marketing Text"
385
- updated: "Content blocks updated."
530
+ announcement_text: Announcement Text
531
+ featured_researcher: Featured Researcher
532
+ marketing_text: Marketing Text
533
+ updated: Content blocks updated.
386
534
  controls:
387
- about: "About"
388
- contact: "Contact"
389
- help: "Help"
390
- home: "Home"
535
+ about: About
536
+ contact: Contact
537
+ help: Help
538
+ home: Home
391
539
  dashboard:
392
- additional_notifications: "See all notifications"
540
+ additional_notifications: See all notifications
393
541
  admin_sets:
394
- admin_set: "Administrative Set"
395
- files: "Files"
396
- subtitle: "Recent activity"
397
- title: "Administrative Sets"
398
- works: "Works"
542
+ admin_set: Administrative Set
543
+ files: Files
544
+ subtitle: Recent activity
545
+ title: Administrative Sets
546
+ works: Works
399
547
  all:
400
- collections: "All Collections"
401
- works: "All Works"
402
- authorize_proxies: "Authorize Proxies"
548
+ collections: All Collections
549
+ works: All Works
550
+ authorize_proxies: Authorize Proxies
403
551
  breadcrumbs:
404
- admin: "Administration"
552
+ admin: Administration
553
+ collection_type_actions:
554
+ close: Close
555
+ create_collection: Create collection
556
+ select_type_of_collection: Select type of collection
405
557
  collections:
406
558
  edit:
407
- header: "Edit Collection: %{title}"
559
+ header: 'Edit %{type_title}: %{title}'
408
560
  form:
561
+ permission_update_errors:
562
+ error: Invalid update option for permission template.
563
+ permission_update_notices:
564
+ participants: The collection's sharing options have been updated.
565
+ sharing: The collection's sharing options have been updated.
409
566
  tabs:
410
- description: "Description"
411
- sharing: "Sharing"
412
- visibility: "Visibility"
567
+ branding: Branding
568
+ description: Description
569
+ discovery: Discovery
570
+ relationships: Relationships
571
+ sharing: Sharing
572
+ form_branding:
573
+ banner:
574
+ 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.
575
+ label: Banner
576
+ branding:
577
+ 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.
578
+ label: Branding
579
+ logo:
580
+ 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.
581
+ label: Logo
582
+ form_discovery:
583
+ para1: These settings determine who is able to discover and view this collection's landing page; they do not affect the visibility of items in the collection.
584
+ para2: If you chose not to make this collection open access, you can still share the collection with specific users and groups using the Sharing tab.
585
+ form_relationships:
586
+ add_other_collections_as_sub_collections_description: You can manage the sub-collections of this collection.
587
+ buttons:
588
+ remove_from_collection: Remove
589
+ remove_this_sub_collection: Remove
590
+ collection_is_subcollection_description: This collection is currently a sub-collection of these collections
591
+ headlines:
592
+ other_collections_in_this_collection: Other Collections in This Collection
593
+ this_collection_in_other_collections: This Collection in Other Collections
594
+ modals:
595
+ remove_from_collection_description: Removing this collection will not remove it from the repository, only as a parent of this collection. Are you sure you want to remove this collection?
596
+ remove_this_sub_collection_description: Removing this sub-collection will not remove it from the repository, only from this parent collection. Are you sure you want to remove this sub-collection?
597
+ sub_collections_of_collection_description: These collections are currently sub-collections of this collection
598
+ table:
599
+ action: Action
600
+ collection_title: Collection Title
601
+ this_collection_in_other_collections_description: You can add this collection to other collections as a sub-collection.
602
+ form_share:
603
+ add_group: Add group
604
+ add_sharing: Add Sharing
605
+ add_user: Add user
606
+ current_shared: Currently Shared With
607
+ note: Regardless of the visibility settings of this collection, you can share this collection with specific groups and users.
608
+ form_share_table:
609
+ allow_all_registered: Allow all registered
610
+ depositors:
611
+ action: Action
612
+ agent_name: User/Group
613
+ empty: No depositors have been added to this collection.
614
+ help: Depositors of this collection can view the collection and add works to it, even if the visibility permissions of the collecton otherwise would not permit them to view it.
615
+ remove: Remove
616
+ title: Depositors
617
+ type: Type
618
+ managers:
619
+ action: Action
620
+ agent_name: User/Group
621
+ empty: No managers have been added to this collection.
622
+ help: Managers of this collection can add to and remove works from the collection, modify collection metadata, and delete the collection.
623
+ help_with_works: For collections of type %{type_title}, when works are created directly in this collection, the managers are given edit access to the new work.
624
+ remove: Remove
625
+ title: Managers
626
+ type: Type
627
+ viewers:
628
+ action: Action
629
+ agent_name: User/Group
630
+ empty: No viewers have been added to this collection.
631
+ help: Viewers of this collection can view it even if the visibility permissions of the collection otherwise would not permit them to view it.
632
+ help_with_works: For collections of type %{type_title}, when works are created directly in this collection, the viewers are given read access to the new work.
633
+ remove: Remove
634
+ title: Viewers
635
+ type: Type
413
636
  new:
414
- header: Create New Collection
637
+ header: New %{type_title}
415
638
  show:
416
- works_in_collection: "Works in this Collection"
417
- create_work: "Create Work"
418
- current_proxies: "Current Proxies"
639
+ header: Collection
640
+ item_count: Works
641
+ parent_collection_header: Parent Collections
642
+ public_view_label: Public view of Collection
643
+ search_results: Search Results within this Collection
644
+ show_less_parent_collections: "...show less"
645
+ show_more_parent_collections: show more...
646
+ subcollection_count: Subcollections
647
+ create_work: Create Work
648
+ current_proxies: Current Proxies
649
+ delete_notification: Delete Notification
419
650
  heading_actions:
420
- close: "Close"
421
- create_work: "Create work"
422
- select_type_of_work: "Select type of work"
423
- manage_proxies: "Manage Proxies"
651
+ close: Close
652
+ create_work: Create work
653
+ select_type_of_work: Select type of work
654
+ manage_proxies: Manage Proxies
655
+ managed:
656
+ collections: Managed Collections
657
+ works: Managed Works
424
658
  my:
425
659
  action:
426
- collection_confirmation: "Deleting a collection from %{application_name} is permanent. Click OK to delete this collection from %{application_name}, or Cancel to cancel this operation"
427
- delete_collection: "Delete Collection"
428
- delete_work: "Delete Work"
429
- edit_collection: "Edit Collection"
430
- edit_work: "Edit Work"
431
- highlight: "Highlight Work on Profile"
432
- select: "Select"
433
- select_all: "Select Current Page"
434
- select_none: "Select None"
435
- transfer: "Transfer Ownership of Work"
436
- unhighlight: "Unhighlight Work"
437
- 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"
660
+ add_to_collection: Add to collection
661
+ add_to_collection_only: Allowed actions are limited to adding members
662
+ admin_set_confirmation: Deleting an admin set from %{application_name} is permanent. Click OK to delete this admin set from %{application_name}, or Cancel to cancel this operation
663
+ collection_create_success: Collection was successfully created.
664
+ collection_delete_fail: Collection %{id} could not be deleted
665
+ collection_delete_success: Collection %{id} was successfully deleted
666
+ collection_deny_add_members: You do not have sufficient privileges to add members to the collection
667
+ collection_update_success: Collection was successfully updated.
668
+ collections_confirmation_html: Deleting <span class='pluralized'>this collection</span> will permanently remove <span class='pluralized'>this collection</span> from the repository. Items in <span class='pluralized'>this collection</span> will remain in the repository. Are you sure you want to delete <span class='pluralized'>this collection</span>?
669
+ collections_confirmation_no_items_html: Are you sure you want to delete this collection? This action cannot be undone.
670
+ delete_admin_set: Delete collection
671
+ 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.
672
+ delete_collection: Delete collection
673
+ delete_collection_deny: You do not have sufficient privileges to delete this document.
674
+ delete_collections: Delete collections
675
+ delete_collections_deny: You must select one or more collections to delete.
676
+ delete_work: Delete Work
677
+ edit_admin_set: Edit collection
678
+ edit_collection: Edit collection
679
+ edit_collection_deny: You do not have sufficient privileges to edit this collection.
680
+ edit_selected: Edit Selected
681
+ edit_work: Edit Work
682
+ highlight: Highlight Work on Profile
683
+ members_no_access: You do not have sufficient privileges to any of the selected members
684
+ nesting_not_allowed: Collections of this type do not support nesting.
685
+ nesting_permission_denied: You do not have sufficient privileges to add this collection to another collection.
686
+ select: Select
687
+ select_all: Select Current Page
688
+ select_none: Select None
689
+ transfer: Transfer Ownership of Work
690
+ unhighlight: Unhighlight Work
691
+ view_admin_set: View collection
692
+ view_collection: View collection
693
+ 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
438
694
  collection_list:
439
- description: "Description:"
440
- edit_access: "Edit Access:"
441
- groups: "Groups:"
442
- users: "Users:"
443
- collections: "Your Collections"
695
+ description: 'Description:'
696
+ edit_access: 'Edit Access:'
697
+ groups: 'Groups:'
698
+ users: 'Users:'
699
+ collections: Your Collections
444
700
  facet_label:
445
- collections: "Filter collections:"
446
- highlighted: "Filter highlights:"
447
- shared: "Filter shares:"
448
- works: "Filter works:"
701
+ collections: 'Filter collections:'
702
+ highlighted: 'Filter highlights:'
703
+ shared: 'Filter shares:'
704
+ works: 'Filter works:'
449
705
  heading:
450
- action: "Actions"
451
- date_uploaded: "Date Added"
452
- highlighted: "Highlighted"
453
- title: "Title"
454
- visibility: "Visibility"
455
- highlighted: "My Highlights"
456
- shared: "Works Shared with Me"
706
+ action: Actions
707
+ collection_type: Collection Type
708
+ date_modified: Last Modified
709
+ date_uploaded: Date Added
710
+ highlighted: Highlighted
711
+ items: Items
712
+ last_modified: Last modified
713
+ title: Title
714
+ type: Type
715
+ visibility: Visibility
716
+ highlighted: My Highlights
717
+ shared: Works Shared with Me
457
718
  sr:
458
- batch_checkbox: "Check to add to a collection or edit list"
459
- check_all_label: "Select all files to be added to a collection or edited"
460
- detail_label: "Display summary details of"
461
- listing: "Listing of items you have deposited in"
462
- press_to: "Press to"
463
- results_per_page: "Number of results to display per page"
464
- show_label: "Display all details of"
465
- works: "Your Works"
466
- no_activity: "User has no recent activity"
467
- no_notifications: "User has no notifications"
468
- delete_notification: "Delete Notification"
469
- no_transfer_requests: "You haven't received any work transfer requests"
470
- no_transfers: "You haven't transferred any work"
471
- proxy_activity: "Proxy Activity"
472
- proxy_user: "Proxy User"
473
- proxy_delete: "Delete Proxy"
719
+ batch_checkbox: Check to add to a collection or edit list
720
+ check_all_label: Select all files to be added to a collection or edited
721
+ detail_label: Display summary details of
722
+ listing: Listing of items you have deposited in
723
+ press_to: Press to
724
+ results_per_page: Number of results to display per page
725
+ show_label: Display all details of
726
+ works: Your Works
727
+ nest_collections_form:
728
+ create_under: "'%{child_title}' has been added to '%{parent_title}'"
729
+ create_within: "'%{child_title}' has been added to '%{parent_title}'"
730
+ removed_relationship: "'%{child_title}' has been removed from '%{parent_title}'"
731
+ no_activity: User has no recent activity
732
+ no_notifications: User has no notifications
733
+ no_transfer_requests: You haven't received any work transfer requests
734
+ no_transfers: You haven't transferred any work
735
+ proxy_activity: Proxy Activity
736
+ proxy_delete: Delete Proxy
737
+ proxy_user: Proxy User
474
738
  show_admin:
475
- new_visitors: "New Visitors"
476
- registered_users: "Registered users"
739
+ new_visitors: New Visitors
740
+ registered_users: Registered users
477
741
  repository_growth:
478
- title: Repository Growth
479
- subtitle: Past 90 days
742
+ subtitle: Past 90 days
743
+ title: Repository Growth
480
744
  repository_objects:
481
- title: Repository Objects
482
- subtitle: Current Status
483
- returning_visitors: "Returning Visitors"
484
- total_visitors: "Total Visitors"
745
+ subtitle: Current Status
746
+ title: Repository Objects
747
+ returning_visitors: Returning Visitors
748
+ total_visitors: Total Visitors
485
749
  user_activity:
486
- title: User Activity
487
- subtitle: New user signups
750
+ subtitle: New user signups
751
+ title: User Activity
488
752
  stats:
489
- collections: "Collections created"
490
- file_downloads: "Download"
491
- file_views: "View"
492
- files: "Files deposited"
493
- heading: "Your Statistics"
494
- works: "Works created"
495
- title: "My Dashboard"
496
- transfer_of_ownership: "Transfers of Ownership"
497
- transfer_works_link: "Select works to transfer"
498
- transfers_received: "Transfers Received"
499
- transfers_sent: "Transfers Sent"
500
- user_activity: "User Activity"
501
- user_notifications: "User Notifications"
502
- view_files: "View Files"
503
- directory:
504
- suffix: "@example.org"
505
- document_language: "en"
506
- edit_profile: "Edit Profile"
753
+ collections: Collections created
754
+ file_downloads: Download
755
+ file_views: View
756
+ files: Files deposited
757
+ heading: Your Statistics
758
+ works: Works created
759
+ title: My Dashboard
760
+ transfer_of_ownership: Transfers of Ownership
761
+ transfer_works_link: Select works to transfer
762
+ transfers_received: Transfers Received
763
+ transfers_sent: Transfers Sent
764
+ user_activity: User Activity
765
+ user_notifications: User Notifications
766
+ view_files: View Files
767
+ document_language: en
768
+ edit_profile: Edit Profile
507
769
  embargoes:
508
- index:
509
- manage_embargoes: Manage Embargoes
510
- active: All Active Embargoes
511
- expired: Expired Active Embargoes
512
- deactivated: Deactivated Embargoes
513
770
  edit:
514
- manage_embargoes_html: "Manage Embargoes for %{cc} <span class='human_readable_type'>(%{cc_type})</span>"
771
+ embargo_apply: Apply Embargo
772
+ embargo_cancel: Cancel and manage all embargoes
773
+ embargo_deactivate: Deactivate Embargo
774
+ embargo_false_html: "<strong>This %{cc} is not currently under embargo.</strong> If you would like to apply an embargo, provide the information here."
775
+ embargo_return: Return to editing this %{cc}
776
+ embargo_true_html: "<strong>This %{cc} is under embargo.</strong>"
777
+ embargo_update: Update Embargo
515
778
  header:
516
779
  current: Current Embargo
517
780
  past: Past Embargoes
518
- embargo_true_html: "<strong>This %{cc} is under embargo.</strong>"
519
- embargo_false_html: "<strong>This %{cc} is not currently under embargo.</strong> If you would like to apply an embargo, provide the information here."
520
- embargo_update: Update Embargo
521
- embargo_deactivate: Deactivate Embargo
522
- embargo_apply: Apply Embargo
523
- embargo_cancel: Cancel and manage all embargoes
524
- embargo_return: "Return to editing this %{cc}"
525
- history_empty: "This %{cc} has no previous embargoes applied to it."
781
+ history_empty: This %{cc} has no previous embargoes applied to it.
782
+ manage_embargoes_html: Manage Embargoes for %{cc} <span class='human_readable_type'>(%{cc_type})</span>
783
+ index:
784
+ active: All Active Embargoes
785
+ deactivated: Deactivated Embargoes
786
+ expired: Expired Active Embargoes
787
+ manage_embargoes: Manage Embargoes
526
788
  list_expired_active_embargoes:
527
- missing: There are no expired embargoes in effect at this time.
528
- change_all: "Change all files within %{cc} to "
529
- deactivate_selected: Deactivate Embargoes for Selected
789
+ change_all: 'Change all files within %{cc} to '
530
790
  deactivate: Deactivate Embargo
791
+ deactivate_selected: Deactivate Embargoes for Selected
792
+ missing: There are no expired embargoes in effect at this time.
531
793
  table_headers:
532
- type: Type of Work
533
- title: Title
534
794
  release_date: Embargo Release Date
535
- viz_current: Current Visibility
795
+ title: Title
796
+ type: Type of Work
536
797
  viz_after: Visibility will Change to
537
- featured_researchers: "Featured Researchers"
798
+ viz_current: Current Visibility
799
+ featured_researchers: Featured Researchers
538
800
  file_manager:
539
- link_text: 'File Manager'
801
+ link_text: File Manager
540
802
  file_set:
541
- browse_view: "Browse View"
803
+ browse_view: Browse View
542
804
  show:
543
- download: "Download the file"
805
+ download: Download the file
544
806
  downloadable_content:
545
- default_link: 'Download file'
546
- heading: 'Downloadable Content'
547
- image_link: 'Download image'
548
- office_link: 'Download file'
549
- pdf_link: 'Download PDF'
807
+ default_link: Download file
808
+ heading: Downloadable Content
809
+ image_link: Download image
810
+ office_link: Download file
811
+ pdf_link: Download PDF
550
812
  file_sets:
551
813
  groups_description:
552
- description_html: >
553
- The list of groups in the drop-down marked "Select a group" is a list of User Managed Groups that
554
- you are a member of. You may select a specific group and assign an access level for a file
555
- within %{application_name}, similarly to adding user access levels.
814
+ 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.
815
+
816
+ '
556
817
  help:
557
- header: "User Support"
558
- override_text: "Use app/views/static/help.html.erb to override this file."
818
+ header: User Support
819
+ override_text: Use app/views/static/help.html.erb to override this file.
559
820
  homepage:
560
821
  admin_sets:
561
- link: 'View all collections'
562
- tab_label: 'Explore Collections'
563
- title: 'Explore Collections'
822
+ link: View all collections
823
+ tab_label: Explore Collections
824
+ title: Explore Collections
564
825
  featured_researcher:
565
- missing: 'No researchers have been featured.'
566
- tab_label: 'Featured Researcher'
567
- title: 'Featured Researcher'
826
+ missing: No researchers have been featured.
827
+ tab_label: Featured Researcher
828
+ title: Featured Researcher
568
829
  featured_works:
569
- drag: 'Drag'
570
- no_works: 'No works have been featured'
571
- tab_label: 'Featured Works'
572
- title: 'Featured Works'
830
+ document:
831
+ depositor_label: Depositor
832
+ depositor_missing: no depositor value
833
+ keyword_label: Keywords
834
+ keyword_missing: no keywords specified
835
+ title_label: Title
836
+ drag: Drag
837
+ no_works: No works have been featured
838
+ tab_label: Featured Works
839
+ title: Featured Works
573
840
  recently_uploaded:
574
- depositor: 'Depositor'
575
- details: 'Details'
576
- no_public: 'No public work has been contributed.'
577
- tab_label: 'Recently Uploaded'
578
- title: 'Recently Uploaded'
841
+ depositor: Depositor
842
+ details: Details
843
+ document:
844
+ depositor_label: Depositor
845
+ depositor_missing: no depositor value
846
+ keyword_label: Keywords
847
+ keyword_missing: no keywords specified
848
+ title_label: Title
849
+ no_public: No public work has been contributed.
850
+ tab_label: Recently Uploaded
851
+ title: Recently Uploaded
579
852
  icons:
580
- collection: 'fa fa-cubes'
581
- default: 'fa fa-cube'
853
+ collection: fa fa-cubes
854
+ default: fa fa-cube
582
855
  leases:
583
- index:
584
- manage_leases: Manage Leases
585
- active: All Active Leases
586
- expired: Expired Active Leases
587
- deactivated: Deactivated Leases
588
856
  edit:
589
- manage_leases_html: "Manage Leases for %{cc} <span class='human_readable_type'>(%{cc_type})</span>"
590
857
  header:
591
858
  current: Current Lease
592
859
  past: Past Leases
593
- lease_true_html: "<strong>This %{cc} is under lease.</strong>"
594
- lease_false_html: "<strong>This %{cc} is not currently under lease.</strong> If you would like to apply a lease, provide the information here."
595
- lease_update: Update Lease
596
- lease_deactivate: Deactivate Lease
860
+ history_empty: This %{cc} has no previous leases applied to it.
597
861
  lease_apply: Apply Lease
598
862
  lease_cancel: Cancel and manage all leases
599
- lease_return: "Return to editing this %{cc}"
600
- history_empty: "This %{cc} has no previous leases applied to it."
863
+ lease_deactivate: Deactivate Lease
864
+ lease_false_html: "<strong>This %{cc} is not currently under lease.</strong> If you would like to apply a lease, provide the information here."
865
+ lease_return: Return to editing this %{cc}
866
+ lease_true_html: "<strong>This %{cc} is under lease.</strong>"
867
+ lease_update: Update Lease
868
+ manage_leases_html: Manage Leases for %{cc} <span class='human_readable_type'>(%{cc_type})</span>
869
+ index:
870
+ active: All Active Leases
871
+ deactivated: Deactivated Leases
872
+ expired: Expired Active Leases
873
+ manage_leases: Manage Leases
601
874
  list_expired_active_leases:
602
- missing: There are no expired leases in effect at this time.
603
- change_all: "Change all files within %{cc} to "
604
- deactivate_selected: Deactivate Leases for Selected
875
+ change_all: 'Change all files within %{cc} to '
605
876
  deactivate: Deactivate Lease
877
+ deactivate_selected: Deactivate Leases for Selected
878
+ missing: There are no expired leases in effect at this time.
606
879
  table_headers:
607
- type: Type of Work
608
- title: Title
609
880
  release_date: Lease Release Date
610
- viz_current: Current Visibility
881
+ title: Title
882
+ type: Type of Work
611
883
  viz_after: Visibility will Change to
884
+ viz_current: Current Visibility
612
885
  mailbox:
613
- date: 'Date'
614
- delete: 'Delete Message'
615
- empty: 'No notifications found'
616
- message: 'Message'
617
- notifications_deleted: "Notifications have been deleted"
618
- subject: 'Subject'
886
+ date: Date
887
+ delete: Delete Message
888
+ empty: No notifications found
889
+ message: Message
890
+ notifications_deleted: Notifications have been deleted
891
+ subject: Subject
892
+ manifest:
893
+ download_text: Download whole resource
894
+ unknown_mime_text: unknown mime type
619
895
  messages:
620
896
  failure:
621
897
  multiple:
622
- keyword: "could not be updated. You do not have sufficient privileges to edit them."
623
- link: "These files"
624
- single: "could not be updated. You do not have sufficient privileges to edit it."
625
- subject: "Batch upload permission denied"
626
- title: "Files failed"
898
+ keyword: could not be updated. You do not have sufficient privileges to edit them.
899
+ link: These files
900
+ single: could not be updated. You do not have sufficient privileges to edit it.
901
+ subject: Batch upload permission denied
902
+ title: Files failed
627
903
  success:
628
904
  multiple:
629
- keyword: "have been saved."
630
- link: "These files"
631
- single: "has been saved."
632
- subject: "Batch upload complete"
633
- title: "Files uploaded successfully"
905
+ keyword: have been saved.
906
+ link: These files
907
+ single: has been saved.
908
+ subject: Batch upload complete
909
+ title: Files uploaded successfully
634
910
  pages:
635
- cancel: "Cancel"
911
+ cancel: Cancel
636
912
  tabs:
637
- about_page: "About Page"
638
- help_page: "Help Page"
639
- agreement_page: "Deposit Agreement"
640
- terms_page: "Terms of Use"
641
- updated: "Pages updated."
642
- passive_consent_to_agreement: "By saving this work I agree to the"
913
+ about_page: About Page
914
+ agreement_page: Deposit Agreement
915
+ help_page: Help Page
916
+ terms_page: Terms of Use
917
+ updated: Pages updated.
918
+ passive_consent_to_agreement: By saving this work I agree to the
643
919
  search:
644
920
  button:
645
- html: '<span class="glyphicon glyphicon-search"></span> Go'
646
- text: "Search"
921
+ html: <span class="glyphicon glyphicon-search"></span> Go
922
+ text: Search
647
923
  form:
648
924
  option:
649
925
  all:
650
- label_long: "All of %{application_name}"
651
- label_short: "All"
926
+ label_long: All of %{application_name}
927
+ label_short: All
652
928
  my_collections:
653
- label_long: "My Collections"
654
- label_short: "My Collections"
929
+ label_long: My Collections
930
+ label_short: My Collections
655
931
  my_shares:
656
- label_long: "My Shares"
657
- label_short: "My Shares"
932
+ label_long: My Shares
933
+ label_short: My Shares
658
934
  my_works:
659
- label_long: "My Works"
660
- label_short: "My Works"
935
+ label_long: My Works
936
+ label_short: My Works
661
937
  q:
662
- label: "Search %{application_name}"
663
- placeholder: "Enter search terms"
938
+ label: Search %{application_name}
939
+ placeholder: Enter search terms
664
940
  select_type:
665
- description: "General purpose worktype"
666
- name: "Work"
667
- share_button: "Share Your Work"
941
+ description: General purpose worktype
942
+ name: Work
943
+ share_button: Share Your Work
668
944
  single_use_links:
669
- button: "Single-Use Link to File"
945
+ button: Single-Use Link to File
670
946
  copy:
671
947
  button: Copy
672
948
  tooltip: Copied!
@@ -675,8 +951,8 @@ en:
675
951
  type: Download
676
952
  expiration:
677
953
  lesser_time: in less than one hour
678
- time: "in %{value} hours"
679
- expiration_message: "Link %{link} expires %{time}"
954
+ time: in %{value} hours
955
+ expiration_message: Link %{link} expires %{time}
680
956
  show:
681
957
  type: Show
682
958
  table:
@@ -686,122 +962,109 @@ en:
686
962
  link: Link
687
963
  no_links: No links have been generated
688
964
  title: Single-Use Links
689
- sort_label: "Sort the listing of items"
965
+ sort_label: Sort the listing of items
690
966
  toolbar:
691
967
  dashboard:
692
- menu: "Dashboard"
693
- language_switch: "Switch language"
968
+ menu: Dashboard
969
+ language_switch: Switch language
694
970
  notifications:
695
- zero: "You have no unread notifications"
696
- one: "You have one unread notification"
697
- many: "You have %{count} unread notifications"
971
+ many: You have %{count} unread notifications
972
+ one: You have one unread notification
973
+ zero: You have no unread notifications
698
974
  profile:
699
- login: "Login"
700
- logout: "Logout"
701
- sr_action: "View"
702
- sr_target: "profile"
975
+ login: Login
976
+ logout: Logout
977
+ sr_action: View
978
+ sr_target: profile
703
979
  transfers:
704
980
  new:
705
- confirm: "Are you sure you want to transfer ownership of this work to another user? Click Ok to transfer or Cancel to return to the transfer screen"
706
- header: "Transfer Ownership"
707
- placeholder: "Search for a user"
708
- sr_only_description: 'Select a user to transfer "%{work_title}" to, add optional comments and then press transfer.'
709
- title: 'Transfer Ownership of "%{work_title}"'
981
+ confirm: Are you sure you want to transfer ownership of this work to another user? Click Ok to transfer or Cancel to return to the transfer screen
982
+ header: Transfer Ownership
983
+ placeholder: Search for a user
984
+ sr_only_description: Select a user to transfer "%{work_title}" to, add optional comments and then press transfer.
985
+ title: Transfer Ownership of "%{work_title}"
710
986
  upload:
711
987
  alert:
712
- contact_href_text: "contact form"
713
- fail_html: "There was a problem during upload, none of your files uploaded correctly. Please %{reload_href}. Use the %{contact_href} to report the error if it persists."
714
- fail_restart_href_text: "start over"
715
- partial_fail_html: "One or more files did not upload successfully. To continue using the files that uploaded %{metadata_href}. <br /> Use the %{contact_href} to report the error if it persists."
716
- partial_fail_metadata_href_text: "edit their metadata"
988
+ contact_href_text: contact form
989
+ fail_html: There was a problem during upload, none of your files uploaded correctly. Please %{reload_href}. Use the %{contact_href} to report the error if it persists.
990
+ fail_restart_href_text: start over
991
+ partial_fail_html: One or more files did not upload successfully. To continue using the files that uploaded %{metadata_href}. <br /> Use the %{contact_href} to report the error if it persists.
992
+ partial_fail_metadata_href_text: edit their metadata
717
993
  browse_everything:
718
- browse_files_button: "Browse cloud files"
719
- files_selected: "files selected"
720
- sr_tab_label: "Access Files from"
721
- tab_label: "Cloud Providers"
722
- change_access_flash_message: "Updating file access levels. This may take a few minutes. You may want to refresh your browser or return to this record later to see the updated file access levels."
994
+ browse_files_button: Add cloud files...
995
+ files_selected: files selected
996
+ sr_tab_label: Access Files from
997
+ tab_label: Cloud Providers
998
+ change_access_flash_message: Updating file access levels. This may take a few minutes. You may want to refresh your browser or return to this record later to see the updated file access levels.
723
999
  change_access_message_html: "<p>You have changed the access level on work <i>%{curation_concern}</i>, making it accessible to other users or groups to view or edit.</p><p>Would you like change all of the files within the work to have the same access users, groups and visibility as well?</p>"
724
- change_access_no_message: "No. I'll update it manually."
725
- change_access_yes_message: "Yes please."
1000
+ change_access_no_message: No. I'll update it manually.
1001
+ change_access_yes_message: Yes please.
726
1002
  change_permissions_message_html: "<p>You have changed the permissions on this %{curation_concern_human_readable_type}, <i>%{curation_concern}</i>, making it visible to <b>%{visibility_badge}</b>.</p><p>Would you like change all of the files within the %{curation_concern_human_readable_type} to <b>%{visibility_badge}</b> as well?</p>"
727
- cloud_timeout_message_html: "Please note that if you upload a large number of files within a short period of time, the cloud provider may not be able to accommodate your request. If you experience any errors uploading from the cloud, let us know via the %{contact_href}."
728
1003
  local_ingest:
729
- tab_label: "Network/Server Location"
1004
+ tab_label: Network/Server Location
730
1005
  my_computer:
731
- sr_instructions: "Agree to the deposit agreement and then select files. Press the Start Upload Button once all files have been selected."
732
- sr_tab_label: "Access Files from"
733
- tab_label: "My Computer"
734
- permissions_message: "Updating file permissions. This may take a few minutes. You may want to refresh your browser or return to this record later to see the updated file permissions."
735
- processing: "File is being processed; you may edit when processing has completed"
1006
+ sr_instructions: Agree to the deposit agreement and then select files. Press the Start Upload Button once all files have been selected.
1007
+ sr_tab_label: Access Files from
1008
+ tab_label: My Computer
1009
+ permissions_message: Updating file permissions. This may take a few minutes. You may want to refresh your browser or return to this record later to see the updated file permissions.
1010
+ processing: File is being processed; you may edit when processing has completed
736
1011
  user_profile:
737
1012
  orcid:
738
- alt: "ORCID icon"
739
- label: "ORCID Profile"
740
- tab_activity: "Activity"
741
- tab_highlighted: "Highlighted"
742
- tab_profile: "Profile"
1013
+ alt: ORCID icon
1014
+ label: ORCID Profile
1015
+ tab_activity: Activity
1016
+ tab_highlighted: Highlighted
1017
+ tab_profile: Profile
743
1018
  zotero:
744
- alt: "Zotero icon"
745
- connected: "Connected!"
746
- label: "Zotero Profile"
747
- unlinked: "Link with Zotero"
1019
+ alt: Zotero icon
1020
+ connected: Connected!
1021
+ label: Zotero Profile
1022
+ unlinked: Link with Zotero
748
1023
  visibility:
749
1024
  authenticated:
750
- note_html: "Restrict access to %{institution}."
1025
+ note_html: Restrict access to %{institution}.
751
1026
  text: "%{institution}"
752
1027
  embargo:
753
- note_html: "Set date for future release."
754
- text: "Embargo"
1028
+ note_html: Set date for future release.
1029
+ text: Embargo
755
1030
  lease:
756
- note_html: "Set date for future reduced access."
757
- text: "Lease"
1031
+ note_html: Set date for future reduced access.
1032
+ text: Lease
758
1033
  open:
759
- note_html: "Make available to all."
1034
+ note_html: Make available to all.
760
1035
  text: Public
761
- warning_html: "<p>
762
- <strong>Please note</strong>, making something visible to the world (i.e.
763
- marking this as %{label}) may be
764
- viewed as publishing which could impact your ability to:
765
- </p>
766
- <ul>
767
- <li>Patent your work</li>
768
- <li>Publish your work in a journal</li>
769
- </ul>
770
- <p>
771
- Check out <a href=\"http://www.sherpa.ac.uk/romeo/\">SHERPA/RoMEO</a> for more
772
- information about publisher copyright policies.
773
- </p>"
774
- open_title_attr: "Change the visibility of this resource"
1036
+ warning_html: '<p> <strong>Please note</strong>, making something visible to the world (i.e. marking this as %{label}) may be viewed as publishing which could impact your ability to: </p> <ul> <li>Patent your work</li> <li>Publish your work in a journal</li> </ul> <p> Check out <a href="http://www.sherpa.ac.uk/romeo/">SHERPA/RoMEO</a> for more information about publisher copyright policies. </p>'
1037
+ open_title_attr: Change the visibility of this resource
775
1038
  restricted:
776
- note_html: "Keep to myself with option to share."
777
- text: "Private"
778
- restricted_title_attr: "Change the visibility of this resource"
1039
+ note_html: Keep to myself with option to share.
1040
+ text: Private
1041
+ restricted_title_attr: Change the visibility of this resource
779
1042
  workflow:
780
1043
  default:
781
- deposit: "Deposit"
1044
+ deposit: Deposit
782
1045
  load:
783
- 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!"
784
- unauthorized: "The work is not currently available because it has not yet completed the approval process"
1046
+ 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!'
1047
+ unauthorized: The work is not currently available because it has not yet completed the approval process
785
1048
  works:
786
1049
  create:
787
- after_create_html: "Your files are being processed by %{application_name} in the background. The metadata and access controls you specified are being applied. You may need to refresh this page to see these updates."
788
- breadcrumb: 'Add New Work'
789
- header: "Add New %{type}"
1050
+ after_create_html: Your files are being processed by %{application_name} in the background. The metadata and access controls you specified are being applied. You may need to refresh this page to see these updates.
1051
+ breadcrumb: Add New Work
1052
+ header: Add New %{type}
790
1053
  edit:
791
- breadcrumb: 'Edit'
1054
+ breadcrumb: Edit
792
1055
  form:
793
- additional_fields: "Additional fields"
794
- in_collections: This Work in Collections
1056
+ additional_fields: Additional fields
1057
+ in_collections: Collections
795
1058
  in_other_works: This Work in Other Works
796
1059
  in_this_work: Other Works in this Work
797
- visibility_until: 'until'
798
1060
  tab:
799
- files: "Files"
800
- metadata: "Descriptions"
801
- relationships: "Relationships"
802
- share: "Share"
1061
+ files: Files
1062
+ metadata: Descriptions
1063
+ relationships: Relationships
1064
+ share: Sharing
1065
+ visibility_until: until
803
1066
  progress:
804
- header: "Save Work"
1067
+ header: Save Work
805
1068
  show:
806
1069
  no_preview: No preview available
807
1070
  update:
@@ -809,62 +1072,89 @@ en:
809
1072
  simple_form:
810
1073
  hints:
811
1074
  admin_set:
812
- description: 'A brief overarching description that applies to all works collected in this set. For example, "Theses and supplementary files created by the School of Earth Sciences graduate students."'
813
- title: "A name to aid in identifying the Administrative Set and to distinguish it from other Administrative Sets in the repository."
1075
+ description: A brief overarching description that applies to all works collected in this set. For example, "Theses and supplementary files created by the School of Earth Sciences graduate students."
1076
+ title: A name to aid in identifying the Administrative Set and to distinguish it from other Administrative Sets in the repository.
814
1077
  collection:
815
- 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 <a href='http://www.geonames.org'>GeoNames web service</a>."
816
- contributor: "A person or group you want to recognize for playing a role in the creation of the collection, but not the primary role."
817
- 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, e.g. &quot;Smith, John.&quot;."
818
- date_created: "The date on which the collection was created."
819
- description: "Free-text notes about the collection. Examples include abstracts of a paper or citation information for a journal article."
820
- 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."
821
- keyword: "Words or phrases you select to describe what the collection is about. These are used to search for content."
822
- language: "The language of the collection's content."
823
- publisher: "The person or group making the collection available. Generally this is the institution."
824
- related_url: "A link to a website or other specific content (audio, video, PDF document) related to the collection. An example is the URL of a research project from which the collection was derived."
825
- resource_type: "Pre-defined categories to describe the type of content being uploaded, such as &quot;article&quot; or &quot;dataset.&quot; More than one type may be selected."
826
- license: "Licensing and distribution information governing access to the collection. Select from the provided drop-down list."
827
- subject: "Headings or index terms describing what the collection is about; these do need to conform to an existing vocabulary."
828
- title: "A name to aid in identifying a collection."
1078
+ 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 <a href='http://www.geonames.org'>GeoNames web service</a>.
1079
+ contributor: A person or group you want to recognize for playing a role in the creation of the collection, but not the primary role.
1080
+ 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, e.g. &quot;Smith, John.&quot;.
1081
+ date_created: The date on which the collection was created.
1082
+ description: Free-text notes about the collection. Examples include abstracts of a paper or citation information for a journal article.
1083
+ 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.
1084
+ keyword: Words or phrases you select to describe what the collection is about. These are used to search for content.
1085
+ language: The language of the collection's content.
1086
+ license: Licensing and distribution information governing access to the collection. Select from the provided drop-down list.
1087
+ publisher: The person or group making the collection available. Generally this is the institution.
1088
+ related_url: A link to a website or other specific content (audio, video, PDF document) related to the collection. An example is the URL of a research project from which the collection was derived.
1089
+ resource_type: Pre-defined categories to describe the type of content being uploaded, such as &quot;article&quot; or &quot;dataset.&quot; More than one type may be selected.
1090
+ subject: Headings or index terms describing what the collection is about; these do need to conform to an existing vocabulary.
1091
+ title: A name to aid in identifying a collection.
1092
+ collection_type:
1093
+ allow_multiple_membership: Allow works to belong to multiple collections of this type
1094
+ assigns_visibility: Allow collections of this type to assign initial visibility settings to a new work
1095
+ assigns_workflow: Allow collections of this type to assign workflow to a new work
1096
+ description: A brief statement of the general purpose of this collection type. Users will see this if they have more than one collection type to choose from when creating a new collection.
1097
+ discoverable: Allow collections of this type to be discoverable
1098
+ nestable: Allow collections of this type to be nested (a collection can contain other collections)
1099
+ require_membership: A work must belong to at least one collection of this type
1100
+ sharable: Allow users to assign collection managers, depositors, and viewers for collections they manage
1101
+ 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.
1102
+ title: ''
829
1103
  defaults:
830
- based_near: "A place name related to the work, such as its site of publication, or the city, state, or country the work contents are about. Calls upon the <a href='http://www.geonames.org'>GeoNames web service</a>."
831
- contributor: "A person or group you want to recognize for playing a role in the creation of the work, but not the primary role."
832
- creator: "The person or group responsible for the work. Usually this is the author of the content. Personal names should be entered with the last name first, e.g. &quot;Smith, John.&quot;."
833
- date_created: "The date on which the work was created."
834
- description: "Free-text notes about the work. Examples include abstracts of a paper or citation information for a journal article."
835
- identifier: "A unique handle identifying the work. An example would be a DOI for a journal article, or an ISBN or OCLC number for a book."
836
- keyword: "Words or phrases you select to describe what the work is about. These are used to search for content."
837
- language: "The language of the work's content."
838
- publisher: "The person or group making the work available. Generally this is the institution."
839
- related_url: "A link to a website or other specific content (audio, video, PDF document) related to the work. An example is the URL of a research project from which the work was derived."
840
- resource_type: "Pre-defined categories to describe the type of content being uploaded, such as &quot;article&quot; or &quot;dataset.&quot; More than one type may be selected."
841
- license: "Licensing and distribution information governing access to the work. Select from the provided drop-down list."
842
- subject: "Headings or index terms describing what the work is about; these do need to conform to an existing vocabulary."
843
- title: "A name to aid in identifying a work."
1104
+ based_near: A place name related to the work, such as its site of publication, or the city, state, or country the work contents are about. Calls upon the <a href='http://www.geonames.org'>GeoNames web service</a>.
1105
+ contributor: A person or group you want to recognize for playing a role in the creation of the work, but not the primary role.
1106
+ creator: The person or group responsible for the work. Usually this is the author of the content. Personal names should be entered with the last name first, e.g. &quot;Smith, John.&quot;.
1107
+ date_created: The date on which the work was created.
1108
+ description: Free-text notes about the work. Examples include abstracts of a paper or citation information for a journal article.
1109
+ identifier: A unique handle identifying the work. An example would be a DOI for a journal article, or an ISBN or OCLC number for a book.
1110
+ keyword: Words or phrases you select to describe what the work is about. These are used to search for content.
1111
+ language: The language of the work's content.
1112
+ license: Licensing and distribution information governing access to the work. Select from the provided drop-down list.
1113
+ publisher: The person or group making the work available. Generally this is the institution.
1114
+ related_url: A link to a website or other specific content (audio, video, PDF document) related to the work. An example is the URL of a research project from which the work was derived.
1115
+ resource_type: Pre-defined categories to describe the type of content being uploaded, such as &quot;article&quot; or &quot;dataset.&quot; More than one type may be selected.
1116
+ subject: Headings or index terms describing what the work is about; these do need to conform to an existing vocabulary.
1117
+ title: A name to aid in identifying a work.
844
1118
  labels:
845
1119
  collection:
846
- size: "Size"
847
- total_items: "Total works"
1120
+ size: Size
1121
+ total_items: Total items
1122
+ collection_type:
1123
+ allow_multiple_membership: MULTIPLE MEMBERSHIP
1124
+ assigns_visibility: VISIBILITY
1125
+ assigns_workflow: WORKFLOW
1126
+ description: Type description
1127
+ discoverable: DISCOVERY
1128
+ nestable: NESTABLE
1129
+ require_membership: REQUIRE MEMBERSHIP
1130
+ sharable: SHARING
1131
+ share_applies_to_new_works: APPLY TO NEW WORKS
1132
+ title: Type name
848
1133
  defaults:
849
- admin_set_id: "Add as member of administrative set"
850
- based_near: "Location"
851
- creator: "Creator"
852
- date_created: "Date Created"
853
- description: "Abstract or Summary"
854
- embargo_release_date: 'until'
855
- files: 'Upload a file'
856
- keyword: "Keyword"
857
- lease_expiration_date: 'until'
858
- license: "License"
859
- member_of_collection_ids: "Add as member of collection"
860
- related_url: "Related URL"
861
- title: "Title"
862
- visibility_after_embargo: 'then open it up to'
863
- visibility_after_lease: 'then restrict it to'
864
- visibility_during_embargo: 'Restricted to'
865
- visibility_during_lease: 'Is available to'
1134
+ admin_set_id: Administrative Set
1135
+ based_near: Location
1136
+ creator: Creator
1137
+ date_created: Date Created
1138
+ description: Abstract or Summary
1139
+ embargo_release_date: until
1140
+ files: Upload a file
1141
+ keyword: Keyword
1142
+ lease_expiration_date: until
1143
+ license: License
1144
+ member_of_collection_ids: Add to collection
1145
+ related_url: Related URL
1146
+ rights_statement: Rights statement
1147
+ title: Title
1148
+ visibility_after_embargo: then open it up to
1149
+ visibility_after_lease: then restrict it to
1150
+ visibility_during_embargo: Restricted to
1151
+ visibility_during_lease: Is available to
866
1152
  proxy_deposit_request:
867
- transfer_to: "User"
868
- sender_comment: "Comments"
1153
+ sender_comment: Comments
1154
+ transfer_to: User
1155
+ placeholders:
1156
+ defaults:
1157
+ find_child_work: Search for a work…
1158
+ member_of_collection_ids: Select a collection…
869
1159
  required:
870
- html: '<span class="label label-info required-tag">required</span>'
1160
+ html: <span class="label label-info required-tag">required</span>