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

@ -44,14 +44,17 @@
#include <cmake.h>
// Translators:
// Duplicate these three lines, changing "EN_US" and "en-US" to the new
// localization.
// Add more, as appropriate.
#if PACKAGE_LANGUAGE == LANGUAGE_EN_US
#include <en-US.h>
#elif PACKAGE_LANGUAGE == LANGUAGE_ES_ES
#include <es-ES.h>
#elif PACKAGE_LANGUAGE == LANGUAGE_DE_DE
#include <de-DE.h>
#elif PACKAGE_LANGUAGE == LANGUAGE_FR_FR
#include <fr-FR.h>
#endif
// Add other languages here.
#define CCOLOR_BOLD 500
#define CCOLOR_UNDERLINE 501
#define CCOLOR_ON 502