From d54b7f0a3528307f4218412037b017f37d924b00 Mon Sep 17 00:00:00 2001
From: Arne Schwabe <arne@rfc2549.org>
Date: Wed, 13 Oct 2021 03:33:28 +0200
Subject: 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.
---
 main/src/ui/res/xml/general_settings.xml | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'main/src/ui/res/xml')

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"
-- 
cgit v1.2.3