mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-22 07:39:53 +01:00
Update Play Store listing and add Catalan translation
This commit is contained in:
18
briar-android/fastlane/update-metadata.sh
Executable file
18
briar-android/fastlane/update-metadata.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
tx pull -a -r briar.google-play-full-description,briar.google-play-short-description
|
||||
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
||||
|
||||
for LANG_DIR in "$DIR"/metadata/android/*; do
|
||||
if [[ "$LANG_DIR" == *en-US ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ -f "$LANG_DIR/full_description.txt" ]] && [[ -f "$LANG_DIR/short_description.txt" ]]; then
|
||||
# every language uses the same app title
|
||||
cp "$DIR/metadata/android/en-US/title.txt" "$LANG_DIR/title.txt"
|
||||
echo "$LANG_DIR"
|
||||
else
|
||||
# not complete, remove
|
||||
rm -r "$LANG_DIR"
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user