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

Merge branch 'issue-12970' into 'rails'

fix: indicar qué acción vamos a hacer #12970

See merge request sutty/sutty!145
This commit is contained in:
fauno 2023-05-13 14:46:08 +00:00
commit 7ca586abae
3 changed files with 7 additions and 3 deletions

View file

@ -30,4 +30,4 @@
- params.permit!
- I18n.available_locales.each do |locale|
- next if locale == I18n.locale
= link_to t(locale), params.to_h.merge(change_locale_to: locale)
= link_to t("switch_locale.#{locale}"), params.to_h.merge(change_locale_to: locale)

View file

@ -3,6 +3,8 @@ en:
en: English
es: Castellano
es-AR: Castellano rioplatense
switch_locale:
es: "Cambiar a castellano"
locales:
es:
name: Castillian Spanish

View file

@ -3,6 +3,8 @@ es:
en: English
es-AR: Castellano Rioplatense
dir: ltr
switch_locale:
en: "Switch to English"
locales:
es:
name: Castellano