summaryrefslogtreecommitdiff
path: root/src/fe-text/irssi.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-08-13 23:15:05 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-08-13 23:15:05 +0000
commitab316612d5df292683b4e5e44e2da5a26e5d907d (patch)
tree6bfe209725bcc75268b553aeb71ac6513a714060 /src/fe-text/irssi.c
parent1e88ec7dcd2b89656bcb37013f3aead484192643 (diff)
downloadirssi-ab316612d5df292683b4e5e44e2da5a26e5d907d.zip
Added i18n initialization.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@605 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r--src/fe-text/irssi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index 9a014c60..f967e42b 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -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);