From 02b932111131ba5d1ea8494707d74a235ee9bfac Mon Sep 17 00:00:00 2001
From: mueller-ma <mueller-ma@users.noreply.github.com>
Date: Sun, 2 Jun 2019 16:33:25 +0200
Subject: [PATCH] Update App Store description (#1350)

* Anti feature has been removed in F-Droid: https://gitlab.com/fdroid/fdroiddata/merge_requests/4704
* The "empty point" causes a lot of issues with translating it.

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
---
 assets/store_descriptions/en-US/strings.xml        |  3 ---
 assets/store_descriptions/generate_and_validate.py | 11 ++---------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/assets/store_descriptions/en-US/strings.xml b/assets/store_descriptions/en-US/strings.xml
index e3fc457a..06429f9d 100644
--- a/assets/store_descriptions/en-US/strings.xml
+++ b/assets/store_descriptions/en-US/strings.xml
@@ -13,7 +13,6 @@
     <security>• Security: ZoneMinder, DSC, ...</security>
     <open_protocols>• Open Protocols: HTTP, TCP/UDP, MQTT, Serial, ...</open_protocols>
     <special_useCases>• Special UseCases: Minecraft, Tesla Car, Weather Services, ...</special_useCases>
-    <empty_point>• ...</empty_point>
 
     <oss_community>Open Source Community</oss_community>
     <forum>The openHAB open source initiative strongly supports its vibrant community. The forum with over 13,000 registered users is a place to find guidance, help and inspiration. Join the openHAB community forum over at https://community.openhab.org</forum>
@@ -28,8 +27,6 @@
     <fdroid>The builds on F-Droid have FCM and crash reporting removed and will not be able to receive push notifications from openHAB Cloud.</fdroid>
     <fdroid_beta><![CDATA[You can install the beta version alongside the <a href="https://f-droid.org/packages/org.openhab.habdroid/">stable version</a>.]]></fdroid_beta>
     <fdroid_privacy_policy>Privacy policy: https://www.openhabfoundation.org/privacy.html</fdroid_privacy_policy>
-    <fdroid_anti_features>Anti Features</fdroid_anti_features>
-    <fdroid_anti_features_text>The app is flagged with the "NonFreeAsset" flag, because the openHAB icon is not under a free license.</fdroid_anti_features_text>
     <beta>Try out new features and give early feedback!</beta>
     <play_beta>You can install the beta version alongside the stable version.</play_beta>
 </strings>
diff --git a/assets/store_descriptions/generate_and_validate.py b/assets/store_descriptions/generate_and_validate.py
index 0a9e24ac..03939cd4 100755
--- a/assets/store_descriptions/generate_and_validate.py
+++ b/assets/store_descriptions/generate_and_validate.py
@@ -57,8 +57,7 @@ for file in appStoreStringsFiles:
     fullDescription += getString('home_entertainment') + "\n"
     fullDescription += getString('security') + "\n"
     fullDescription += getString('open_protocols') + "\n"
-    fullDescription += getString('special_useCases') + "\n"
-    fullDescription += getString('empty_point') + "\n\n"
+    fullDescription += getString('special_useCases') + "\n\n"
     fullDescription += "<b>" + getString('oss_community') + "</b>\n\n"
     fullDescription += getString('forum') + "\n"
     fullDescription += getString('report_issues') + "\n"
@@ -66,15 +65,9 @@ for file in appStoreStringsFiles:
     fullDescription += "<b>" + getString('foundation') + "</b>\n\n"
     fullDescription += getString('about_foundation') + "\n"
     if "fdroid" in sys.argv[1]:
-        fullDescription += "\n<b>" + getString('fdroid_anti_features') + "</b>\n\n"
-        fullDescription += getString('fdroid_anti_features_text') + "\n\n\n"
-        fullDescription += getString('fdroid_privacy_policy')
+        fullDescription += "\n\n" + getString('fdroid_privacy_policy')
 
     # Validate full description
-    if getString('empty_point') != "• ..." and getString('empty_point') != "... •":
-        print("'empty_point' of " + lang + " is incorrect")
-        exitCode += 1
-
     openhabOccurences = [m.start() for m in re.finditer("openhab", fullDescription, re.I)]
     for i in openhabOccurences:
         openhabString = fullDescription[i:i+7]
-- 
GitLab