mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
759 B
Bash
19 lines
759 B
Bash
#!/usr/bin/env bash
|
|
set -x
|
|
BIN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd $BIN_DIR/..
|
|
|
|
# Pull all translations which are at least 80% complete
|
|
tx pull -a --minimum-perc=80
|
|
|
|
# Legacy hack: pull *any existing* translations regardless of their completion.
|
|
# Once supported, we don't want to drop any translations.
|
|
tx pull --force
|
|
|
|
# Get and build iStringsCheck from https://github.com/FredericJacobs/iStringsCheck
|
|
# This does some checks to make sure all strings are present and that interpolated strings have the right number of arguments
|
|
../../../iStringsCheck/target/debug/iStringsCheck en.lproj/Localizable.strings .
|
|
|
|
echo "Make sure you register any new localizations in XCode! (Go to Project > Signal > Localizations > Add Localizations)"
|