Fix ios localization script
This commit is contained in:
parent
a0a281e725
commit
a22fa37ab0
|
|
@ -2,13 +2,13 @@ LOCALIZATION_PATH="${PROJECT_NAME}/Resources/Localization"
|
||||||
STRINGS_FOLDER="common/strings"
|
STRINGS_FOLDER="common/strings"
|
||||||
|
|
||||||
if ! [ -e ${LOCALIZATION_PATH} ]; then
|
if ! [ -e ${LOCALIZATION_PATH} ]; then
|
||||||
echo "${PROJECT_DIR}/${LOCALIZATION_PATH} path does not exist. Add these folders and try again."
|
echo "${PROJECT_DIR}/${LOCALIZATION_PATH} path does not exist. Add these folders and try again."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -e "${PROJECT_DIR}/${STRINGS_FOLDER}" ]; then
|
if ! [ -e "${PROJECT_DIR}/${STRINGS_FOLDER}" ]; then
|
||||||
echo "${PROJECT_DIR}/${STRINGS_FOLDER} path does not exist. Submodule with strings should be named common and contain strings folder."
|
echo "${PROJECT_DIR}/${STRINGS_FOLDER} path does not exist. Submodule with strings should be named common and contain strings folder."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
php build-scripts/xcode/aux_scripts/import_strings.php ${PROJECT_NAME} ${STRINGS_FOLDER}
|
php build-scripts/xcode/aux_scripts/import_strings.php ${PROJECT_NAME} ${STRINGS_FOLDER}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue