2018-01-22 10:45:12 +00:00
|
|
|
diff --git a/src/translations.cpp b/src/translations.cpp
|
2019-05-02 17:40:17 +01:00
|
|
|
index 0068a35785..c8034cbeac 100644
|
2018-01-22 10:45:12 +00:00
|
|
|
--- a/src/translations.cpp
|
|
|
|
+++ b/src/translations.cpp
|
2019-05-02 17:40:17 +01:00
|
|
|
@@ -202,14 +202,12 @@ void set_language()
|
|
|
|
auto env = getenv( "LANGUAGE" );
|
|
|
|
locale_dir = std::string( FILENAMES["base_path"] + "lang/mo/" + ( env ? env : "none" ) +
|
|
|
|
"/LC_MESSAGES/cataclysm-dda.mo" );
|
|
|
|
-#elif (defined(__linux__) || (defined(MACOSX) && !defined(TILES)))
|
|
|
|
+#else
|
2018-01-22 10:45:12 +00:00
|
|
|
if( !FILENAMES["base_path"].empty() ) {
|
|
|
|
locale_dir = FILENAMES["base_path"] + "share/locale";
|
|
|
|
} else {
|
|
|
|
locale_dir = "lang/mo";
|
|
|
|
}
|
|
|
|
-#else
|
|
|
|
- locale_dir = "lang/mo";
|
2019-05-02 17:40:17 +01:00
|
|
|
#endif
|
2018-01-22 10:45:12 +00:00
|
|
|
|
|
|
|
const char *locale_dir_char = locale_dir.c_str();
|