Merge pull request #225 from TouchInstinct/feature/local_check

Add localization files check
This commit is contained in:
Loupehope 2020-09-15 11:16:29 +03:00 committed by GitHub
commit 57a8c2f9db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,9 @@
# source: https://github.com/iKenndac/verify-string-files
# first argument set base localization strings path
readonly LOCALIZATION_PATH=${1:-${PRODUCT_NAME}/Resources/Localization/Base.lproj/Localizable.strings}
# second argument set check script path
readonly CHECK_SCRIPT=${2:-${PROJECT_DIR}/build-scripts/xcode/build_phases/common/localization_check}
${CHECK_SCRIPT} -master ${LOCALIZATION_PATH}