From c5a31631aa1aa567ee1682f27526a8a6a29b7083 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 21 Oct 2012 23:50:46 -0400 Subject: [PATCH] Localizations - Added ES_ES as language 2. - Removed obsolete readline reference. --- INSTALL | 13 +++++++++++++ cmake.h.in | 5 +---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index 794edde76..867239c94 100644 --- a/INSTALL +++ b/INSTALL @@ -79,6 +79,19 @@ get absolute installation directories: CMAKE_INSTALL_PREFIX/TASK_MAN5DIR /usr/local/share/man/man5 +Localizations +------------- + +To make use of a translation, specify a language number, as found in cmake.h: + + $ cmake -DLANGUAGE=2 . + +Currently the defined languages are: + + en-US 1 + es-ES 2 + + Uninstallation -------------- diff --git a/cmake.h.in b/cmake.h.in index 29f9fd5ed..d2661ede5 100644 --- a/cmake.h.in +++ b/cmake.h.in @@ -17,6 +17,7 @@ /* Localization */ #define PACKAGE_LANGUAGE 1 #define LANGUAGE_EN_US 1 +#define LANGUAGE_ES_ES 2 /* Override PACKAGE_LANGUAGE, then @@ -47,10 +48,6 @@ Override PACKAGE_LANGUAGE, then /* Found the pthread library */ #cmakedefine HAVE_LIBPTHREAD -/* Found the readline library */ -#cmakedefine HAVE_READLINE -#cmakedefine HAVE_LIBREADLINE - /* Found random */ #cmakedefine HAVE_RANDOM