Add localization files check

This commit is contained in:
Vlad 2020-09-14 22:07:30 +03:00
parent bc240b7886
commit 3546f980fd
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
SOURCES_DIR=${1:-${TARGET_NAME}} # first argument or TARGET_NAME
if [ "${CONFIGURATION}" = "DEBUG" ]; then
${SOURCES_DIR}/build-scripts/xcode/build_phases/common/localization_check -master ${SOURCES_DIR}/Resources/Base.lproj/Localizable.strings -warning-level warning
else
${SOURCES_DIR}/build-scripts/xcode/build_phases/common/localization_check -master ${SOURCES_DIR}/Resources/Base.lproj/Localizable.strings
fi