glib r6256 - trunk/gio
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6256 - trunk/gio
- Date: Mon, 7 Jan 2008 05:18:17 +0000 (GMT)
Author: matthiasc
Date: Mon Jan 7 05:18:17 2008
New Revision: 6256
URL: http://svn.gnome.org/viewvc/glib?rev=6256&view=rev
Log:
Mark strings for translation.
Modified:
trunk/gio/ChangeLog
trunk/gio/glocaldirectorymonitor.c
trunk/gio/glocalfilemonitor.c
Modified: trunk/gio/ChangeLog
==============================================================================
--- trunk/gio/ChangeLog (original)
+++ trunk/gio/ChangeLog Mon Jan 7 05:18:17 2008
@@ -1,5 +1,11 @@
2008-01-06 Matthias Clasen <mclasen redhat com>
+ * glocalfilemonitor.c:
+ * glocaldirectorymonitor.c: Mark property nicks and blurbs
+ for translation.
+
+2008-01-06 Matthias Clasen <mclasen redhat com>
+
* gdesktopappinfo.c: Fix a docs typo.
* gfileattribute.c: Add information about extended attributes
Modified: trunk/gio/glocaldirectorymonitor.c
==============================================================================
--- trunk/gio/glocaldirectorymonitor.c (original)
+++ trunk/gio/glocaldirectorymonitor.c Mon Jan 7 05:18:17 2008
@@ -26,6 +26,7 @@
#include "gunixmounts.h"
#include "gdirectorymonitor.h"
#include "giomodule-priv.h"
+#include "glibintl.h"
#include <string.h>
@@ -147,9 +148,15 @@
dir_monitor_class->cancel = g_local_directory_monitor_cancel;
- g_object_class_install_property (gobject_class, PROP_DIRNAME,
- g_param_spec_string ("dirname", "Directory name", "Directory to monitor",
- NULL, G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
+ g_object_class_install_property (gobject_class,
+ PROP_DIRNAME,
+ g_param_spec_string ("dirname",
+ P_("Directory name"),
+ P_("Directory to monitor"),
+ NULL,
+ G_PARAM_CONSTRUCT_ONLY|
+ G_PARAM_WRITABLE|
+ G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
klass->mount_notify = FALSE;
}
Modified: trunk/gio/glocalfilemonitor.c
==============================================================================
--- trunk/gio/glocalfilemonitor.c (original)
+++ trunk/gio/glocalfilemonitor.c Mon Jan 7 05:18:17 2008
@@ -24,6 +24,7 @@
#include "glocalfilemonitor.h"
#include "giomodule-priv.h"
+#include "glibintl.h"
#include <string.h>
@@ -118,9 +119,15 @@
gobject_class->finalize = g_local_file_monitor_finalize;
gobject_class->constructor = g_local_file_monitor_constructor;
- g_object_class_install_property (gobject_class, PROP_FILENAME,
- g_param_spec_string ("filename", "File name", "File name to monitor",
- NULL, G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
+ g_object_class_install_property (gobject_class,
+ PROP_FILENAME,
+ g_param_spec_string ("filename",
+ P_("File name"),
+ P_("File name to monitor"),
+ NULL,
+ G_PARAM_CONSTRUCT_ONLY|
+ G_PARAM_WRITABLE|
+ G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
}
static gint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]