summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/main.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5554ec448..6daf9385c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -327,7 +327,7 @@ if (GETTEXT_FOUND AND USE_GETTEXT)
COMMAND ${CMAKE_COMMAND} -E make_directory ${MO_BUILD_PATH}
COMMENT "mo-update [${LOCALE}]: Creating locale directory.")
- set(MO_FILE_PATH "${MO_BUILD_PATH}/minetest.mo")
+ set(MO_FILE_PATH "${MO_BUILD_PATH}/${PROJECT_NAME}.mo")
add_custom_command(
OUTPUT ${MO_FILE_PATH}
diff --git a/src/main.cpp b/src/main.cpp
index 11941a43f..2f48d229f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1134,8 +1134,8 @@ int main(int argc, char *argv[])
#ifdef LC_MESSAGES
setlocale(LC_MESSAGES, "");
- bindtextdomain("minetest", (porting::path_userdata+"/locale").c_str());
- textdomain("minetest");
+ bindtextdomain(PROJECT_NAME, (porting::path_userdata+"/locale").c_str());
+ textdomain(PROJECT_NAME);
#endif
// Initialize debug streams