aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
authorJun T <takimoto-j@kba.biglobe.ne.jp>2016-02-17 23:16:25 +0900
committerJun T <takimoto-j@kba.biglobe.ne.jp>2016-02-23 13:39:56 +0900
commit1a15cf84c29c984d600f438122edc70be2ac91a1 (patch)
tree7acabf7830aa3f006d1fe378d6ab332d20d2f76e /src/nvim/mbyte.c
parent498eb020498010c157e453daa8a1f3a518a82ff3 (diff)
downloadrneovim-1a15cf84c29c984d600f438122edc70be2ac91a1.tar.gz
rneovim-1a15cf84c29c984d600f438122edc70be2ac91a1.tar.bz2
rneovim-1a15cf84c29c984d600f438122edc70be2ac91a1.zip
build: install *.mo into the "standard" directory
Change POROJECT_NAME to 'nvim', and use it as the gettext domain name. The *.mo files, previously installed as $runtime/lang/xx/LC_MESSAGES/nvim.mo, are now installed as $prefix/locale/xx/LC_MESSAGES/nvim.mo.
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index fdd83f9dac..f0a249919f 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -571,8 +571,8 @@ char_u * mb_init(void)
#ifdef HAVE_WORKING_LIBINTL
/* GNU gettext 0.10.37 supports this feature: set the codeset used for
* translated messages independently from the current locale. */
- (void)bind_textdomain_codeset(VIMPACKAGE,
- enc_utf8 ? "utf-8" : (char *)p_enc);
+ (void)bind_textdomain_codeset(PROJECT_NAME,
+ enc_utf8 ? "utf-8" : (char *)p_enc);
#endif