blacklight-spotlight 3.0.0.alpha.9 → 3.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/app/assets/images/blacklight/arrow-alt-circle-left.svg +1 -0
  4. data/app/assets/images/blacklight/arrow-alt-circle-right.svg +1 -0
  5. data/app/assets/javascripts/spotlight/admin/{add_new_page_button.js → add_new_button.js} +7 -0
  6. data/app/assets/javascripts/spotlight/admin/block_mixins/autocompleteable.js +4 -4
  7. data/app/assets/javascripts/spotlight/admin/blocks/browse_block.js +55 -1
  8. data/app/assets/javascripts/spotlight/admin/blocks/browse_group_categories_block.js +88 -0
  9. data/app/assets/javascripts/spotlight/admin/blocks/pages_block.js +1 -1
  10. data/app/assets/javascripts/spotlight/admin/blocks/solr_documents_base_block.js +1 -1
  11. data/app/assets/javascripts/spotlight/admin/blocks/uploaded_items_block.js +7 -2
  12. data/app/assets/javascripts/spotlight/admin/crop.es6 +11 -0
  13. data/app/assets/javascripts/spotlight/admin/croppable.js +1 -1
  14. data/app/assets/javascripts/spotlight/admin/index.js +0 -2
  15. data/app/assets/javascripts/spotlight/admin/reindex_monitor.js +1 -0
  16. data/app/assets/javascripts/spotlight/admin/search_typeahead.js +2 -2
  17. data/app/assets/javascripts/spotlight/admin/sir-trevor/block_controls.js +21 -12
  18. data/app/assets/javascripts/spotlight/admin/sir-trevor/locales.js +11 -3
  19. data/app/assets/javascripts/spotlight/user/browse_group_categories.js +59 -0
  20. data/app/assets/javascripts/spotlight/user/index.js +1 -0
  21. data/app/assets/stylesheets/spotlight/_accessibility.scss +1 -1
  22. data/app/assets/stylesheets/spotlight/_breadcrumbs.scss +8 -0
  23. data/app/assets/stylesheets/spotlight/_browse.scss +16 -0
  24. data/app/assets/stylesheets/spotlight/_catalog.scss +6 -6
  25. data/app/assets/stylesheets/spotlight/_curation.scss +6 -0
  26. data/app/assets/stylesheets/spotlight/_featured_browse_categories_block.scss +214 -83
  27. data/app/assets/stylesheets/spotlight/_header.scss +1 -1
  28. data/app/assets/stylesheets/spotlight/_item_text_block.scss +6 -0
  29. data/app/assets/stylesheets/spotlight/_pages.scss +9 -4
  30. data/app/assets/stylesheets/spotlight/_report_a_problem.scss +5 -2
  31. data/app/assets/stylesheets/spotlight/_spotlight.scss +2 -0
  32. data/app/assets/stylesheets/spotlight/_translations.scss +7 -0
  33. data/app/assets/stylesheets/spotlight/browse_group_categories_block.scss +92 -0
  34. data/app/builders/spotlight/bootstrap_breadcrumbs_builder.rb +1 -2
  35. data/app/controllers/concerns/spotlight/search_helper.rb +2 -8
  36. data/app/controllers/spotlight/appearances_controller.rb +0 -12
  37. data/app/controllers/spotlight/browse_controller.rb +7 -3
  38. data/app/controllers/spotlight/catalog_controller.rb +5 -2
  39. data/app/controllers/spotlight/concerns/application_controller.rb +13 -2
  40. data/app/controllers/spotlight/dashboards_controller.rb +1 -1
  41. data/app/controllers/spotlight/exhibits_controller.rb +2 -3
  42. data/app/controllers/spotlight/featured_images_controller.rb +1 -1
  43. data/app/controllers/spotlight/groups_controller.rb +80 -0
  44. data/app/controllers/spotlight/pages_controller.rb +6 -9
  45. data/app/controllers/spotlight/resources/csv_upload_controller.rb +1 -1
  46. data/app/controllers/spotlight/searches_controller.rb +7 -19
  47. data/app/controllers/spotlight/translations_controller.rb +46 -0
  48. data/app/helpers/spotlight/application_helper.rb +20 -1
  49. data/app/helpers/spotlight/crop_helper.rb +4 -1
  50. data/app/helpers/spotlight/crud_link_helpers.rb +1 -1
  51. data/app/helpers/spotlight/main_app_helpers.rb +1 -1
  52. data/app/helpers/spotlight/pages_helper.rb +1 -1
  53. data/app/jobs/concerns/spotlight/job_tracking.rb +47 -0
  54. data/app/jobs/concerns/spotlight/limit_concurrency.rb +33 -0
  55. data/app/jobs/spotlight/add_uploads_from_csv.rb +34 -6
  56. data/app/jobs/spotlight/application_job.rb +8 -0
  57. data/app/jobs/spotlight/cleanup_job_trackers_job.rb +13 -0
  58. data/app/jobs/spotlight/default_thumbnail_job.rb +1 -3
  59. data/app/jobs/spotlight/reindex_exhibit_job.rb +36 -0
  60. data/app/jobs/spotlight/reindex_job.rb +49 -41
  61. data/app/jobs/spotlight/rename_sidecar_field_job.rb +2 -2
  62. data/app/jobs/spotlight/update_job_trackers_job.rb +20 -0
  63. data/app/mailers/spotlight/indexing_complete_mailer.rb +3 -2
  64. data/app/models/concerns/spotlight/exhibit_defaults.rb +1 -1
  65. data/app/models/concerns/spotlight/translatables.rb +17 -1
  66. data/app/models/concerns/spotlight/user.rb +2 -1
  67. data/app/models/sir_trevor_rails/blocks/browse_group_categories_block.rb +25 -0
  68. data/app/models/spotlight/ability.rb +2 -0
  69. data/app/models/spotlight/about_page.rb +3 -1
  70. data/app/models/spotlight/blacklight_configuration.rb +2 -1
  71. data/app/models/spotlight/contact.rb +1 -1
  72. data/app/models/spotlight/custom_field.rb +3 -3
  73. data/app/models/spotlight/event.rb +13 -0
  74. data/app/models/spotlight/exhibit.rb +18 -14
  75. data/app/models/spotlight/feature_page.rb +3 -1
  76. data/app/models/spotlight/featured_image.rb +29 -12
  77. data/app/models/spotlight/group.rb +22 -0
  78. data/app/models/spotlight/group_member.rb +11 -0
  79. data/app/models/spotlight/home_page.rb +3 -1
  80. data/app/models/spotlight/job_tracker.rb +105 -0
  81. data/app/models/spotlight/main_navigation.rb +2 -2
  82. data/app/models/spotlight/masthead.rb +1 -1
  83. data/app/models/spotlight/page.rb +5 -1
  84. data/app/models/spotlight/page_configurations.rb +6 -0
  85. data/app/models/spotlight/page_content.rb +2 -0
  86. data/app/models/spotlight/reindex_progress.rb +44 -27
  87. data/app/models/spotlight/resource.rb +24 -58
  88. data/app/models/spotlight/resources/csv_upload.rb +2 -1
  89. data/app/models/spotlight/resources/iiif_harvester.rb +10 -1
  90. data/app/models/spotlight/resources/iiif_manifest.rb +11 -7
  91. data/app/models/spotlight/resources/iiif_service.rb +1 -1
  92. data/app/models/spotlight/resources/json_upload.rb +12 -0
  93. data/app/models/spotlight/resources/upload.rb +25 -2
  94. data/app/models/spotlight/search.rb +10 -1
  95. data/app/models/spotlight/solr_document_sidecar.rb +9 -6
  96. data/app/models/spotlight/temporary_image.rb +8 -0
  97. data/app/services/spotlight/etl.rb +7 -0
  98. data/app/services/spotlight/etl/context.rb +52 -0
  99. data/app/services/spotlight/etl/executor.rb +194 -0
  100. data/app/services/spotlight/etl/loaders.rb +12 -0
  101. data/app/services/spotlight/etl/pipeline.rb +81 -0
  102. data/app/services/spotlight/etl/solr_loader.rb +96 -0
  103. data/app/services/spotlight/etl/sources.rb +25 -0
  104. data/app/services/spotlight/etl/step.rb +82 -0
  105. data/app/services/spotlight/etl/transforms.rb +64 -0
  106. data/app/services/spotlight/exhibit_import_export_service.rb +482 -0
  107. data/app/services/spotlight/validity_checker.rb +5 -5
  108. data/app/values/custom_field_name.rb +1 -0
  109. data/app/views/catalog/_save_search.html.erb +1 -1
  110. data/app/views/spotlight/about_pages/_empty.html.erb +5 -5
  111. data/app/views/spotlight/browse/_search.html.erb +5 -3
  112. data/app/views/spotlight/browse/_search_title.html.erb +2 -1
  113. data/app/views/spotlight/browse/index.html.erb +13 -0
  114. data/app/views/spotlight/catalog/_document.html.erb +2 -4
  115. data/app/views/spotlight/catalog/index.iiif_json.jbuilder +22 -0
  116. data/app/views/spotlight/contacts/_form.html.erb +1 -1
  117. data/app/views/spotlight/dashboards/_reindexing_activity.html.erb +6 -6
  118. data/app/views/spotlight/feature_pages/_empty.html.erb +5 -5
  119. data/app/views/spotlight/featured_images/_form.html.erb +1 -1
  120. data/app/views/spotlight/featured_images/_upload_form.html.erb +1 -1
  121. data/app/views/spotlight/home_pages/_empty.html.erb +3 -3
  122. data/app/views/spotlight/indexing_complete_mailer/documents_indexed.html.erb +9 -0
  123. data/app/views/spotlight/pages/_form.html.erb +2 -2
  124. data/app/views/spotlight/searches/_form.html.erb +13 -0
  125. data/app/views/spotlight/searches/_group.html.erb +27 -0
  126. data/app/views/spotlight/searches/_search.html.erb +1 -0
  127. data/app/views/spotlight/searches/index.html.erb +58 -17
  128. data/app/views/spotlight/shared/_honeypot_field.html.erb +4 -0
  129. data/app/views/spotlight/shared/_locale_picker.html.erb +1 -1
  130. data/app/views/spotlight/shared/_report_a_problem.html.erb +7 -10
  131. data/app/views/spotlight/sir_trevor/blocks/_browse_block.html.erb +1 -0
  132. data/app/views/spotlight/sir_trevor/blocks/_browse_group_categories_block.html.erb +45 -0
  133. data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +7 -1
  134. data/app/views/spotlight/translations/_browse_categories.html.erb +29 -3
  135. data/app/views/spotlight/translations/_general.html.erb +7 -7
  136. data/app/views/spotlight/translations/_groups.html.erb +34 -0
  137. data/app/views/spotlight/translations/_import.html.erb +24 -0
  138. data/app/views/spotlight/translations/_metadata.html.erb +1 -1
  139. data/app/views/spotlight/translations/_page.html.erb +5 -5
  140. data/app/views/spotlight/translations/_pages.html.erb +4 -4
  141. data/app/views/spotlight/translations/_pages_table.html.erb +5 -5
  142. data/app/views/spotlight/translations/_search_fields.html.erb +3 -3
  143. data/app/views/spotlight/translations/edit.html.erb +14 -6
  144. data/app/views/spotlight/translations/show.yaml.yamlbuilder +81 -0
  145. data/config/i18n-tasks.yml +7 -0
  146. data/config/locales/spotlight.ar.yml +57 -24
  147. data/config/locales/spotlight.en.yml +184 -128
  148. data/config/routes.rb +16 -1
  149. data/db/migrate/20200403161512_add_subtitle_to_searches.rb +7 -0
  150. data/db/migrate/20210113092223_create_spotlight_groups.rb +23 -0
  151. data/db/migrate/20210122082032_create_job_trackers.rb +22 -0
  152. data/db/migrate/20210126123041_create_events.rb +15 -0
  153. data/lib/generators/spotlight/install_generator.rb +23 -2
  154. data/lib/generators/spotlight/scaffold_resource_generator.rb +5 -13
  155. data/lib/generators/spotlight/templates/config/initializers/sir_trevor_rails.rb +10 -0
  156. data/lib/generators/spotlight/templates/config/initializers/spotlight_initializer.rb +3 -1
  157. data/lib/spotlight/engine.rb +35 -4
  158. data/lib/spotlight/upload_field_config.rb +1 -0
  159. data/lib/spotlight/version.rb +1 -1
  160. data/spec/controllers/spotlight/about_pages_controller_spec.rb +3 -3
  161. data/spec/controllers/spotlight/browse_controller_spec.rb +24 -1
  162. data/spec/controllers/spotlight/catalog_controller_spec.rb +4 -2
  163. data/spec/controllers/spotlight/contacts_controller_spec.rb +2 -2
  164. data/spec/controllers/spotlight/feature_pages_controller_spec.rb +11 -0
  165. data/spec/controllers/spotlight/groups_controller_spec.rb +103 -0
  166. data/spec/controllers/spotlight/home_pages_controller_spec.rb +2 -2
  167. data/spec/controllers/spotlight/resources/csv_upload_controller_spec.rb +4 -4
  168. data/spec/controllers/spotlight/searches_controller_spec.rb +10 -3
  169. data/spec/controllers/spotlight/translations_controller_spec.rb +53 -2
  170. data/spec/controllers/spotlight/view_configurations_controller_spec.rb +1 -1
  171. data/spec/examples.txt +1448 -125
  172. data/spec/factories/featured_images.rb +4 -0
  173. data/spec/factories/group.rb +17 -0
  174. data/spec/factories/job_trackers.rb +9 -0
  175. data/spec/factories/searches.rb +11 -1
  176. data/spec/features/add_contacts_spec.rb +1 -1
  177. data/spec/features/add_items_spec.rb +9 -4
  178. data/spec/features/browse_category_admin_spec.rb +39 -7
  179. data/spec/features/browse_category_navigation_spec.rb +44 -0
  180. data/spec/features/browse_category_spec.rb +2 -2
  181. data/spec/features/catalog_spec.rb +2 -2
  182. data/spec/features/create_exhibit_spec.rb +5 -4
  183. data/spec/features/dashboard_spec.rb +7 -7
  184. data/spec/features/edit_search_fields_spec.rb +2 -2
  185. data/spec/features/exhibits/administration_spec.rb +3 -3
  186. data/spec/features/exhibits/edit_metadata_fields_spec.rb +1 -1
  187. data/spec/features/exhibits/language_create_edit_spec.rb +3 -3
  188. data/spec/features/exhibits/translation_editing_spec.rb +57 -8
  189. data/spec/features/home_page_spec.rb +13 -4
  190. data/spec/features/item_admin_spec.rb +4 -4
  191. data/spec/features/javascript/about_page_admin_spec.rb +1 -1
  192. data/spec/features/javascript/block_controls_spec.rb +3 -1
  193. data/spec/features/javascript/blocks/browse_group_categories_block_spec.rb +64 -0
  194. data/spec/features/javascript/blocks/uploaded_items_block_spec.rb +4 -1
  195. data/spec/features/javascript/browse_group_admin_spec.rb +45 -0
  196. data/spec/features/javascript/edit_in_place_spec.rb +3 -3
  197. data/spec/features/javascript/feature_page_admin_spec.rb +1 -1
  198. data/spec/features/javascript/reindex_monitor_spec.rb +1 -1
  199. data/spec/features/javascript/search_config_admin_spec.rb +1 -1
  200. data/spec/features/report_a_problem_spec.rb +6 -5
  201. data/spec/features/site_users_management_spec.rb +4 -4
  202. data/spec/helpers/spotlight/crud_link_helpers_spec.rb +3 -3
  203. data/spec/helpers/spotlight/pages_helper_spec.rb +10 -2
  204. data/spec/i18n_spec.rb +0 -2
  205. data/spec/jobs/spotlight/add_uploads_from_csv_spec.rb +13 -1
  206. data/spec/jobs/spotlight/reindex_exhibit_job_spec.rb +43 -0
  207. data/spec/jobs/spotlight/reindex_job_spec.rb +30 -59
  208. data/spec/mailers/spotlight/indexing_complete_mailer_spec.rb +11 -1
  209. data/spec/models/sir_trevor_rails/blocks/browse_group_categories_block_spec.rb +41 -0
  210. data/spec/models/solr_document_spec.rb +2 -3
  211. data/spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb +1 -0
  212. data/spec/models/spotlight/exhibit_spec.rb +21 -59
  213. data/spec/models/spotlight/featured_image_spec.rb +27 -0
  214. data/spec/models/spotlight/group_spec.rb +19 -0
  215. data/spec/models/spotlight/main_navigation_spec.rb +1 -1
  216. data/spec/models/spotlight/page_spec.rb +6 -1
  217. data/spec/models/spotlight/reindex_progress_spec.rb +89 -87
  218. data/spec/models/spotlight/resource_spec.rb +69 -90
  219. data/spec/models/spotlight/resources/iiif_harvester_spec.rb +9 -10
  220. data/spec/models/spotlight/resources/upload_spec.rb +43 -79
  221. data/spec/models/spotlight/role_spec.rb +3 -3
  222. data/spec/models/spotlight/search_spec.rb +30 -3
  223. data/spec/models/spotlight/solr_document_sidecar_spec.rb +1 -0
  224. data/spec/services/spotlight/etl/context_spec.rb +66 -0
  225. data/spec/services/spotlight/etl/executor_spec.rb +149 -0
  226. data/spec/services/spotlight/etl/pipeline_spec.rb +22 -0
  227. data/spec/services/spotlight/etl/solr_loader_spec.rb +76 -0
  228. data/spec/services/spotlight/etl/step_spec.rb +70 -0
  229. data/spec/{serializers/spotlight/exhibit_export_serializer_spec.rb → services/spotlight/exhibit_import_export_service_spec.rb} +168 -23
  230. data/spec/services/spotlight/iiif_resource_resolver_spec.rb +1 -1
  231. data/spec/spec_helper.rb +3 -6
  232. data/spec/support/features/test_features_helpers.rb +15 -0
  233. data/spec/test_app_templates/Gemfile.extra +1 -3
  234. data/spec/test_app_templates/catalog_controller.rb +6 -3
  235. data/spec/test_app_templates/lib/generators/test_app_generator.rb +1 -1
  236. data/spec/views/shared/_exhibit_navbar.html.erb_spec.rb +1 -1
  237. data/spec/views/spotlight/browse/index.html.erb_spec.rb +2 -0
  238. data/spec/views/spotlight/dashboards/_analytics.html.erb_spec.rb +1 -1
  239. data/spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb +28 -25
  240. data/spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb +3 -3
  241. data/spec/views/spotlight/pages/show.html.erb_spec.rb +1 -0
  242. data/spec/views/spotlight/search_configurations/_facets.html.erb_spec.rb +1 -1
  243. data/spec/views/spotlight/search_configurations/_sort.html.erb_spec.rb +7 -8
  244. data/spec/views/spotlight/translations/_import.html.erb_spec.rb +24 -0
  245. data/vendor/assets/javascripts/leaflet-iiif.js +46 -21
  246. data/vendor/assets/javascripts/tiny-slider.js +3218 -0
  247. data/vendor/assets/stylesheets/tiny-slider.css +1 -0
  248. metadata +444 -289
  249. data/app/models/concerns/spotlight/resources/open_graph.rb +0 -36
  250. data/app/models/spotlight/reindexing_log_entry.rb +0 -42
  251. data/app/serializers/spotlight/exhibit_export_serializer.rb +0 -205
  252. data/app/serializers/spotlight/featured_image_representer.rb +0 -29
  253. data/app/serializers/spotlight/main_navigation_representer.rb +0 -13
  254. data/app/serializers/spotlight/page_representer.rb +0 -33
  255. data/app/services/spotlight/resources/iiif_builder.rb +0 -19
  256. data/app/services/spotlight/solr_document_builder.rb +0 -76
  257. data/app/services/spotlight/upload_solr_document_builder.rb +0 -57
  258. data/spec/factories/reindexing_log_entries.rb +0 -54
  259. data/spec/models/spotlight/reindexing_log_entry_spec.rb +0 -129
  260. data/spec/models/spotlight/resources/open_graph_spec.rb +0 -65
  261. data/spec/services/spotlight/solr_document_builder_spec.rb +0 -66
  262. data/vendor/assets/javascripts/handlebars-v1.3.0.js +0 -2746
@@ -0,0 +1,81 @@
1
+ json.set!(locale) do
2
+ json.set!(current_exhibit.slug) do
3
+ json.title(current_exhibit.translated_title(default: ''))
4
+ json.subtitle(current_exhibit.translated_subtitle(default: ''))
5
+ json.description(current_exhibit.translated_description(default: ''))
6
+ end
7
+
8
+ json.spotlight do
9
+ json.curation do
10
+ json.nav do
11
+ json.home(t(:'spotlight.curation.nav.home', default: ''))
12
+ end
13
+ end
14
+
15
+ json.catalog do
16
+ json.breadcrumb do
17
+ json.index(t(:'spotlight.catalog.breadcrumb.index', default: ''))
18
+ end
19
+ end
20
+ end
21
+
22
+ json.main_navigation do
23
+ current_exhibit.main_navigations.each do |navigation|
24
+ json.set!(navigation.nav_type) do
25
+ json.label(navigation.translated_label(default: navigation.default_label(default: '')))
26
+ end
27
+ end
28
+ end
29
+
30
+ json.blacklight do
31
+ json.search do
32
+ json.fields do
33
+ current_exhibit.blacklight_config.show_fields.each do |key, field_config|
34
+ if locale == I18n.default_locale
35
+ json.set!(key, field_config.label)
36
+ else
37
+ json.set!(key, t(:"blacklight.search.fields.#{key}", default: ''))
38
+ end
39
+ end
40
+
41
+ json.search do
42
+ current_exhibit.blacklight_config.search_fields.select { |_, config| config.if }.each do |key, search_config|
43
+ if locale == I18n.default_locale
44
+ json.set!(key, search_config.label)
45
+ else
46
+ json.set!(key, t(:"blacklight.search.fields.search.#{key}", default: ''))
47
+ end
48
+ end
49
+ end
50
+
51
+ json.sort do
52
+ current_exhibit.blacklight_config.sort_fields.each do |key, sort_config|
53
+ if locale == I18n.default_locale
54
+ json.set!(key, sort_config.label)
55
+ else
56
+ json.set!(key, t(:"blacklight.search.fields.sort.#{key}", default: ''))
57
+ end
58
+ end
59
+ end
60
+
61
+ json.facet do
62
+ current_exhibit.blacklight_config.facet_fields.each do |key, facet_config|
63
+ if locale == I18n.default_locale
64
+ json.set!(key, facet_config.label)
65
+ else
66
+ json.set!(key, t(:"blacklight.search.fields.facet.#{key}", default: ''))
67
+ end
68
+ end
69
+ end
70
+ end
71
+ end
72
+ end
73
+
74
+ current_exhibit.searches.each do |search|
75
+ json.set!(search.slug) do
76
+ json.title search.translated_title(default: '')
77
+ json.subtitle search.translated_subtitle(default: '')
78
+ json.long_description search.translated_long_description(default: '')
79
+ end
80
+ end
81
+ end
@@ -34,10 +34,13 @@ ignore_unused:
34
34
  - activerecord.attributes.spotlight/page.{display_sidebar\?,display_title} # app/views/spotlight/home_pages/_page_options.html.erb
35
35
  - activerecord.attributes.spotlight/language.locale # app/views/spotlight/exhibits/_languages.html.erb
36
36
  - activerecord.attributes.spotlight/contact.avatar # app/views/spotlight/contacts/_form.html.erb
37
+ - activerecord.attributes.spotlight/exhibit.contact_emails # app/views/spotlight/exhibits/_form.html.erb
37
38
  - activerecord.attributes.spotlight/exhibit.published # app/views/spotlight/sites/_exhibit.html.erb
38
39
  - activerecord.attributes.spotlight/masthead.display # app/views/spotlight/appearances/edit.html.erb
39
40
  - activerecord.attributes.spotlight/custom_field.is_multiple # app/views/spotlight/custom_fields/_form.html.erb
40
41
  - activerecord.attributes.spotlight/custom_search_field.field # app/views/spotlight/custom_search_fields/_form.html.erb
42
+ - activerecord.models.spotlight/group # Used in flash messages around the app to rename Group to Browse group
43
+ - activerecord.models.spotlight/search # Used in flash messages around the app to rename Search to Browse category
41
44
  - helpers.label.spotlight/filter.{field,value} # app/views/spotlight/filters/_form.html.erb
42
45
  - spotlight.catalog.admin.{title,header} # app/helpers/spotlight/title_helper.rb
43
46
  - spotlight.{contacts,pages,searches}.edit.{title,header} # app/helpers/spotlight/title_helper.rb
@@ -48,14 +51,17 @@ ignore_unused:
48
51
  - spotlight.featured_images.upload_form.{non_iiif_alert_html,source.exhibit.help,source.exhibit.label} # app/views/spotlight/featured_images/_form.html.erb
49
52
  - spotlight.feature_pages.page_options.published # app/views/spotlight/feature_pages/_page_options.html.erb
50
53
  - spotlight.{exhibits,custom_fields,custom_search_fields}.{new,edit}.header # configuration_page_title
54
+ - spotlight.{searches}.{group}.{view}
51
55
  - helpers.submit.custom_field.{batch_error,batch_updated,create,submit,update} # Generic repeated template
52
56
  - helpers.submit.custom_search_field.{batch_error,batch_updated,create,submit,update} # Generic repeated template
53
57
  - helpers.submit.exhibit.{batch_error,batch_updated,create,submit,update} # Generic repeated template
58
+ - helpers.submit.group.{destroyed,updated} # Generic helper that is used
54
59
  - helpers.submit.search.{create,submit,update} # Generic repeated template
55
60
  - helpers.submit.site.{batch_error,batch_updated,create,created,destroyed,submit,update} # Generic repeated template
56
61
  - helpers.submit.filter.{batch_error,batch_updated,create,created,destroyed,submit,update} # Generic repeated template
57
62
  - helpers.action.destroy_are_you_sure # app/helpers/spotlight/crud_link_helpers.rb
58
63
  - helpers.action.spotlight/role.{create,destroy} # app/views/spotlight/roles/index.html.erb
64
+ - helpers.action.spotlight/group.destroy # app/views/spotlight/searches/_group.html.erb
59
65
  - helpers.action.{edit,edit_long,new,view} # app/helpers/spotlight/crud_link_helpers.rb
60
66
  - helpers.action.spotlight/search.edit_long # app/views/spotlight/searches/_search.html.erb
61
67
  - spotlight.about_pages.page_options.published # app/views/spotlight/about_pages/_page_options.html.erb
@@ -66,6 +72,7 @@ ignore_unused:
66
72
  - helpers.submit.{submit,update} # Generically used set defaults
67
73
  - helpers.submit.contact.create # app/views/spotlight/contacts/_form.html.erb
68
74
  - helpers.action.exhibit.contact.submit # helpers.action.exhibit.contact.submit
75
+ - helpers.label.contact_form.{email,name} # app/views/spotlight/shared/_report_a_problem.html.erb
69
76
 
70
77
  # TODO Look into these as its unclear
71
78
  - activerecord.models.spotlight.page
@@ -1,40 +1,73 @@
1
+ ---
1
2
  ar:
2
- activemodel:
3
- attributes:
4
- spotlight/contact_form:
5
- email: البريد الإلكتروني
6
- message: الرسالة
7
- name: الاسم
8
3
  helpers:
9
4
  action:
10
5
  cancel: إلغاء
11
6
  submit:
12
7
  contact_form:
13
- create: إرسال
14
- created: .نشكرك على رسالتك. لقد تم إرسال ملاحظاتك واقتراحاتك
8
+ create: ارسل
9
+ created: شكراً. لقد تم إرسال ملاحظاتك واقتراحاتك.
15
10
  spotlight:
16
11
  about_pages:
17
12
  contacts:
18
- header: عنوان فرعي
19
- header_links:
20
- contact: ملاحظات واقتراحات
21
- shared:
22
- report_a_problem:
23
- honeypot_field_explanation: .تجاهل هذا المربع النصي، فهو يُستخدم فقط لكشف المحتالين. إذا كتبت أي شيء في هذا المربع النصي، فلن يتم إرسال رسالتك
24
- title: عنوان
13
+ header: جهات الاتصال
14
+ breadcrumb:
15
+ label: مسار التنقل
25
16
  browse:
26
17
  search:
27
18
  item_count:
28
- one: "%{count} مادة"
29
- other: "%{count} مواد"
19
+ zero: "%{count} عنصر"
20
+ one: "%{count} عنصر"
21
+ two: "%{count} عنصرين"
22
+ few: "%{count} عناصر"
23
+ many: "%{count} عنصراً"
24
+ other: "%{count} عنصراً"
25
+
30
26
  search_box:
31
- label: البحث في فئة التصفح الحالية
32
- placeholder: ...بحث
27
+ label: ابحث في فئة التصفح الحالية
28
+ placeholder: بحث...
33
29
  reset: مسح استعلام البحث
34
- submit: البحث في فئة التصفح
30
+ submit: ابحث في فئة التصفح
35
31
  success:
36
- expand_html: يمكنك <a href="%{expand_search_url}">البحث في كل مواد المعرض عن "%{browse_query}"</a>.
37
- result_number_html: طابق استعلام البحث <strong> %{search_size} من %{parent_search_count} مادة</strong> .في هذه الفئة
32
+ expand_html: "يمكنك ايضاً <a href=\"%{expand_search_url}\">البحث في كل مواد المعرض عن \"%{browse_query}\"</a>."
33
+ result_number_html: "طابق استعلام البحث <strong> %{search_size} من %{parent_search_count} عنصر</strong> في هذه الفئة."
38
34
  zero_results:
39
- expand_html: <a href="%{clear_search_url}"> امسح استعلام المسح </a> أو حاول <a href="%{expand_search_url}">.البحث في كل المواد المعروضة لاستعلام البحث "%{browse_query}"</a>
40
- result_number: .لم يتطابق بحثك مع أي مادة في هذه الفئة
35
+ expand_html: "تستطيع أن <a href=\"%{clear_search_url}\"> تمسح استعلام البحث </a> أو محاولة <a href=\"%{expand_search_url}\"> البحث في كل المواد المعروضة لاستعلام البحث ل\"%{browse_query}\"</a>"
36
+ result_number: لم يتطابق بحثك مع أي عنصر في هذه الفئة.
37
+ exhibits:
38
+ groups:
39
+ all: الكل
40
+ header_links:
41
+ contact: ملاحظات واقتراحات
42
+ login: تسجيل الدخول
43
+ logout: تسجيل الخروج
44
+ shared:
45
+ report_a_problem:
46
+ honeypot_field_explanation: تجاهل هذا المربع النصي، فهو يُستخدم فقط لكشف المحتالين. إذا كتبت أي شيء في هذا المربع النصي، فلن يتم إرسال رسالتك.
47
+ title: تواصل معنا
48
+ sir_trevor:
49
+ blocks:
50
+ browse_block:
51
+ items:
52
+ zero: "%{count} عنصر"
53
+ one: "%{count} عنصر"
54
+ two: "%{count} عنصرين"
55
+ few: "%{count} عناصر"
56
+ many: "%{count} عنصراً"
57
+ other: "%{count} عنصراً"
58
+ browse_group_categories_block:
59
+ items:
60
+ one: "%{count} عنصر"
61
+ two: "%{count} عنصرين"
62
+ few: "%{count} عناصر"
63
+ many: "%{count} عنصراً"
64
+ other: "%{count} عنصراً"
65
+ view_all: مشاهدة الكل
66
+ link_to_search_block:
67
+ items:
68
+ zero: "%{count} عنصر"
69
+ one: "%{count} عنصر"
70
+ two: "%{count} عنصرين"
71
+ few: "%{count} عناصر"
72
+ many: "%{count} عنصراً"
73
+ other: "%{count} عنصراً"
@@ -9,6 +9,7 @@ en:
9
9
  spotlight/custom_search_field:
10
10
  field: Solr specification
11
11
  spotlight/exhibit:
12
+ contact_emails: Feedback recipients
12
13
  published: Published?
13
14
  spotlight/language:
14
15
  locale: Language
@@ -23,6 +24,8 @@ en:
23
24
  models:
24
25
  spotlight:
25
26
  page: Page
27
+ spotlight/group: Browse group
28
+ spotlight/search: Browse category
26
29
  cancel: Cancel
27
30
  drag: Drag
28
31
  helpers:
@@ -43,6 +46,8 @@ en:
43
46
  create: Add new field
44
47
  spotlight/custom_search_field:
45
48
  create: Add new field
49
+ spotlight/group:
50
+ destroy: Delete group
46
51
  spotlight/role:
47
52
  create: Add a new user
48
53
  destroy: Remove from site
@@ -52,6 +57,9 @@ en:
52
57
  update_all: Save changes
53
58
  view: View
54
59
  label:
60
+ contact_form:
61
+ email: Your email
62
+ name: Your name
55
63
  solr_document:
56
64
  exhibit_tag_list: Tags
57
65
  spotlight/filter:
@@ -97,6 +105,12 @@ en:
97
105
  created: The %{model} was created.
98
106
  destroyed: The %{model} was deleted.
99
107
  updated: The %{model} was successfully updated.
108
+ group:
109
+ batch_error: There was an error updating the requested %{model}.
110
+ batch_updated: "%{model} were successfully updated."
111
+ created: The %{model} was created.
112
+ destroyed: The %{model} was deleted.
113
+ updated: The %{model} was successfully updated.
100
114
  language:
101
115
  create: Add language
102
116
  created: The %{model} was created.
@@ -153,10 +167,10 @@ en:
153
167
  zh: Chinese
154
168
  reindexing_log:
155
169
  status:
170
+ completed: Successful
171
+ enqueued: Not yet started
156
172
  failed: Failed
157
- in_progress: In Progress
158
- succeeded: Successful
159
- unstarted: Not Yet Started
173
+ in_progress: In progress
160
174
  shared:
161
175
  site_sidebar:
162
176
  documentation: Curator documentation
@@ -167,7 +181,7 @@ en:
167
181
  header: Contacts
168
182
  contacts_form:
169
183
  header: Contacts
170
- instructions: Enter details for each librarian, curator or other contact person for this exhibit. Select the contacts you want to be show in the sidebar of the About Pages. Drag and drop contacts to specify the order in which they are shown in the sidebar.
184
+ instructions: Enter details for each librarian, curator or other contact person for this exhibit. Select the contacts you want to be show in the sidebar of the about pages. Drag and drop contacts to specify the order in which they are shown in the sidebar.
171
185
  page_options:
172
186
  published: Publish
173
187
  admin_users:
@@ -192,7 +206,7 @@ en:
192
206
  edit:
193
207
  header: Appearance
194
208
  main_navigation:
195
- help: Select the menu items you want to be displayed in the main navigation menu (menu items are only displayed when published pages exist for that item). Click a menu item to change its display label. Drag and drop a menu item to change their order in the menu.
209
+ help: Select the menu items you want to be displayed in the main navigation menu (menu items are only displayed when published pages exist for that item). Select a menu item to change its display label. Drag and drop a menu item to change their order in the menu.
196
210
  menu: Main menu
197
211
  site_masthead:
198
212
  heading: Exhibit masthead
@@ -226,20 +240,20 @@ en:
226
240
  catalog:
227
241
  admin:
228
242
  header: Items
229
- title: Curation - Items
243
+ title: Curation - items
230
244
  admin_header:
231
245
  new_resource: Add items
232
246
  reindex: Reindex items
233
247
  breadcrumb:
234
- index: Search Results
248
+ index: Search results
235
249
  document_visibility_control:
236
250
  inprogress:
237
251
  label: ''
238
252
  make_private:
239
- button: Make Private
253
+ button: Make private
240
254
  label: ''
241
255
  make_public:
242
- button: Make Public
256
+ button: Make public
243
257
  label: ''
244
258
  edit_default:
245
259
  url-field:
@@ -248,10 +262,10 @@ en:
248
262
  blank_field_warning_html: This field is currently hidden on all pages. You can make it visible on the Curation &gt; %{link} page.
249
263
  facets:
250
264
  exhibit_visibility:
251
- label: Item Visibility
265
+ label: Item visibility
252
266
  private: Private
253
267
  fields:
254
- date_added: Date Added
268
+ date_added: Date added
255
269
  title: Title
256
270
  visibility: Public
257
271
  reindex_progress_panel:
@@ -277,7 +291,7 @@ en:
277
291
  subject: "%{application_name} exhibit feedback"
278
292
  contacts:
279
293
  edit:
280
- header: Edit Contact
294
+ header: Edit contact
281
295
  form:
282
296
  avatar:
283
297
  header: Avatar
@@ -296,7 +310,7 @@ en:
296
310
  title:
297
311
  placeholder: Job title most relevant to this exhibit
298
312
  new:
299
- header: Add Exhibit Contact
313
+ header: Add exhibit contact
300
314
  curation:
301
315
  header: Curation
302
316
  nav:
@@ -313,7 +327,7 @@ en:
313
327
  translations: Translations
314
328
  custom_fields:
315
329
  edit:
316
- header: Edit Exhibit-Specific Field
330
+ header: Edit exhibit-specific field
317
331
  form:
318
332
  field_type:
319
333
  label: Type
@@ -322,19 +336,19 @@ en:
322
336
  is_multiple:
323
337
  label: Multi-valued?
324
338
  new:
325
- header: Add Exhibit-Specific Field
339
+ header: Add exhibit-specific field
326
340
  custom_search_fields:
327
341
  edit:
328
- header: Edit Exhibit-Specific Field
342
+ header: Edit exhibit-specific field
329
343
  form:
330
344
  field:
331
345
  help: Specify fields to be searched and their boost values (e.g., full_title_tesim^100 personal_name_tesim^50).
332
346
  new:
333
- header: Add Exhibit-Specific Field
347
+ header: Add exhibit-specific field
334
348
  dashboards:
335
349
  analytics:
336
350
  header: Analytics
337
- monthly_header: User Activity Over the Past Month
351
+ monthly_header: User activity over the past month
338
352
  pages:
339
353
  header: Most popular pages
340
354
  pagetitle: page title
@@ -345,21 +359,21 @@ en:
345
359
  field:
346
360
  last_edited_by: User
347
361
  title: Title
348
- updated_at: Last Edited
349
- header: Recent Site Building Activity
362
+ updated_at: Last edited
363
+ header: Recent site building activity
350
364
  reindexing_activity:
351
365
  field:
352
366
  date: Date
353
- duration: Elapsed Time
354
- items_reindexed_count: Items Indexed
367
+ duration: Elapsed time
368
+ items_reindexed_count: Items indexed
355
369
  job_status: Status
356
- user: Requested By
357
- header: Recent Item Indexing Activity
370
+ user: Requested by
371
+ header: Recent item indexing activity
358
372
  no_reindexing_activity: There has been no reindexing activity
359
373
  show:
360
374
  header: Dashboard
361
375
  solr_document_activity:
362
- header: Recently Updated Items
376
+ header: Recently updated items
363
377
  no_documents: There are no documents in this exhibit
364
378
  exhibitnavbar:
365
379
  label: Exhibit navigation
@@ -371,10 +385,10 @@ en:
371
385
  not_validated: Not validated.
372
386
  resend: Resend confirmation?
373
387
  contact:
374
- email_delete_button: Delete contact
375
- email_delete_confirmation: Delete contact email address?
376
- email_delete_error: 'Problem deleting contact email:'
377
- email_input_aria_label: Contact email %{index}
388
+ email_delete_button: Delete recipient
389
+ email_delete_confirmation: Delete recipient email address?
390
+ email_delete_error: 'Problem deleting recipient:'
391
+ email_input_aria_label: Recipient email %{index}
378
392
  delete:
379
393
  heading: Delete exhibit
380
394
  warning_html: This action is irreversible. Be sure to back up the exhibit settings and content using the %{export_link} feature before proceeding.
@@ -392,13 +406,15 @@ en:
392
406
  heading: Filter items
393
407
  instructions: You can limit the items included in this exhibit by applying a filter to your Solr index. When you apply a filter, only items with values that match the filter will be included in your exhibit. To apply a filter, enter both a field and a value that match the names used in your Solr index.
394
408
  form:
395
- add_contact_email_button: Add new contact
409
+ add_contact_email_button: Add new recipient
396
410
  fields:
397
411
  contact_emails:
398
- help_block: Each contact email will receive feedback submissions
412
+ help_block: Each recipient will receive submissions made through the feedback form
399
413
  published:
400
414
  help_block: ''
401
415
  uneditable_non_default_language: This field is not editable in the current language. Switch to the default language to edit it.
416
+ groups:
417
+ all: All
402
418
  import:
403
419
  button: Import data
404
420
  heading: Import data
@@ -408,7 +424,7 @@ en:
408
424
  unpublished: Unpublished exhibits
409
425
  user: Your exhibits
410
426
  languages:
411
- current_header: Current Languages
427
+ current_header: Current languages
412
428
  current_instructions: Each language listed below is available for translations on the Curation > Translations page. To enable exhibit visitors to change the language of the exhibit, enable the Public checkbox. To hide translations from an available language from the exhibit, disable the Public checkbox.
413
429
  heading: Languages
414
430
  modal:
@@ -433,63 +449,10 @@ en:
433
449
  label: Title
434
450
  tags:
435
451
  all: All
436
- translations:
437
- browse_categories:
438
- default_language_column_label: English language title
439
- description_label: Description
440
- label: Browse categories
441
- translation_column_label: "%{language} translation"
442
- general:
443
- basic_settings:
444
- description: Description
445
- label: Basic Settings
446
- subtitle: Subtitle
447
- title: Title
448
- label: General
449
- main_menu:
450
- about: About
451
- browse: Browse
452
- curated_features: Curated Features
453
- home: Home
454
- label: Main Menu
455
- metadata:
456
- exhibit_specific_fields:
457
- label: Exhibit-Specific Fields
458
- label: Metadata field labels
459
- pages:
460
- about_pages:
461
- label: About Pages
462
- destroy: Delete
463
- destroy_are_you_sure: Are you sure you want to delete this page? If you delete this page all content, including any existing translations you have made in it, will be lost.
464
- edit: Edit
465
- feature_pages:
466
- label: Feature Pages
467
- help_html: Before exhibit visitors can view translated pages you must create, edit, and publish each page translation. When you create a translated page, a copy of the default language version of the page is made to serve as the initial translated page. You can then edit that translated page to replace the page title and any text fields with translated text. A translated page will not be visible to exhibit visitors until you publish it. To replace a translated page with a current copy of the default language version of the page, use the <i>Recreate</i> action.
468
- home_page:
469
- label: Home Page
470
- label: Pages
471
- new: Create one now.
472
- no_translated_page: No translated page.
473
- recreate: Recreate
474
- recreate_are_you_sure: Are you sure you want to recreate this page? If you recreate this page all content, including any existing translations you have made, will be replaced with the content of the English version of the page.
475
- table_header:
476
- actions: Actions
477
- default_published: Published
478
- language_published: Published
479
- last_updated: "%{language} title / Last update"
480
- search_fields:
481
- facet_fields:
482
- label: Facet Fields
483
- field_based_search_fields:
484
- label: Field-Based Search Fields
485
- label: Search field labels
486
- sort_fields:
487
- label: Sort Fields
488
- title: Translations
489
452
  exhibits_admin_invitation_mailer:
490
453
  invitation_instructions:
491
454
  accept: Accept invitation
492
- accept_invitation: " You can accept this invitation by clicking the link below."
455
+ accept_invitation: You can accept this invitation by selecting the link below.
493
456
  hello: Hello!
494
457
  ignore: If you don't want to accept the invitation, please ignore this email. Your exhibits administrator account won't be created until you access the link above.
495
458
  someone_invited_you: The Exhibits Administrator has invited you to help manage exhibits.
@@ -500,7 +463,7 @@ en:
500
463
  featured_images:
501
464
  form:
502
465
  crop_area:
503
- help: Adjust the image so that the rectangle contains the area you want to use as the %{thing}. Click "Save changes" to save the cropped area.
466
+ help_html: Adjust the image so that the rectangle contains the area you want to use as the %{thing}. Select <b>Save changes</b> to save the cropped area.
504
467
  non_iiif_alert_html: The image source must be a IIIF image. Contact your exhibits adminstrator or see the <a href="http://iiif.io">IIIF website</a> for more information about IIIF.
505
468
  source:
506
469
  exhibit:
@@ -513,7 +476,7 @@ en:
513
476
  label: Upload an image
514
477
  upload_form:
515
478
  crop_area:
516
- help: Adjust the image so that the rectangle contains the area you want to use as the %{thing}. Click "Save changes" to save the cropped area.
479
+ help_html: Adjust the image so that the rectangle contains the area you want to use as the %{thing}. Select <b>Save changes</b> to save the cropped area.
517
480
  non_iiif_alert_html: The image source must be a IIIF image. Contact your exhibits adminstrator or see the <a href="http://iiif.io">IIIF website</a> for more information about IIIF.
518
481
  source:
519
482
  exhibit:
@@ -538,10 +501,12 @@ en:
538
501
  body:
539
502
  one: "%{count} document has been indexed from the CSV file and added to the exhibit %{title}."
540
503
  other: "%{count} documents have been indexed from the CSV file and added to the exhibit %{title}."
504
+ error: 'Row %{index}: %{message}'
505
+ errors: Errors
541
506
  title: Your CSV file has just finished being processed.
542
507
  invitation_mailer:
543
508
  invitation_instructions:
544
- accept_invitation: You can accept this invitation by clicking the link below.
509
+ accept_invitation: You can accept this invitation by selecting the link below.
545
510
  hello: Hello!
546
511
  ignore: If you don't want to accept the invitation, please ignore this email. Your account won't be created until you access the link above.
547
512
  someone_invited_you: The Exhibits Administrator has invited you to help work on the "%{exhibit_name}" exhibit.
@@ -550,21 +515,21 @@ en:
550
515
  main_navigation:
551
516
  about: About
552
517
  browse: Browse
553
- curated_features: Curated Features
518
+ curated_features: Curated features
554
519
  metadata_configurations:
555
520
  edit:
556
521
  deselect_all: Deselect all
557
522
  exhibit_specific:
558
- header: Exhibit-Specific Fields
523
+ header: Exhibit-specific fields
559
524
  instructions: You can add metadata fields to supplement the metadata fields that are part of the repository item record.
560
525
  field:
561
526
  label: Field name
562
527
  header: Metadata
563
- instructions: Select metadata fields to display on each type of page. Click a field name to edit its display label. Drag and drop fields to specify the order in which they are displayed.
564
- order_header: Display and Order Metadata Fields
528
+ instructions: Select metadata fields to display on each type of page. Select a field name to edit its display label. Drag and drop fields to specify the order in which they are displayed.
529
+ order_header: Display and order metadata fields
565
530
  select_all: Select all
566
531
  view:
567
- show: Item Details
532
+ show: Item details
568
533
  pages:
569
534
  edit:
570
535
  header: Edit page
@@ -574,30 +539,30 @@ en:
574
539
  page_options: Options
575
540
  page_thumbnail: Thumbnail
576
541
  thumbnail:
577
- help: You can select and crop an image to visually represent this page. It will be used as the thumbnail image if you include this page using the 'Highlight Featured Pages' widget.
542
+ help: You can select and crop an image to visually represent this page. It will be used as the thumbnail image if you include this page in the Pages widget.
578
543
  title_placeholder: Title
579
544
  index:
580
545
  about_pages:
581
- header: About Pages
546
+ header: About pages
582
547
  feature_pages:
583
- header: Feature Pages
548
+ header: Feature pages
584
549
  home_pages_header: Homepage
585
550
  home_pages:
586
- header: Exhibit Home
587
- title: Exhibit Home
551
+ header: Exhibit home
552
+ title: Exhibit home
588
553
  new:
589
554
  header: New page
590
555
  order_pages:
591
556
  cancel: Cancel
592
557
  instructions: Add new pages below. Drag and drop pages to change the order in which they are displayed in the sidebar.
593
558
  new_page: Add new page
594
- pages_header: Custom Pages
559
+ pages_header: Custom pages
595
560
  save: Save
596
561
  resources:
597
562
  csv_upload:
598
563
  form:
599
564
  add_item: Add item
600
- file_label: CSV File
565
+ file_label: CSV file
601
566
  help_html: "%{link}"
602
567
  template: Download template
603
568
  title: Upload multiple items
@@ -615,7 +580,7 @@ en:
615
580
  json_upload:
616
581
  form:
617
582
  add_item: Add item
618
- file_label: JSON File
583
+ file_label: JSON file
619
584
  title: Upload raw documents
620
585
  new:
621
586
  header: Add items
@@ -640,11 +605,11 @@ en:
640
605
  help: Enter a valid email address
641
606
  index:
642
607
  actions: Actions
643
- email: Email Address
608
+ email: Email address
644
609
  header: Users
645
610
  invite_pending: pending
646
611
  role: Role
647
- title: Site Configuration - Users
612
+ title: Site configuration - users
648
613
  saved_search:
649
614
  id: Select a title to update a previously saved search
650
615
  label: Save this search
@@ -652,41 +617,41 @@ en:
652
617
  search:
653
618
  fields:
654
619
  abstract_tesim: Abstract
655
- corporate_name_ssm: Corporate Names
620
+ corporate_name_ssm: Corporate names
656
621
  facet:
657
- corporate_name_ssm: Corporate Names
658
- exhibit_tags: Exhibit Tags
622
+ corporate_name_ssm: Corporate names
623
+ exhibit_tags: Exhibit tags
659
624
  genre_ssim: Genre
660
625
  language_ssim: Language
661
- personal_name_ssm: Personal Names
626
+ personal_name_ssm: Personal names
662
627
  subject_geographic_ssim: Geographic
663
628
  subject_temporal_ssim: Era
664
629
  full_title_tesim: Title
665
630
  language_ssm: Language
666
631
  note_desc_note_tesim: Note
667
632
  note_mapuse_tesim: Type
668
- note_page_num_tesim: Page Number
633
+ note_page_num_tesim: Page number
669
634
  note_phys_desc_tesim: Note
670
635
  note_provenance_tesim: Provenance
671
636
  note_references_tesim: References
672
637
  note_source_tesim: Source
673
- personal_name_ssm: Personal Names
638
+ personal_name_ssm: Personal names
674
639
  search:
675
640
  all_fields: Everything
676
641
  author: Author
677
642
  title: Title
678
643
  sort:
679
- date: Date (new to old)
680
- identifier: Identifier
681
- relevance: Relevance
682
- source: Source
683
- title: Title
684
- type: Type
644
+ date: date (new to old)
645
+ identifier: identifier
646
+ relevance: relevance
647
+ source: source
648
+ title: title
649
+ type: type
685
650
  spotlight_upload_attribution_tesim: Attribution
686
651
  spotlight_upload_date_tesim: Date
687
652
  spotlight_upload_description_tesim: Description
688
- subject_geographic_tesim: Geographic Subject
689
- subject_temporal_tesim: Temporal Subject
653
+ subject_geographic_tesim: Geographic subject
654
+ subject_temporal_tesim: Temporal subject
690
655
  search_configurations:
691
656
  default_per_page:
692
657
  label: Default per page
@@ -707,7 +672,7 @@ en:
707
672
  one: "%{count} unique value"
708
673
  other: "%{count} unique values"
709
674
  facets:
710
- help: If the sidebar is visible, users can use the facets shown in the sidebar to limit a search. You can select the facets that are available for searching below. Click a facet field name to edit its display label. Drag and drop facets to specify the order they are displayed in the sidebar.
675
+ help: If the sidebar is visible, users can use the facets shown in the sidebar to limit a search. You can select the facets that are available for searching below. Select a facet field name to edit its display label. Drag and drop facets to specify the order they are displayed in the sidebar.
711
676
  sort_by:
712
677
  count: Frequency
713
678
  index: Value
@@ -719,10 +684,10 @@ en:
719
684
  instructions: You can add custom search fields to supplement the search fields that are part of the default configuration.
720
685
  header: Field-based search
721
686
  help: If the search box is displayed, you can also enable field-based search. Field-based search adds a dropdown menu to your exhibit site's search box that provides the user with an option to restrict a search query to a single metadata field.
722
- instructions: If enabled, you can select below the metadata fields that are available for searching. Click a field name to edit its display label. Drag and drop fields to specify the order they are displayed in the search box dropdown menu.
687
+ instructions: If enabled, you can select below the metadata fields that are available for searching. Select a field name to edit its display label. Drag and drop fields to specify the order they are displayed in the search box dropdown menu.
723
688
  sort:
724
689
  header: Sort fields
725
- help: Select the fields you want to be available to users for sorting results. Click a field title to change its display label. Drag and drop fields to change their order in the sort dropdown menu. The field listed first is the default sort field.
690
+ help: Select the fields you want to be available to users for sorting results. Select a field title to change its display label. Drag and drop fields to change their order in the sort dropdown menu. The field listed first is the default sort field.
726
691
  keys:
727
692
  asc: ascending
728
693
  desc: descending
@@ -734,10 +699,13 @@ en:
734
699
  sort_type_ssi: type
735
700
  searches:
736
701
  edit:
737
- header: Edit Browse Category
738
- title: Curation - Browse
702
+ header: Edit browse category
703
+ title: Curation - browse
739
704
  form:
740
705
  default_index_view_type: Default view
706
+ group:
707
+ help: You can add this browse category to any number of browse groups. When you add a browse category to a group it will be displayed when an exhibit visitor selects that browse group’s filter button on the Browse landing page.
708
+ help_no_groups: You cannot add this browse category to a browse group because no browse groups have been created. To create a browse group, use the Browse groups tab on the Curation > Browse page.
741
709
  masthead:
742
710
  help: You can select and crop an image to use as a browse category-specific masthead, instead of the default site masthead, for this browse category's detail page.
743
711
  help_secondary: To create a browse category-specific masthead, you should use an image that is at least 120 pixels tall and 1200 pixels wide. For best results use an image at least 1800 pixels wide. You can crop larger images using the cropping tool below.
@@ -747,17 +715,32 @@ en:
747
715
  help_block: Displays a search box that enables users to search within the browse category results
748
716
  label: Search box
749
717
  search_description: Description
718
+ search_group: Group
750
719
  search_masthead: Masthead
751
720
  search_thumbnail: Thumbnail
752
721
  thumbnail:
753
722
  help: You can select and crop an image to visually represent this search.
723
+ group:
724
+ category_count:
725
+ one: "%{count} category"
726
+ other: "%{count} categories"
727
+ unpublished_count:
728
+ one: "(%{count} unpublished)"
729
+ other: "(%{count} unpublished)"
730
+ zero: ''
731
+ view: View
754
732
  index:
755
- categories_header: Browse Categories
733
+ add_new_group: Add new group
734
+ cancel: Cancel
735
+ categories_header: Browse categories
736
+ categories_instructions: Use the Save search button on a search results page to create a new browse category. Select the categories you want to be displayed on the browse landing page. Drag and drop categories to change the order in which they appear on that page.
737
+ groups_header: Browse groups
738
+ groups_instructions_html: "<p>Optionally, you can create groups to organize your exhibits’ browse categories and enable exhibit visitors to filter browse categories by group. Drag and drop browse groups to change the order in which their filter buttons are displayed.</p><p>To add a browse category to a browse group, edit the browse category from the Browse categories tab.</p>"
756
739
  header: Browse
757
- instructions: Use the Save search button on a search results page to create a new browse category. Select the categories you want to be displayed on the browse landing page. Drag and drop categories to change the order in which they appear on that page.
758
740
  no_saved_searches: You can save search results while in curation mode to create browse categories, which will be displayed here.
759
741
  not_searchable_html: This exhibit is not currently searchable. To perform searches that can be saved as additional browse categories, temporarily turn on the Display search box option in the Options section of the Configuration > %{href} page.
760
- title: Curation - Browse
742
+ save: Save
743
+ title: Curation - browse
761
744
  search:
762
745
  item_count:
763
746
  one: "%{count} item"
@@ -770,13 +753,19 @@ en:
770
753
  header: Administration menu
771
754
  report_a_problem:
772
755
  honeypot_field_explanation: Ignore this text box. It is used to detect spammers. If you enter anything into this text box, your message will not be sent.
773
- title: Contact Us
756
+ reporting_from: 'Reporting from: %{url}'
757
+ title: Contact us
774
758
  sir_trevor:
775
759
  blocks:
776
760
  browse_block:
777
761
  items:
778
762
  one: "%{count} item"
779
763
  other: "%{count} items"
764
+ browse_group_categories_block:
765
+ items:
766
+ one: "%{count} item"
767
+ other: "%{count} items"
768
+ view_all: View all
780
769
  link_to_search_block:
781
770
  items:
782
771
  one: "%{count} item"
@@ -803,11 +792,78 @@ en:
803
792
  actions: Actions
804
793
  header: Tags
805
794
  name: Tag name
806
- no_tags: No items in this exhibit have been tagged. You can add tags to an item on the Item Details page while in curation mode.
795
+ no_tags: No items in this exhibit have been tagged. You can add tags to an item on the item details page while in curation mode.
807
796
  taggings:
808
797
  count: Items tagged
809
798
  topbar:
810
799
  label: Utilities
800
+ translations:
801
+ browse_categories:
802
+ default_language_column_label: English language title
803
+ description_label: Description
804
+ label: Browse categories
805
+ subtitle_label: Subtitle
806
+ translation_column_label: "%{language} translation"
807
+ edit:
808
+ title: Translations
809
+ general:
810
+ basic_settings:
811
+ description: Description
812
+ label: Basic settings
813
+ subtitle: Subtitle
814
+ title: Title
815
+ label: General
816
+ main_menu:
817
+ about: About
818
+ browse: Browse
819
+ curated_features: Curated features
820
+ home: Home
821
+ label: Main menu
822
+ groups:
823
+ label: Browse groups
824
+ import:
825
+ description: You can import and export Rails-based YAML files containing the translated label values for the currently selected language for use in internationalization tools such as Transifex and i18n-tools. This feature does not include importing or exporting translations for Pages.
826
+ export_current_locale: Export %{language}
827
+ export_default_locale: Export %{language}
828
+ export_label: Export a YAML file
829
+ header: Import and export translations
830
+ import_label: Import a YAML file
831
+ import_submit: Import translations
832
+ metadata:
833
+ exhibit_specific_fields:
834
+ label: Exhibit-specific fields
835
+ label: Metadata field labels
836
+ page:
837
+ destroy: Delete
838
+ destroy_are_you_sure: Are you sure you want to delete this page? If you delete this page all content, including any existing translations you have made in it, will be lost.
839
+ edit: Edit
840
+ new: Create one now.
841
+ no_translated_page: No translated page.
842
+ recreate: Recreate
843
+ recreate_are_you_sure: Are you sure you want to recreate this page? If you recreate this page all content, including any existing translations you have made, will be replaced with the content of the English version of the page.
844
+ pages:
845
+ about_pages:
846
+ label: About pages
847
+ feature_pages:
848
+ label: Feature pages
849
+ help_html: Before exhibit visitors can view translated pages you must create, edit, and publish each page translation. When you create a translated page, a copy of the default language version of the page is made to serve as the initial translated page. You can then edit that translated page to replace the page title and any text fields with translated text. A translated page will not be visible to exhibit visitors until you publish it. To replace a translated page with a current copy of the default language version of the page, use the <b>Recreate</b> action.
850
+ home_page:
851
+ label: Home page
852
+ label: Pages
853
+ pages_table:
854
+ header:
855
+ actions: Actions
856
+ default_published: Published
857
+ language_published: Published
858
+ last_updated: "%{language} title / Last update"
859
+ search_fields:
860
+ facet_fields:
861
+ label: Facet fields
862
+ field_based_search_fields:
863
+ label: Field-based search fields
864
+ label: Search field labels
865
+ sort_fields:
866
+ label: Sort fields
811
867
  versions:
812
868
  redo: Redo changes
813
869
  undo: Undo changes