blacklight 8.0.0.beta5 → 8.0.0.beta6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile +0 -4
- data/README.md +1 -1
- data/Rakefile +18 -0
- data/VERSION +1 -1
- data/app/assets/config/blacklight/manifest.js +3 -0
- data/app/assets/stylesheets/blacklight/_facets.scss +32 -5
- data/app/assets/stylesheets/blacklight/blacklight_defaults.scss +1 -1
- data/app/components/blacklight/document_component.rb +21 -2
- data/app/components/blacklight/response/facet_group_component.html.erb +2 -1
- data/app/helpers/blacklight/blacklight_helper_behavior.rb +0 -5
- data/app/javascript/blacklight/bookmark_toggle.js +8 -15
- data/app/javascript/blacklight/button_focus.js +10 -10
- data/app/javascript/blacklight/index.js +5 -5
- data/app/javascript/blacklight/modal.js +6 -11
- data/app/javascript/blacklight/search_context.js +51 -57
- data/app/models/concerns/blacklight/document.rb +11 -0
- data/app/views/catalog/_document.html.erb +2 -2
- data/app/views/layouts/blacklight/base.html.erb +4 -4
- data/blacklight.gemspec +1 -1
- data/config/importmap.rb +1 -1
- data/config/locales/blacklight.ar.yml +209 -226
- data/config/locales/blacklight.de.yml +197 -209
- data/config/locales/blacklight.en.yml +2 -0
- data/config/locales/blacklight.es.yml +196 -209
- data/config/locales/blacklight.fr.yml +196 -213
- data/config/locales/blacklight.hu.yml +193 -206
- data/config/locales/blacklight.it.yml +197 -209
- data/config/locales/blacklight.nl.yml +193 -206
- data/config/locales/blacklight.pt-BR.yml +195 -209
- data/config/locales/blacklight.sq.yml +193 -206
- data/config/locales/blacklight.zh.yml +194 -207
- data/lib/blacklight/configuration/view_config.rb +0 -4
- data/lib/blacklight/engine.rb +6 -7
- data/lib/generators/blacklight/assets/importmap_generator.rb +9 -2
- data/lib/generators/blacklight/assets/propshaft_generator.rb +11 -2
- data/lib/generators/blacklight/assets/sprockets_generator.rb +2 -0
- data/package.json +7 -4
- data/rollup.config.js +11 -1
- data/spec/features/sitelinks_search_box_spec.rb +13 -0
- data/spec/models/blacklight/icon_spec.rb +0 -2
- data/spec/spec_helper.rb +1 -1
- data/spec/support/view_component_test_helpers.rb +21 -0
- data/spec/test_app_templates/Gemfile.extra +4 -0
- data/spec/views/catalog/_document.html.erb_spec.rb +21 -0
- data/tasks/blacklight.rake +1 -1
- metadata +7 -10
- data/app/assets/javascripts/blacklight/blacklight.esm.js +0 -390
- data/app/assets/javascripts/blacklight/blacklight.esm.js.map +0 -1
- data/app/assets/javascripts/blacklight/blacklight.js +0 -398
- data/app/assets/javascripts/blacklight/blacklight.js.map +0 -1
- data/spec/features/sitelinks_search_box.rb +0 -13
- data/spec/support/view_component_capybara_test_helpers.rb +0 -8
@@ -1,236 +1,223 @@
|
|
1
|
+
---
|
1
2
|
es:
|
2
|
-
views:
|
3
|
-
pagination:
|
4
|
-
first: '« Primero'
|
5
|
-
last: 'Ultimo »'
|
6
|
-
previous: '« Anterior'
|
7
|
-
next: 'Siguiente »'
|
8
|
-
truncate: '…'
|
9
|
-
aria:
|
10
|
-
container_label: enlaces de paginación
|
11
|
-
current_page: Página actual, página %{page}
|
12
|
-
go_to_first_page: Ir a la primera pagina
|
13
|
-
go_to_last_page: Ir a la última página
|
14
|
-
go_to_next_page: Ir a la página siguiente
|
15
|
-
go_to_page: Ir a la página %{page}
|
16
|
-
go_to_previous_page: Regresar a la pagina anterior
|
17
|
-
|
18
|
-
pagination_compact:
|
19
|
-
previous: '« Anterior'
|
20
|
-
next: 'Siguiente »'
|
21
|
-
|
22
3
|
blacklight:
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
search_field: 'Salta a la búsqueda'
|
28
|
-
first_result: 'Salta al primer resultado de búsqueda'
|
29
|
-
header_links:
|
30
|
-
login: 'Entrar'
|
31
|
-
logout: 'Salir'
|
32
|
-
bookmarks: 'Favoritos'
|
33
|
-
search_history: 'Historia'
|
34
|
-
|
35
|
-
welcome: '¡Bienvenido!'
|
36
|
-
and: 'y'
|
37
|
-
or: 'o'
|
38
|
-
|
39
|
-
modal:
|
40
|
-
close: cerca
|
41
|
-
|
4
|
+
and: "y"
|
5
|
+
application_name: Blacklight
|
6
|
+
back_to_bookmarks: Volver a sus favoritos
|
7
|
+
back_to_search: Volver a Buscar
|
42
8
|
bookmarks:
|
43
|
-
title: 'Favoritos'
|
44
|
-
page_title: 'Favoritos - %{application_name}'
|
45
|
-
no_bookmarks: 'Usted no tiene favoritos'
|
46
9
|
add:
|
47
|
-
button:
|
10
|
+
button: Favoritos
|
11
|
+
failure: Lo siento, hubo un problema al guardar los favoritos.
|
48
12
|
success:
|
49
|
-
one:
|
50
|
-
other:
|
51
|
-
failure: 'Lo siento, hubo un problema al guardar los favoritos.'
|
52
|
-
remove:
|
53
|
-
button: 'Borrar favorito'
|
54
|
-
success: 'Borrado favorito.'
|
55
|
-
failure: 'Lo siento, hubo un problema al borrar los favoritos.'
|
56
|
-
action_confirm: '¿Quitar este favorito?'
|
57
|
-
clear:
|
58
|
-
action_title: 'Borrar favorito'
|
59
|
-
action_confirm: '¿Borrar sus favoritos?'
|
60
|
-
success: 'Se borraron sus favoritos.'
|
61
|
-
failure: 'Lo siento, hubo un problema al borrar sus favoritos.'
|
62
|
-
need_login: 'Por favor, inicie sesión para administrar y ver sus favoritos.'
|
63
|
-
list_title: 'Mis Favoritos'
|
64
|
-
delete: 'Borrar'
|
65
|
-
|
66
|
-
search_history:
|
13
|
+
one: Éxito al añadir su favorito.
|
14
|
+
other: Éxito añadido favorito.
|
67
15
|
clear:
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
sms: 'Enviar SMS'
|
84
|
-
clear: 'Borrar'
|
85
|
-
|
16
|
+
action_confirm: "¿Borrar sus favoritos?"
|
17
|
+
action_title: Borrar favorito
|
18
|
+
failure: Lo siento, hubo un problema al borrar sus favoritos.
|
19
|
+
success: Se borraron sus favoritos.
|
20
|
+
delete: Borrar
|
21
|
+
list_title: Mis Favoritos
|
22
|
+
need_login: Por favor, inicie sesión para administrar y ver sus favoritos.
|
23
|
+
no_bookmarks: Usted no tiene favoritos
|
24
|
+
page_title: Favoritos - %{application_name}
|
25
|
+
remove:
|
26
|
+
action_confirm: "¿Quitar este favorito?"
|
27
|
+
button: Borrar favorito
|
28
|
+
failure: Lo siento, hubo un problema al borrar los favoritos.
|
29
|
+
success: Borrado favorito.
|
30
|
+
title: Favoritos
|
86
31
|
citation:
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
32
|
+
apa: APA
|
33
|
+
chicago: Chicago
|
34
|
+
mla: MLA
|
35
|
+
did_you_mean: "¿Quiere decir %{options}?"
|
91
36
|
email:
|
37
|
+
errors:
|
38
|
+
to:
|
39
|
+
blank: Debe introducir un destinatario para enviar este mensaje
|
40
|
+
invalid: Debe entrar un email válido
|
92
41
|
form:
|
93
|
-
title: 'Enviar'
|
94
|
-
to: 'Email:'
|
95
42
|
message: 'Mensaje:'
|
96
|
-
submit:
|
43
|
+
submit: Enviar
|
44
|
+
title: Enviar
|
45
|
+
to: 'Email:'
|
46
|
+
success: Email enviado
|
97
47
|
text:
|
98
|
-
default_title:
|
48
|
+
default_title: N/A
|
49
|
+
message: 'Mensaje: %{message}'
|
99
50
|
subject:
|
100
51
|
one: 'Ficha artículo: %{title}'
|
101
|
-
other:
|
52
|
+
other: Ficha artículos
|
102
53
|
url: 'URL: %{url}'
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
success: "SMS enviado"
|
121
|
-
errors:
|
122
|
-
to:
|
123
|
-
invalid: 'Debe entrar un número de teléfono válido de 10 dígitos'
|
124
|
-
blank: "Debe introducir el número de teléfono del destinatario para enviar este mensaj"
|
125
|
-
carrier:
|
126
|
-
blank: 'Debe seleccionar compañía telefónica'
|
127
|
-
invalid: "Debe entrar una compañía telefónica válida"
|
128
|
-
|
129
|
-
back_to_search: 'Volver a Buscar'
|
130
|
-
back_to_bookmarks: 'Volver a sus favoritos'
|
131
|
-
|
54
|
+
entry_name:
|
55
|
+
default:
|
56
|
+
one: entrada
|
57
|
+
other: entradas
|
58
|
+
grouped:
|
59
|
+
default: resultado agrupado
|
60
|
+
header_links:
|
61
|
+
bookmarks: Favoritos
|
62
|
+
login: Entrar
|
63
|
+
logout: Salir
|
64
|
+
search_history: Historia
|
65
|
+
main:
|
66
|
+
aria:
|
67
|
+
main_container: Contenido principal
|
68
|
+
modal:
|
69
|
+
close: cerca
|
70
|
+
or: o
|
132
71
|
search:
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
search_constraints_header: 'Buscar'
|
139
|
-
search_results: 'Resultados de la búsqueda'
|
140
|
-
errors:
|
141
|
-
invalid_solr_id: "Lo sentimos, usted ha solicitado un registro que no existe."
|
142
|
-
per_page:
|
143
|
-
label: '%{count}<span class="sr-only visually-hidden"> por página</span>'
|
144
|
-
button_label: '%{count} por página' # TODO: Remove during major release
|
145
|
-
button_label_html: '%{count}<span class="d-none d-sm-inline"> por página</span>'
|
146
|
-
title: 'El número de resultados a mostrar por página'
|
147
|
-
submit: 'Actualización'
|
148
|
-
aria_label: 'Navegación de resultados'
|
149
|
-
sort:
|
150
|
-
label: 'Ordenar por %{field}' # TODO: Remove during major release
|
151
|
-
label_html: 'Ordenar<span class="d-none d-sm-inline"> por %{field}</span>'
|
152
|
-
submit: 'Resultados de ordenación'
|
153
|
-
form:
|
154
|
-
search_field:
|
155
|
-
label: 'Buscar en'
|
156
|
-
title: 'Opciones de Búsqueda temática'
|
157
|
-
post_label: 'para'
|
158
|
-
search:
|
159
|
-
label: 'buscar'
|
160
|
-
placeholder: 'Buscar...'
|
161
|
-
submit: 'Buscar'
|
162
|
-
pagination:
|
163
|
-
title: 'Resultados de navegación'
|
164
|
-
pagination_info:
|
165
|
-
no_items_found: 'No %{entry_name} encontrada'
|
166
|
-
single_item_found: '<strong>1</strong> %{entry_name} encontrada'
|
167
|
-
pages:
|
168
|
-
one: '<strong>%{start_num}</strong> - <strong>%{end_num}</strong> de <strong>%{total_num}</strong>'
|
169
|
-
other: '<strong>%{start_num}</strong> - <strong>%{end_num}</strong> de <strong>%{total_num}</strong>'
|
170
|
-
entry_pagination_info:
|
171
|
-
one: '<strong>1 de 1</strong>'
|
172
|
-
other: '<strong>%{current}</strong> de <strong>%{total}</strong>'
|
72
|
+
atom_feed: Atom de los resultados
|
73
|
+
bookmarks:
|
74
|
+
absent: Favoritos
|
75
|
+
inprogress: Guardando...
|
76
|
+
present: En Favoritos
|
173
77
|
documents:
|
174
78
|
aria:
|
175
|
-
|
176
|
-
|
177
|
-
counter:
|
79
|
+
limit_search: Limite su búsqueda
|
80
|
+
search_results: Resultados de la búsqueda
|
81
|
+
counter: "%{counter}."
|
82
|
+
entry_pagination_info:
|
83
|
+
one: "<strong>1 de 1</strong>"
|
84
|
+
other: "<strong>%{current}</strong> de <strong>%{total}</strong>"
|
85
|
+
errors:
|
86
|
+
invalid_solr_id: Lo sentimos, usted ha solicitado un registro que no existe.
|
178
87
|
facets:
|
179
|
-
|
180
|
-
clear:
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
remove: '[borrar]'
|
189
|
-
missing: '[Falta]'
|
88
|
+
all: Todos
|
89
|
+
clear: Borrar
|
90
|
+
count: "%{number}"
|
91
|
+
group:
|
92
|
+
close: Ocultar facetas
|
93
|
+
open: Mostrar facetas
|
94
|
+
toggle: más »
|
95
|
+
missing: "[Falta]"
|
96
|
+
more_html: más <span class="sr-only visually-hidden">%{field_name}</span> »
|
190
97
|
pivot:
|
191
|
-
show: Abierto
|
192
98
|
hide: Cerrar
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
99
|
+
show: Abierto
|
100
|
+
selected:
|
101
|
+
remove: "[borrar]"
|
102
|
+
sort:
|
103
|
+
count: Ordenación numérica
|
104
|
+
index: Ordenación A-Z
|
105
|
+
title: Limite su búsqueda
|
197
106
|
filters:
|
198
|
-
|
199
|
-
label: '%{label}:'
|
107
|
+
label: "%{label}:"
|
200
108
|
remove:
|
201
|
-
value: 'Eliminar la restricción %{value}'
|
202
109
|
label_value: 'Eliminar la restricción%{label}: %{value}'
|
203
|
-
|
110
|
+
value: Eliminar la restricción %{value}
|
111
|
+
title: 'Usted ha buscado:'
|
112
|
+
form:
|
113
|
+
search:
|
114
|
+
label: buscar
|
115
|
+
placeholder: Buscar...
|
116
|
+
search_field:
|
117
|
+
label: Buscar en
|
118
|
+
post_label: para
|
119
|
+
title: Opciones de Búsqueda temática
|
120
|
+
submit: Buscar
|
121
|
+
group:
|
122
|
+
more: más »
|
123
|
+
header: Buscar
|
204
124
|
index:
|
205
|
-
label:
|
125
|
+
label: "%{label}:"
|
126
|
+
page_title:
|
127
|
+
constraint: "%{label}: %{value}"
|
128
|
+
many_constraint_values: "%{values} seleccionado"
|
129
|
+
title: "%{constraints} - %{application_name} Resultados de la búsqueda"
|
130
|
+
pagination:
|
131
|
+
title: Resultados de navegación
|
132
|
+
pagination_info:
|
133
|
+
no_items_found: No %{entry_name} encontrada
|
134
|
+
pages:
|
135
|
+
one: "<strong>%{start_num}</strong> - <strong>%{end_num}</strong> de <strong>%{total_num}</strong>"
|
136
|
+
other: "<strong>%{start_num}</strong> - <strong>%{end_num}</strong> de <strong>%{total_num}</strong>"
|
137
|
+
single_item_found: "<strong>1</strong> %{entry_name} encontrada"
|
138
|
+
per_page:
|
139
|
+
aria_label: Navegación de resultados
|
140
|
+
button_label: "%{count} por página"
|
141
|
+
button_label_html: '%{count}<span class="d-none d-sm-inline"> por página</span>'
|
142
|
+
label: '%{count}<span class="sr-only visually-hidden"> por página</span>'
|
143
|
+
submit: Actualización
|
144
|
+
title: El número de resultados a mostrar por página
|
145
|
+
rss_feed: RSS de los resultados
|
146
|
+
search_constraints_header: Buscar
|
147
|
+
search_results: Resultados de la búsqueda
|
206
148
|
show:
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
inprogress: "Guardando..."
|
215
|
-
zero_results:
|
216
|
-
title: "No se han encontrado resultados para su búsqueda"
|
217
|
-
modify_search: "Intente modificar su búsqueda"
|
218
|
-
use_fewer_keywords: "Use menos palabras para empezar, y luego refinar la búsqueda utilizando los enlaces de la izquierda."
|
219
|
-
search_fields: "Usted busco por %{search_fields}"
|
220
|
-
search_everything: "Pruebe a buscar de todo"
|
221
|
-
view_title: "Ver Resultados por: "
|
149
|
+
label: "%{label}:"
|
150
|
+
title: "%{document_title} - %{application_name}"
|
151
|
+
sort:
|
152
|
+
label: Ordenar por %{field}
|
153
|
+
label_html: Ordenar<span class="d-none d-sm-inline"> por %{field}</span>
|
154
|
+
submit: Resultados de ordenación
|
155
|
+
start_over: Volver a empezar
|
222
156
|
view:
|
223
|
-
list:
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
157
|
+
list: Lista
|
158
|
+
view_title: 'Ver Resultados por: '
|
159
|
+
zero_results:
|
160
|
+
modify_search: Intente modificar su búsqueda
|
161
|
+
search_everything: Pruebe a buscar de todo
|
162
|
+
search_fields: Usted busco por %{search_fields}
|
163
|
+
title: No se han encontrado resultados para su búsqueda
|
164
|
+
use_fewer_keywords: Use menos palabras para empezar, y luego refinar la búsqueda utilizando los enlaces de la izquierda.
|
165
|
+
search_history:
|
166
|
+
clear:
|
167
|
+
action_confirm: "¿Borrar el historial de búsqueda?"
|
168
|
+
action_title: Borrar historial de búsqueda
|
169
|
+
failure: Hubo un problema al borrar su historial de búsqueda.
|
170
|
+
success: Se borro el historial de búsqueda.
|
171
|
+
forget: Olvidar
|
172
|
+
no_history: Usted no tiene historial de búsqueda
|
173
|
+
page_title: Historia - %{application_name}
|
174
|
+
recent: Sus búsquedas recientes
|
175
|
+
save: Guardar
|
176
|
+
title: Historia
|
177
|
+
skip_links:
|
178
|
+
first_result: Salta al primer resultado de búsqueda
|
179
|
+
label: Saltar enlaces
|
180
|
+
main_content: Saltar al contenido principal
|
181
|
+
search_field: Salta a la búsqueda
|
182
|
+
sms:
|
183
|
+
errors:
|
184
|
+
carrier:
|
185
|
+
blank: Debe seleccionar compañía telefónica
|
186
|
+
invalid: Debe entrar una compañía telefónica válida
|
187
|
+
to:
|
188
|
+
blank: Debe introducir el número de teléfono del destinatario para enviar este mensaj
|
189
|
+
invalid: Debe entrar un número de teléfono válido de 10 dígitos
|
190
|
+
form:
|
191
|
+
carrier: Compañía telefónica
|
192
|
+
carrier_prompt: Por favor, seleccione su compañía telefónica
|
193
|
+
submit: Enviar
|
194
|
+
title: Enviar SMS
|
195
|
+
to: 'Número de teléfono:'
|
196
|
+
success: SMS enviado
|
197
|
+
text:
|
198
|
+
url: 'Link: %{url}'
|
199
|
+
tools:
|
200
|
+
citation: Cité
|
201
|
+
clear: Borrar
|
202
|
+
email: Correo electrónico
|
203
|
+
sms: Enviar SMS
|
204
|
+
title: Herramientas
|
205
|
+
welcome: "¡Bienvenido!"
|
206
|
+
views:
|
207
|
+
pagination:
|
235
208
|
aria:
|
236
|
-
|
209
|
+
container_label: enlaces de paginación
|
210
|
+
current_page: Página actual, página %{page}
|
211
|
+
go_to_first_page: Ir a la primera pagina
|
212
|
+
go_to_last_page: Ir a la última página
|
213
|
+
go_to_next_page: Ir a la página siguiente
|
214
|
+
go_to_page: Ir a la página %{page}
|
215
|
+
go_to_previous_page: Regresar a la pagina anterior
|
216
|
+
first: "« Primero"
|
217
|
+
last: Ultimo »
|
218
|
+
next: Siguiente »
|
219
|
+
previous: "« Anterior"
|
220
|
+
truncate: "…"
|
221
|
+
pagination_compact:
|
222
|
+
next: Siguiente »
|
223
|
+
previous: "« Anterior"
|