mirror of
https://github.com/anope/anope.git
synced 2026-06-12 15:44:46 +02:00
Make it clearer how to enable localisation.
This commit is contained in:
+2
-2
@@ -43,12 +43,12 @@ endif()
|
||||
# Find gettext
|
||||
find_package(Gettext)
|
||||
find_package(Intl)
|
||||
if(GETTEXT_FOUND AND Intl_FOUND)
|
||||
if(Gettext_FOUND AND Intl_FOUND)
|
||||
set(HAVE_LOCALIZATION ON)
|
||||
include_directories(${Intl_INCLUDE_DIRS})
|
||||
link_libraries(${Intl_LIBRARIES})
|
||||
else()
|
||||
message("Unable to find gettext and libintl; disabling localization")
|
||||
message(STATUS "Unable to find gettext and/or libintl -- read docs/LANGUAGE for how to enable localization")
|
||||
set(HAVE_LOCALIZATION OFF)
|
||||
endif()
|
||||
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ void Language::InitLanguages()
|
||||
Languages.push_back(language);
|
||||
}
|
||||
#else
|
||||
Log() << "Unable to initialize languages, gettext is not installed";
|
||||
Log() << "Unable to initialize languages, gettext and/or libintl were not installed at build time";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user