We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 785133b commit a1106d1Copy full SHA for a1106d1
modeltranslation/utils.py
@@ -80,7 +80,7 @@ def _build_localized_verbose_name(verbose_name: Any, lang: str) -> str:
80
81
82
def _join_css_class(bits: list[str], offset: int) -> str:
83
- if "-".join(bits[-offset:]) in settings.AVAILABLE_LANGUAGES + ["en-us"]:
+ if "-".join(bits[-offset:]) in settings.AVAILABLE_LANGUAGES + ["en-us", "ind"]:
84
return "%s-%s" % ("_".join(bits[: len(bits) - offset]), "_".join(bits[-offset:]))
85
return ""
86
0 commit comments