gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7983 - GNUnet/src/setup


From: gnunet
Subject: [GNUnet-SVN] r7983 - GNUnet/src/setup
Date: Wed, 3 Dec 2008 04:20:19 -0700 (MST)

Author: holindho
Date: 2008-12-03 04:20:19 -0700 (Wed, 03 Dec 2008)
New Revision: 7983

Modified:
   GNUnet/src/setup/gnunet-setup.c
Log:
i18n to gnunet-setup


Modified: GNUnet/src/setup/gnunet-setup.c
===================================================================
--- GNUnet/src/setup/gnunet-setup.c     2008-12-03 03:55:31 UTC (rev 7982)
+++ GNUnet/src/setup/gnunet-setup.c     2008-12-03 11:20:19 UTC (rev 7983)
@@ -277,6 +277,18 @@
                                           GNUNET_GE_BULK);
   GNUNET_GE_setDefaultContext (ectx);
   GNUNET_os_init (ectx);
+
+#if ENABLE_NLS
+  setlocale (LC_ALL, "");
+  dirname = GNUNET_get_installation_path (GNUNET_IPK_LOCALEDIR);
+  if (dirname != NULL)
+    {
+      BINDTEXTDOMAIN ("GNUnet", dirname);
+      GNUNET_free (dirname);
+    }
+  textdomain ("GNUnet");
+#endif
+
   cfg = GNUNET_GC_create ();
   GNUNET_GE_ASSERT (ectx, cfg != NULL);
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]