Merge pull request #2099 from umap-project/register-fa-ir

fix: register fa-ir in LANG_INFO
This commit is contained in:
Yohan Boniface 2024-09-04 15:46:44 +02:00 committed by GitHub
commit 1d7ad0b4d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -51,6 +51,12 @@ LANG_INFO.update(
"name": "Malay",
"name_local": "Bahasa Melayu",
},
"fa-ir": {
"bidi": True,
"code": "fa-ir",
"name": "Persian (Iran)",
"name_local": "فارسی",
},
}
)
# Local time zone for this installation. Choices can be found here:

View file

@ -14,7 +14,7 @@
{% for language in languages %}
<option value="{{ language.code }}"
{% if language.code == LANGUAGE_CODE %}selected="selected"{% endif %}>
{{ language.name_local }}
{{ language.name_local }} ({{ language.code }})
</option>
{% endfor %}
</select>