gnome-system-monitor r2542 - trunk/src



Author: bdejean
Date: Sat Jan  3 12:08:58 2009
New Revision: 2542
URL: http://svn.gnome.org/viewvc/gnome-system-monitor?rev=2542&view=rev

Log:
Make output of --help translated.
(No new strings, they were already _()).
Patch by Gabor Kelement <kelemeng gnome hu>.
Closes #555073.


Modified:
   trunk/src/procman.cpp

Modified: trunk/src/procman.cpp
==============================================================================
--- trunk/src/procman.cpp	(original)
+++ trunk/src/procman.cpp	Sat Jan  3 12:08:58 2009
@@ -21,6 +21,8 @@
 
 #include <stdlib.h>
 
+#include <locale.h>
+
 #include <gtkmm/main.h>
 #include <giomm/volumemonitor.h>
 #include <giomm/init.h>
@@ -657,7 +659,8 @@
 	bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 	textdomain (GETTEXT_PACKAGE);
-
+	setlocale (LC_ALL, "");
+	
 	startup_timestamp = get_startup_timestamp();
 
 	Glib::OptionContext context;



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