mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
I18N: Removed language build settings
This commit is contained in:
parent
7be5b86618
commit
34c5a68635
4 changed files with 1 additions and 49 deletions
|
@ -125,23 +125,6 @@ if (SOLARIS)
|
||||||
endif (NSL_LIBRARY)
|
endif (NSL_LIBRARY)
|
||||||
endif (SOLARIS)
|
endif (SOLARIS)
|
||||||
|
|
||||||
# Set the package language.
|
|
||||||
if (LANGUAGE)
|
|
||||||
set (PACKAGE_LANGUAGE ${LANGUAGE})
|
|
||||||
else (LANGUAGE)
|
|
||||||
set (PACKAGE_LANGUAGE 1)
|
|
||||||
endif (LANGUAGE)
|
|
||||||
|
|
||||||
set (LANGUAGE_ENG_USA 1)
|
|
||||||
set (LANGUAGE_ESP_ESP 2)
|
|
||||||
set (LANGUAGE_DEU_DEU 3)
|
|
||||||
set (LANGUAGE_FRA_FRA 4)
|
|
||||||
set (LANGUAGE_ITA_ITA 5)
|
|
||||||
set (LANGUAGE_POR_PRT 6)
|
|
||||||
set (LANGUAGE_EPO_RUS 7)
|
|
||||||
set (LANGUAGE_POL_POL 8)
|
|
||||||
set (LANGUAGE_JPN_JPN 9)
|
|
||||||
|
|
||||||
message ("-- Configuring cmake.h")
|
message ("-- Configuring cmake.h")
|
||||||
configure_file (
|
configure_file (
|
||||||
${CMAKE_SOURCE_DIR}/cmake.h.in
|
${CMAKE_SOURCE_DIR}/cmake.h.in
|
||||||
|
|
|
@ -106,6 +106,7 @@
|
||||||
tw.width, tw.height, tw.version.
|
tw.width, tw.height, tw.version.
|
||||||
- The message telling you to sync now indicates how many local changes will be
|
- The message telling you to sync now indicates how many local changes will be
|
||||||
synced.
|
synced.
|
||||||
|
- Removed compile-time language settings and I18N.
|
||||||
|
|
||||||
------ current release ---------------------------
|
------ current release ---------------------------
|
||||||
|
|
||||||
|
|
20
INSTALL
20
INSTALL
|
@ -103,26 +103,6 @@ In order to build Taskwarrior without "sync" support, call cmake with the
|
||||||
and proceed as described in "Basic Installation".
|
and proceed as described in "Basic Installation".
|
||||||
|
|
||||||
|
|
||||||
Localizations
|
|
||||||
-------------
|
|
||||||
|
|
||||||
To make use of a translation, specify a language number, as found in cmake.h:
|
|
||||||
|
|
||||||
$ cmake -DLANGUAGE=2 .
|
|
||||||
|
|
||||||
Currently the defined languages are:
|
|
||||||
|
|
||||||
eng_USA 1
|
|
||||||
esp_ESP 2
|
|
||||||
deu_DEU 3
|
|
||||||
fra_FRA 4
|
|
||||||
ita_ITA 5
|
|
||||||
por_PRT 6
|
|
||||||
epo_RUS 7
|
|
||||||
pol_POL 8
|
|
||||||
jpn-JPN 9
|
|
||||||
|
|
||||||
|
|
||||||
Uninstallation
|
Uninstallation
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
|
12
cmake.h.in
12
cmake.h.in
|
@ -17,18 +17,6 @@
|
||||||
/* Installation details */
|
/* Installation details */
|
||||||
#define TASK_RCDIR "${CMAKE_INSTALL_PREFIX}/${TASK_RCDIR}"
|
#define TASK_RCDIR "${CMAKE_INSTALL_PREFIX}/${TASK_RCDIR}"
|
||||||
|
|
||||||
/* Localization */
|
|
||||||
#define PACKAGE_LANGUAGE ${PACKAGE_LANGUAGE}
|
|
||||||
#define LANGUAGE_ENG_USA ${LANGUAGE_ENG_USA}
|
|
||||||
#define LANGUAGE_ESP_ESP ${LANGUAGE_ESP_ESP}
|
|
||||||
#define LANGUAGE_FRA_FRA ${LANGUAGE_FRA_FRA}
|
|
||||||
#define LANGUAGE_DEU_DEU ${LANGUAGE_DEU_DEU}
|
|
||||||
#define LANGUAGE_ITA_ITA ${LANGUAGE_ITA_ITA}
|
|
||||||
#define LANGUAGE_POR_PRT ${LANGUAGE_POR_PRT}
|
|
||||||
#define LANGUAGE_EPO_RUS ${LANGUAGE_EPO_RUS}
|
|
||||||
#define LANGUAGE_POL_POL ${LANGUAGE_POL_POL}
|
|
||||||
#define LANGUAGE_JPN_JPN ${LANGUAGE_JPN_JPN}
|
|
||||||
|
|
||||||
/* git information */
|
/* git information */
|
||||||
#cmakedefine HAVE_COMMIT
|
#cmakedefine HAVE_COMMIT
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue