Use he as language code for Hebrew (#5129)

This commit is contained in:
Tobias Kunze
2025-05-21 12:42:51 +02:00
committed by GitHub
parent 0bbb136d67
commit d49141c05d
2 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ LANGUAGES_OFFICIAL = {
}
LANGUAGES_RTL = {
# When adding more right-to-left languages, also update pretix/static/pretixbase/scss/_rtl.scss
'ar', 'hw'
'ar', 'he'
}
LANGUAGES_INCUBATING = {
'pt-br', 'gl',

View File

@@ -49,7 +49,7 @@ html.rtl {
}
input[lang=ar], textarea[lang=ar], div[lang=ar], pre[lang=ar],
input[lang=hw], textarea[lang=hw], div[lang=hw], pre[lang=hw] {
input[lang=he], textarea[lang=he], div[lang=he], pre[lang=he] {
/* Keep list of languages in sync with pretix._base_settings.LANGUAGES_RTL */
direction: rtl;
}
}