Fix translations

This commit is contained in:
BlockMen 2015-11-27 21:10:37 +01:00
parent 5d9e358e56
commit 8c08c8fb44
2 changed files with 2 additions and 3 deletions

View File

@ -766,7 +766,7 @@ if (USE_GETTEXT)
set(MO_FILES) set(MO_FILES)
foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES}) foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})
set(PO_FILE_PATH "${GETTEXT_PO_PATH}/${LOCALE}/${PROJECT_NAME}.po") set(PO_FILE_PATH "${GETTEXT_PO_PATH}/${LOCALE}/minetest.po")
set_mo_paths(MO_BUILD_PATH MO_DEST_PATH ${LOCALE}) set_mo_paths(MO_BUILD_PATH MO_DEST_PATH ${LOCALE})
set(MO_FILE_PATH "${MO_BUILD_PATH}/${PROJECT_NAME}.mo") set(MO_FILE_PATH "${MO_BUILD_PATH}/${PROJECT_NAME}.mo")

View File

@ -13,7 +13,7 @@ if [[ $PLATFORM == "Linux" ]]; then
cmake $CMAKE_FLAGS .. cmake $CMAKE_FLAGS ..
make -j2 make -j2
echo "Running unit tests." echo "Running unit tests."
../bin/minetest --run-unittests && exit 0 ../bin/blockplanet --run-unittests && exit 0
elif [[ $PLATFORM == Win* ]]; then elif [[ $PLATFORM == Win* ]]; then
[[ $CC == "clang" ]] && exit 1 # Not supposed to happen [[ $CC == "clang" ]] && exit 1 # Not supposed to happen
# We need to have our build directory outside of the minetest directory because # We need to have our build directory outside of the minetest directory because
@ -39,4 +39,3 @@ else
echo "Unknown platform \"${PLATFORM}\"." echo "Unknown platform \"${PLATFORM}\"."
exit 1 exit 1
fi fi