Internationalization
- Fixed the mechanism used to select translations (thanks to Fidel Mato).
This commit is contained in:
11
src/i18n.h
11
src/i18n.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user