From 8c08c8fb44555ada9e3968fba805b9651c6be044 Mon Sep 17 00:00:00 2001 From: BlockMen Date: Fri, 27 Nov 2015 21:10:37 +0100 Subject: [PATCH] Fix translations --- src/CMakeLists.txt | 2 +- util/travis/script.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0da4a79b..50416b8c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -766,7 +766,7 @@ if (USE_GETTEXT) set(MO_FILES) 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_FILE_PATH "${MO_BUILD_PATH}/${PROJECT_NAME}.mo") diff --git a/util/travis/script.sh b/util/travis/script.sh index 756cc1de..4de9d3a1 100755 --- a/util/travis/script.sh +++ b/util/travis/script.sh @@ -13,7 +13,7 @@ if [[ $PLATFORM == "Linux" ]]; then cmake $CMAKE_FLAGS .. make -j2 echo "Running unit tests." - ../bin/minetest --run-unittests && exit 0 + ../bin/blockplanet --run-unittests && exit 0 elif [[ $PLATFORM == Win* ]]; then [[ $CC == "clang" ]] && exit 1 # Not supposed to happen # We need to have our build directory outside of the minetest directory because @@ -39,4 +39,3 @@ else echo "Unknown platform \"${PLATFORM}\"." exit 1 fi -