Mark strings for translation.
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 7 Jan 2008 05:18:17 +0000 (05:18 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 7 Jan 2008 05:18:17 +0000 (05:18 +0000)
svn path=/trunk/; revision=6256

gio/ChangeLog
gio/glocaldirectorymonitor.c
gio/glocalfilemonitor.c

index 7ad775b36bd560e3b0e72457a64077d4f5a576d8..54702f6ff90236e41ffa8dd5280e2608e810350c 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 1ee3de75d6f69cedfa32e7423326ec2848405029..3667571e77570adb1084569f2166ad252a202ccc 100644 (file)
@@ -26,6 +26,7 @@
 #include "gunixmounts.h"
 #include "gdirectorymonitor.h"
 #include "giomodule-priv.h"
+#include "glibintl.h"
 
 #include <string.h>
 
@@ -147,9 +148,15 @@ g_local_directory_monitor_class_init (GLocalDirectoryMonitorClass* klass)
 
   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;
 }
index b18c1c7885f2089325bc0cc8693f67beaf6c14a0..6ca67a56e30a0ddbdd5e9fe5c45afd01f441b247 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "glocalfilemonitor.h"
 #include "giomodule-priv.h"
+#include "glibintl.h"
 
 #include <string.h>
 
@@ -118,9 +119,15 @@ g_local_file_monitor_class_init (GLocalFileMonitorClass* klass)
   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