summaryrefslogtreecommitdiff
path: root/main/src/ui/res
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2021-10-13 03:33:28 +0200
committerArne Schwabe <arne@rfc2549.org>2021-10-13 03:34:30 +0200
commitd54b7f0a3528307f4218412037b017f37d924b00 (patch)
tree7d781298502eb2adc437d591dd9e28ef4fb13a71 /main/src/ui/res
parentcbb44807587e7e51acd3813099059a94448a6de4 (diff)
Make a toggle to allow community translation (closes #681)
Since it is hard for me to check languages other than the ones that I speak myself, languages other than English/German default to off. This might change if I have someone trusted to review other languages.
Diffstat (limited to 'main/src/ui/res')
-rw-r--r--main/src/ui/res/xml/general_settings.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/src/ui/res/xml/general_settings.xml b/main/src/ui/res/xml/general_settings.xml
index 5c2ff8aa..dcaafde2 100644
--- a/main/src/ui/res/xml/general_settings.xml
+++ b/main/src/ui/res/xml/general_settings.xml
@@ -13,6 +13,13 @@
android:summary="@string/show_log_summary"
android:title="@string/show_log_window"/>
+ <CheckBoxPreference
+ android:defaultValue="@bool/allowTranslationDefault"
+ android:key="allow_translation"
+ android:title="@string/allow_translations_title"
+ android:summary="@string/allow_translatiosn_summary"
+ />
+
<CheckBoxPreference
android:defaultValue="false"