5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 03:41:42 +00:00

Merge branch 'issue-13095' into 'rails'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

fix: Traducir el placeholder del buscador #13095

See merge request sutty/sutty!167
This commit is contained in:
fauno 2023-04-19 13:53:48 +00:00
commit b49f7e48ef
3 changed files with 6 additions and 3 deletions

View file

@ -49,7 +49,8 @@
- next if param == 'q'
%input{ type: 'hidden', name: param, value: value }
.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{for: 'q'}= t('.search')
%input#q.form-control.border.border-magenta{ type: 'search', placeholder: t('.search'), name: 'q', value: @filter_params[:q] }
%input.sr-only{ type: 'submit' }
- if @site.locales.size > 1

View file

@ -544,7 +544,8 @@ en:
remove_filter: 'Back'
remove_filter_help: 'Remove the filter: %{filter}'
categories: 'Everything'
index: 'Posts'
index:
search: 'Search'
edit: 'Edit'
preview:
btn: 'Preliminary version'

View file

@ -552,7 +552,8 @@ es:
filter: 'Filtrar'
remove_filter: 'Volver'
remove_filter_help: 'Quitar este filtro: %{filter}'
index: 'Artículos'
index:
search: 'Buscar'
edit: 'Editar'
preview:
btn: 'Versión preliminar'