from maintainer Tim Meunier, thanks! Full Changelog: https://github.com/CleverRaven/Cataclysm-DDA/blob/0.E/data/changelog.txt
15 lines
679 B
Plaintext
15 lines
679 B
Plaintext
$OpenBSD: patch-src_translations_cpp,v 1.5 2020/04/11 06:41:47 kirby Exp $
|
|
|
|
Index: src/translations.cpp
|
|
--- src/translations.cpp.orig
|
|
+++ src/translations.cpp
|
|
@@ -212,7 +212,7 @@ void set_language()
|
|
auto env = getenv( "LANGUAGE" );
|
|
locale_dir = std::string( PATH_INFO::base_path() + "lang/mo/" + ( env ? env : "none" ) +
|
|
"/LC_MESSAGES/cataclysm-dda.mo" );
|
|
-#elif (defined(__linux__) || (defined(MACOSX) && !defined(TILES)))
|
|
+#elif (defined(__linux__) || defined(__OpenBSD__) || (defined(MACOSX) && !defined(TILES)))
|
|
if( !PATH_INFO::base_path().empty() ) {
|
|
locale_dir = PATH_INFO::base_path() + "share/locale";
|
|
} else {
|