aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2004-08-02 15:40:50 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2004-08-02 15:40:50 +0000
commita1ca0c89e082403a68490a529024e3d1822e37e9 (patch)
tree27c1fd464ee8d52703d4643a6e51474f3f50481a /menu.c
parent[w3m-dev 04094] Re: option panel: gettextize select list (diff)
downloadw3m-a1ca0c89e082403a68490a529024e3d1822e37e9.tar.gz
w3m-a1ca0c89e082403a68490a529024e3d1822e37e9.zip
[w3m-dev 04095] build fix when configure with --enable-messagel10n
* main.c (main): locale and textdomain initialization if ENABLE_NLS * menu.c (initMenu): use _() instead of gettext() * rc.c (show_params): use _() instead of gettext() From: WATANABE Katsuyuki <knabe@sannet.ne.jp>
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 6fbe68e..1a156e0 100644
--- a/menu.c
+++ b/menu.c
@@ -1,4 +1,4 @@
-/* $Id: menu.c,v 1.42 2004/07/15 16:32:38 ukai Exp $ */
+/* $Id: menu.c,v 1.43 2004/08/02 15:40:50 ukai Exp $ */
/*
* w3m menu.c
*/
@@ -1717,7 +1717,7 @@ initMenu(void)
#endif
for (item = MainMenuItem; item->type != MENU_END; item++)
item->label =
- wc_conv(gettext(item->label), MainMenuCharset,
+ wc_conv(_(item->label), MainMenuCharset,
InnerCharset)->ptr;
MainMenuEncode = TRUE;
}