mirror of https://github.com/lukechilds/damus.git
Terry Yiu
2 years ago
committed by
William Casarin
18 changed files with 47 additions and 1259 deletions
File diff suppressed because it is too large
@ -0,0 +1,3 @@ |
|||
#!/bin/zsh |
|||
|
|||
xcodebuild -exportLocalizations -project damus.xcodeproj -localizationPath "translations" -exportLanguage en-US |
@ -0,0 +1,8 @@ |
|||
#!/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 % |
Loading…
Reference in new issue