mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 04:16:22 +00:00
Merge branch 'issue-12970' into panel.sutty.nl
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:
commit
7c61451531
3 changed files with 7 additions and 3 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue