mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Added i18n initialization.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@605 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
1e88ec7dcd
commit
ab316612d5
@ -7,7 +7,8 @@ INCLUDES = \
|
||||
-I$(top_srcdir)/src/irc/core/ \
|
||||
-I$(top_srcdir)/src/fe-common/core/ \
|
||||
-I$(top_srcdir)/src/fe-common/irc/ \
|
||||
$(CURSES_INCLUDEDIR)
|
||||
$(CURSES_INCLUDEDIR) \
|
||||
-DLOCALEDIR=\""$(datadir)/locale"\"
|
||||
|
||||
irssi_DEPENDENCIES = @COMMON_LIBS@
|
||||
|
||||
|
@ -150,6 +150,11 @@ int main(int argc, char **argv)
|
||||
#ifdef HAVE_SOCKS
|
||||
SOCKSinit(argv[0]);
|
||||
#endif
|
||||
#ifdef ENABLE_NLS
|
||||
/* initialize the i18n stuff */
|
||||
bindtextdomain(PACKAGE, LOCALEDIR);
|
||||
textdomain(PACKAGE);
|
||||
#endif
|
||||
|
||||
textui_init();
|
||||
args_execute(argc, argv);
|
||||
|
Loading…
Reference in New Issue
Block a user