mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-07 11:20:12 +00:00
* update dependencies
* revert keychain update
* Update dependencies & Fastlane
* set path agnostic for bash in scrips
* Fix open from push notification race
* patch react-native-localize
(cherry picked from commit b226d451f3)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
15 lines
503 B
Bash
Executable File
15 lines
503 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
mkdir -p tmp
|
|
cp assets/base/i18n/en.json tmp/en.json
|
|
mkdir -p tmp/fake-webapp-dir/i18n/
|
|
echo '{}' > tmp/fake-webapp-dir/i18n/en.json
|
|
|
|
npm run mmjstool -- i18n extract-mobile --webapp-dir tmp/fake-webapp-dir --mobile-dir .
|
|
diff tmp/en.json assets/base/i18n/en.json
|
|
# Address weblate behavior which does not remove whole translation item when translation string is set to empty
|
|
npm run mmjstool -- i18n clean-empty --webapp-dir tmp/fake-webapp-dir --mobile-dir . --check
|
|
|
|
rm -rf tmp
|
|
|