1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 14:04:47 +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_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
View File
@@ -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
}