From c0af69045c2020701cea2455ef54728543a61edf Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 6 Oct 2021 12:20:05 -0700 Subject: [PATCH] Adds language customization to preferences --- bookwyrm/forms.py | 1 + bookwyrm/templates/preferences/edit_user.html | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/bookwyrm/forms.py b/bookwyrm/forms.py index 5acde9ea..c112186a 100644 --- a/bookwyrm/forms.py +++ b/bookwyrm/forms.py @@ -144,6 +144,7 @@ class EditUserForm(CustomForm): "default_post_privacy", "discoverable", "preferred_timezone", + "preferred_language", ] help_texts = {f: None for f in fields} diff --git a/bookwyrm/templates/preferences/edit_user.html b/bookwyrm/templates/preferences/edit_user.html index f3cabbc7..72c49dbe 100644 --- a/bookwyrm/templates/preferences/edit_user.html +++ b/bookwyrm/templates/preferences/edit_user.html @@ -91,6 +91,12 @@ {{ form.preferred_timezone }} +
+ +
+ {{ form.preferred_language }} +
+