mirror of https://github.com/lukechilds/damus.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
276 B
8 lines
276 B
#!/bin/zsh
|
|
|
|
if [ -z "$*" ]; then
|
|
echo "Usage: ./devtools/import-translation.sh <locale_code_in_snake_case>"
|
|
return
|
|
fi
|
|
|
|
find "translations" -name "${1}.xliff" | grep -v "en-US.xliff" | xargs -I % xcodebuild -importLocalizations -project damus.xcodeproj -localizationPath %
|
|
|