1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-21 05:48:40 +01:00
mastodon-app-ufficiale-ipho.../Localization/StringsConvertor/scripts/build.sh

33 lines
587 B
Bash
Raw Normal View History

2021-02-22 09:20:23 +01:00
#!/bin/zsh
set -ev
# Crowin_Latest_Build="https://crowdin.com/backend/download/project/<TBD>.zip"
if [[ -d input ]]; then
rm -rf input
fi
if [[ -d output ]]; then
rm -rf output
fi
mkdir output
# FIXME: temporary use local json for i18n
# replace by the Crowdin remote template later
mkdir -p input/en_US
cp ../app.json ./input/en_US
cp ../ios-infoPlist.json ./input/en_US
2021-05-13 08:46:40 +02:00
mkdir -p input/ar_SA
cp ../app.json ./input/ar_SA
cp ../ios-infoPlist.json ./input/ar_SA
2021-02-22 09:20:23 +01:00
# curl -o <TBD>.zip -L ${Crowin_Latest_Build}
# unzip -o -q <TBD>.zip -d input
# rm -rf <TBD>.zip
swift run