5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 04:36:20 +00:00

Merge branch 'issue-12970' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-04-06 15:10:15 -03:00
commit 7c61451531
3 changed files with 7 additions and 3 deletions

View file

@ -26,4 +26,4 @@
- params.permit! - params.permit!
- I18n.available_locales.each do |locale| - I18n.available_locales.each do |locale|
- next if locale == I18n.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 en: English
es: Castellano es: Castellano
es-AR: Castellano rioplatense es-AR: Castellano rioplatense
switch_locale:
es: "Cambiar a castellano"
locales: locales:
es: es:
name: Castillian Spanish name: Castillian Spanish

View file

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