Adds language customization to preferences

This commit is contained in:
Mouse Reeve 2021-10-06 12:20:05 -07:00
parent ba5ec878fa
commit c0af69045c
2 changed files with 7 additions and 0 deletions

View file

@ -144,6 +144,7 @@ class EditUserForm(CustomForm):
"default_post_privacy",
"discoverable",
"preferred_timezone",
"preferred_language",
]
help_texts = {f: None for f in fields}

View file

@ -91,6 +91,12 @@
{{ form.preferred_timezone }}
</div>
</div>
<div class="field">
<label class="label" for="id_preferred_language">{% trans "Language:" %}</label>
<div class="select">
{{ form.preferred_language }}
</div>
</div>
</div>
</section>