1
0
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:
Sadie Powell
2026-05-19 16:14:14 +01:00
parent ad3be96283
commit d5a653fe94
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -43,12 +43,12 @@ endif()
# Find gettext # Find gettext
find_package(Gettext) find_package(Gettext)
find_package(Intl) find_package(Intl)
if(GETTEXT_FOUND AND Intl_FOUND) if(Gettext_FOUND AND Intl_FOUND)
set(HAVE_LOCALIZATION ON) set(HAVE_LOCALIZATION ON)
include_directories(${Intl_INCLUDE_DIRS}) include_directories(${Intl_INCLUDE_DIRS})
link_libraries(${Intl_LIBRARIES}) link_libraries(${Intl_LIBRARIES})
else() 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) set(HAVE_LOCALIZATION OFF)
endif() endif()
+1 -1
View File
@@ -54,7 +54,7 @@ void Language::InitLanguages()
Languages.push_back(language); Languages.push_back(language);
} }
#else #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 #endif
} }