[maemo-commits] [maemo-commits] r12650 - in projects/haf/trunk/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jul 4 16:44:10 EEST 2007
Author: jobi
Date: 2007-07-04 16:43:54 +0300 (Wed, 04 Jul 2007)
New Revision: 12650

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-desktop.c
Log:

2007-07-04  Johan Bilien  <johan.bilien at nokia.com>

	* src/hd-desktop.c: Explicitely use dgettext when translating
	the kill application dialog.
	Fixes: NB#62248, NB#62270



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-07-04 13:25:01 UTC (rev 12649)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-07-04 13:43:54 UTC (rev 12650)
@@ -1,3 +1,9 @@
+2007-07-04  Johan Bilien  <johan.bilien at nokia.com>
+
+	* src/hd-desktop.c: Explicitely use dgettext when translating
+	the kill application dialog.
+	Fixes: NB#62248, NB#62270
+
 2007-07-04  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* data/Makefile.am, data/notification-groups.conf: new notification

Modified: projects/haf/trunk/hildon-desktop/src/hd-desktop.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-07-04 13:25:01 UTC (rev 12649)
+++ projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-07-04 13:43:54 UTC (rev 12650)
@@ -62,13 +62,15 @@
 #define HD_DESKTOP_CONFIG_FILE         "desktop.conf"
 #define HD_DESKTOP_CONFIG_USER_PATH    ".osso/hildon-desktop/"
 
-#define HD_DESKTOP_PING_TIMEOUT_MESSAGE_STRING       _( "qgn_nc_apkil_notresponding" )
-#define HD_DESKTOP_PING_TIMEOUT_RESPONSE_STRING      _( "qgn_ib_apkil_responded" )
-#define HD_DESKTOP_PING_TIMEOUT_KILL_FAILURE_STRING  _( "" )
+#define _L10N(s) dgettext(GETTEXT_PACKAGE, s)
 
-#define HD_DESKTOP_PING_TIMEOUT_BUTTON_OK_STRING     _( "qgn_bd_apkil_ok" )
-#define HD_DESKTOP_PING_TIMEOUT_BUTTON_CANCEL_STRING _( "qgn_bd_apkil_cancel" )
+#define HD_DESKTOP_PING_TIMEOUT_MESSAGE_STRING       _L10N("qgn_nc_apkil_notresponding")
+#define HD_DESKTOP_PING_TIMEOUT_RESPONSE_STRING      _L10N( "qgn_ib_apkil_responded" )
+#define HD_DESKTOP_PING_TIMEOUT_KILL_FAILURE_STRING  _L10N( "" )
 
+#define HD_DESKTOP_PING_TIMEOUT_BUTTON_OK_STRING     _L10N( "qgn_bd_apkil_ok" )
+#define HD_DESKTOP_PING_TIMEOUT_BUTTON_CANCEL_STRING _L10N( "qgn_bd_apkil_cancel" )
+
 typedef struct 
 {
   GtkWidget         *parent;


More information about the maemo-commits mailing list