mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-03-16 22:10:31 +00:00
parent
785133b6ac
commit
a1106d1fe1
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ build_localized_verbose_name = lazy(_build_localized_verbose_name, str)
|
|||
|
||||
|
||||
def _join_css_class(bits: list[str], offset: int) -> str:
|
||||
if "-".join(bits[-offset:]) in settings.AVAILABLE_LANGUAGES + ["en-us"]:
|
||||
if "-".join(bits[-offset:]) in settings.AVAILABLE_LANGUAGES + ["en-us", "ind"]:
|
||||
return "%s-%s" % ("_".join(bits[: len(bits) - offset]), "_".join(bits[-offset:]))
|
||||
return ""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue