mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 23:16:21 +00:00
fix: search placeholder in index.haml view #13095
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
8f1c38b8fc
commit
6b9eead0ab
3 changed files with 6 additions and 3 deletions
|
@ -49,7 +49,8 @@
|
||||||
- next if param == 'q'
|
- next if param == 'q'
|
||||||
%input{ type: 'hidden', name: param, value: value }
|
%input{ type: 'hidden', name: param, value: value }
|
||||||
.form-group.flex-grow-0.m-0
|
.form-group.flex-grow-0.m-0
|
||||||
%input.form-control.border.border-magenta{ type: 'search', placeholder: 'Buscar', name: 'q', value: @filter_params[:q] }
|
.label.sr-only t('.search')
|
||||||
|
%input.form-control.border.border-magenta{ type: 'search', placeholder: t('.search'), name: 'q', value: @filter_params[:q] }
|
||||||
%input.sr-only{ type: 'submit' }
|
%input.sr-only{ type: 'submit' }
|
||||||
|
|
||||||
- if @site.locales.size > 1
|
- if @site.locales.size > 1
|
||||||
|
|
|
@ -544,7 +544,8 @@ en:
|
||||||
remove_filter: 'Back'
|
remove_filter: 'Back'
|
||||||
remove_filter_help: 'Remove the filter: %{filter}'
|
remove_filter_help: 'Remove the filter: %{filter}'
|
||||||
categories: 'Everything'
|
categories: 'Everything'
|
||||||
index: 'Posts'
|
index:
|
||||||
|
search: 'search'
|
||||||
edit: 'Edit'
|
edit: 'Edit'
|
||||||
preview:
|
preview:
|
||||||
btn: 'Preliminary version'
|
btn: 'Preliminary version'
|
||||||
|
|
|
@ -552,7 +552,8 @@ es:
|
||||||
filter: 'Filtrar'
|
filter: 'Filtrar'
|
||||||
remove_filter: 'Volver'
|
remove_filter: 'Volver'
|
||||||
remove_filter_help: 'Quitar este filtro: %{filter}'
|
remove_filter_help: 'Quitar este filtro: %{filter}'
|
||||||
index: 'Artículos'
|
index:
|
||||||
|
search: 'buscar'
|
||||||
edit: 'Editar'
|
edit: 'Editar'
|
||||||
preview:
|
preview:
|
||||||
btn: 'Versión preliminar'
|
btn: 'Versión preliminar'
|
||||||
|
|
Loading…
Reference in a new issue