Skip to content
Snippets Groups Projects
Unverified Commit 02b93211 authored by mueller-ma's avatar mueller-ma Committed by GitHub
Browse files

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: default avatarmueller-ma <mueller-ma@users.noreply.github.com>
parent b5a6a8fd
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment