Remove FEAT_GETTEXT

Support for message translations using gettext()
This commit is contained in:
Hinidu
2014-04-12 10:20:21 +03:00
committed by Justin M. Keyes
parent 3e93fedfe9
commit 1299d08be7
2 changed files with 1 additions and 4 deletions

View File

@@ -110,7 +110,6 @@
#define FEAT_FIND_ID #define FEAT_FIND_ID
#define FEAT_FKMAP #define FEAT_FKMAP
#define FEAT_FOLDING #define FEAT_FOLDING
#define FEAT_GETTEXT
#define FEAT_HANGULIN #define FEAT_HANGULIN
#define FEAT_INS_EXPAND #define FEAT_INS_EXPAND
#define FEAT_JUMPLIST #define FEAT_JUMPLIST

View File

@@ -3414,9 +3414,7 @@ void ex_language(exarg_T *eap)
if (what != LC_TIME) { if (what != LC_TIME) {
/* Tell gettext() what to translate to. It apparently doesn't /* Tell gettext() what to translate to. It apparently doesn't
* use the currently effective locale. Also do this when * use the currently effective locale. */
* FEAT_GETTEXT isn't defined, so that shell commands use this
* value. */
if (what == LC_ALL) { if (what == LC_ALL) {
vim_setenv((char_u *)"LANG", name); vim_setenv((char_u *)"LANG", name);