mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 00:43:07 +02:00
i18n
- Added en-US.h, which will be a header file full of string defines. - Added logic to i18n.h to include en-US.h based on cmake command line argument (cmake ... -DPACKAGE_LANGUAGE=1). - Added one sample string.
This commit is contained in:
parent
ed3b4d587c
commit
976e480903
5 changed files with 65 additions and 106 deletions
|
@ -9,6 +9,15 @@
|
|||
#define PACKAGE_VERSION "${PACKAGE_VERSION}"
|
||||
#define PACKAGE_STRING "${PACKAGE_STRING}"
|
||||
|
||||
/* Localization */
|
||||
#define PACKAGE_LANGUAGE 1
|
||||
#define LANGUAGE_EN_US 1
|
||||
|
||||
/*
|
||||
Override PACKAGE_LANGUAGE, then
|
||||
#define LANGUAGE_XX_YY 2
|
||||
*/
|
||||
|
||||
/* git information */
|
||||
#cmakedefine HAVE_COMMIT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue