Internationalization

- Fixed the mechanism used to select translations (thanks to Fidel Mato).
This commit is contained in:
Paul Beckingham
2012-10-13 15:30:04 -04:00
parent 9fe9f96f8f
commit 879ecf9505
6 changed files with 40 additions and 24 deletions

View File

@@ -15,13 +15,11 @@
#define TASK_RCDIR "${CMAKE_INSTALL_PREFIX}/${TASK_DOCDIR}/rc"
/* Localization */
#define PACKAGE_LANGUAGE 1
#define LANGUAGE_EN_US 1
/*
Override PACKAGE_LANGUAGE, then
#define LANGUAGE_XX_YY 2
*/
#define PACKAGE_LANGUAGE ${PACKAGE_LANGUAGE}
#define LANGUAGE_EN_US ${LANGUAGE_EN_US}
#define LANGUAGE_ES_ES ${LANGUAGE_ES_ES}
#define LANGUAGE_DE_DE ${LANGUAGE_DE_DE}
#define LANGUAGE_FR_FR ${LANGUAGE_FR_FR}
/* git information */
#cmakedefine HAVE_COMMIT