From 2b3ba42d70a8a7f5df96b5654bafa71e4d0dc764 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Wed, 21 Apr 2021 12:12:40 -0300 Subject: [PATCH] Make Google Play descriptions translable --- briar-android/.gitignore | 4 +++- briar-android/.tx/config | 15 +++++++++++++++ briar-android/fastlane/Appfile | 2 +- briar-android/fastlane/Fastfile | 2 ++ .../metadata/android/en-US/full_description.txt | 1 + .../metadata/android/en-US/short_description.txt | 1 + .../fastlane/metadata/android/en-US/title.txt | 1 + .../fastlane/metadata/android/en-US/video.txt | 1 + 8 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 briar-android/fastlane/metadata/android/en-US/full_description.txt create mode 100644 briar-android/fastlane/metadata/android/en-US/short_description.txt create mode 100644 briar-android/fastlane/metadata/android/en-US/title.txt create mode 100644 briar-android/fastlane/metadata/android/en-US/video.txt diff --git a/briar-android/.gitignore b/briar-android/.gitignore index ab81bc92b..1e6092df9 100644 --- a/briar-android/.gitignore +++ b/briar-android/.gitignore @@ -10,4 +10,6 @@ src/main/res/values-iw /fastlane/metadata/android/screenshots.html /fastlane/metadata/android/*/images /fastlane/report.xml -/fastlane/README.md \ No newline at end of file +/fastlane/README.md + +/fastlane/metadata/android/*/changelogs \ No newline at end of file diff --git a/briar-android/.tx/config b/briar-android/.tx/config index eea53de45..7597fe1cc 100644 --- a/briar-android/.tx/config +++ b/briar-android/.tx/config @@ -9,3 +9,18 @@ source_lang = en type = ANDROID minimum_perc = 80 +[briar.google-play-short-description] +lang_map = de: de-DE +file_filter = fastlane/metadata/android//short_description.txt +source_file = fastlane/metadata/android/en-US/short_description.txt +source_lang = en_US +type = TXT +minimum_perc = 100 + +[briar.google-play-full-description] +lang_map = de: de-DE +file_filter = fastlane/metadata/android//full_description.txt +source_file = fastlane/metadata/android/en-US/full_description.txt +source_lang = en_US +type = TXT +minimum_perc = 100 diff --git a/briar-android/fastlane/Appfile b/briar-android/fastlane/Appfile index 05204c92c..449819331 100644 --- a/briar-android/fastlane/Appfile +++ b/briar-android/fastlane/Appfile @@ -1,2 +1,2 @@ -json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one +json_key_file(ENV["BRIAR_GOOGLE_PLAY_JSON_KEY_FILE"]) package_name("org.briarproject.briar.android") diff --git a/briar-android/fastlane/Fastfile b/briar-android/fastlane/Fastfile index 01035f6ec..f657cf05b 100644 --- a/briar-android/fastlane/Fastfile +++ b/briar-android/fastlane/Fastfile @@ -13,6 +13,8 @@ # Uncomment the line if you want fastlane to automatically update itself # update_fastlane +opt_out_usage + default_platform(:android) platform :android do diff --git a/briar-android/fastlane/metadata/android/en-US/full_description.txt b/briar-android/fastlane/metadata/android/en-US/full_description.txt new file mode 100644 index 000000000..28733e39e --- /dev/null +++ b/briar-android/fastlane/metadata/android/en-US/full_description.txt @@ -0,0 +1 @@ +Briar is a messaging app designed for activists, journalists, and anyone else who needs a safe, easy and robust way to communicate. Unlike traditional messaging apps, Briar doesn't rely on a central server - messages are synchronized directly between the users' devices. If the internet's down, Briar can sync via Bluetooth or Wi-Fi, keeping the information flowing in a crisis. If the internet's up, Briar can sync via the Tor network, protecting users and their relationships from surveillance. \ No newline at end of file diff --git a/briar-android/fastlane/metadata/android/en-US/short_description.txt b/briar-android/fastlane/metadata/android/en-US/short_description.txt new file mode 100644 index 000000000..036bfb48b --- /dev/null +++ b/briar-android/fastlane/metadata/android/en-US/short_description.txt @@ -0,0 +1 @@ +Secure messaging, anywhere. \ No newline at end of file diff --git a/briar-android/fastlane/metadata/android/en-US/title.txt b/briar-android/fastlane/metadata/android/en-US/title.txt new file mode 100644 index 000000000..1b95e9689 --- /dev/null +++ b/briar-android/fastlane/metadata/android/en-US/title.txt @@ -0,0 +1 @@ +Briar \ No newline at end of file diff --git a/briar-android/fastlane/metadata/android/en-US/video.txt b/briar-android/fastlane/metadata/android/en-US/video.txt new file mode 100644 index 000000000..9b1a92a05 --- /dev/null +++ b/briar-android/fastlane/metadata/android/en-US/video.txt @@ -0,0 +1 @@ +https://www.youtube.com/watch?v=ark7Y4u__SM \ No newline at end of file