forked from mirrors/bookwyrm
Adds language customization to preferences
This commit is contained in:
parent
ba5ec878fa
commit
c0af69045c
2 changed files with 7 additions and 0 deletions
|
@ -144,6 +144,7 @@ class EditUserForm(CustomForm):
|
||||||
"default_post_privacy",
|
"default_post_privacy",
|
||||||
"discoverable",
|
"discoverable",
|
||||||
"preferred_timezone",
|
"preferred_timezone",
|
||||||
|
"preferred_language",
|
||||||
]
|
]
|
||||||
help_texts = {f: None for f in fields}
|
help_texts = {f: None for f in fields}
|
||||||
|
|
||||||
|
|
|
@ -91,6 +91,12 @@
|
||||||
{{ form.preferred_timezone }}
|
{{ form.preferred_timezone }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<label class="label" for="id_preferred_language">{% trans "Language:" %}</label>
|
||||||
|
<div class="select">
|
||||||
|
{{ form.preferred_language }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue