1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-01-05 13:27:36 +01:00
mastodon-app-ufficiale-ipho.../update_localization.sh
CMK e4c38c70e2
Release v1.4.1 (#427)
* feat: use bundler to install Ruby Gems instead of installing them system-wide using root

* chore: install bundler without sudo

* Improve tab bar icon vertical alignment

* feat: update tabBar UI

* chore: update version to 1.4.1 (122)

* chore: fix accessibility large content label text missing issue

* chore: update version to 1.4.1 (123)

* chore: update navigation bar button item assets

* fix: compose tabBar button layout raise crash on iPad issue

* chore: update version to 1.4.1 (124)

* chore: suppress warnings

* feat: add navigation pan pop gesture. resolve #407 #419

* chore: update version to 1.4.1 (125)

* fix: profile bio line break get trimmed issue. resolve #311

* chore: update version to 1.4.1 (126)

Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
Co-authored-by: vollkorntomate <thomas.voelkl@outlook.de>
2022-05-09 05:28:35 +02:00

30 lines
806 B
Bash
Executable File

#!/bin/zsh
set -ev
SRCROOT=`pwd`
PODS_ROOT='Pods'
echo ${SRCROOT}
# task 1 generate strings file
cd ${SRCROOT}/Localization/StringsConvertor
sh ./scripts/build.sh
# task 2 copy strings file
cp -R ${SRCROOT}/Localization/StringsConvertor/output/module/ ${SRCROOT}/MastodonSDK/Sources/MastodonLocalization/Resources
cp -R ${SRCROOT}/Localization/StringsConvertor/Intents/output/ ${SRCROOT}/MastodonIntent
# task 3 swiftgen
cd ${SRCROOT}
echo "${PODS_ROOT}/SwiftGen/bin/swiftgen"
if [[ -f "${PODS_ROOT}/SwiftGen/bin/swiftgen" ]] then
"${PODS_ROOT}/SwiftGen/bin/swiftgen"
else
echo "Run 'bundle exec pod install' or update your CocoaPods installation."
fi
#task 4 clean temp file
rm -rf ${SRCROOT}/Localization/StringsConvertor/output
rm -rf ${SRCROOT}/Localization/StringsConvertor/intents/output