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

gEDA-cvs: gaf.git: branch: stable-1.6 updated (1.6.0-20091004-18-gabc3268)



The branch, stable-1.6 has been updated
       via  abc32686e9bf42b25e0f6b0548d620436ee05da6 (commit)
      from  c603cb9f75068837eb8f5a309f590fb3d8e5156e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/gschem_accel_label.c |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)


=================
 Commit Messages
=================

commit abc32686e9bf42b25e0f6b0548d620436ee05da6
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    gschem: Remove _() translatable markers from some internal strings
    
    Save work for the translators, as we don't really need or want to
    translate the descriptive strings for GObject properties.
    
    Introduce a P_() helper as in GTK code. This means we can find the
    potentially translatable strings at a later date.
    (cherry picked from commit 3c64f506a6b3babc4db67a5841d5b95a2189b34c)

:100644 100644 8dc75a5... 63c7b63... M	gschem/src/gschem_accel_label.c

=========
 Changes
=========

commit abc32686e9bf42b25e0f6b0548d620436ee05da6
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    gschem: Remove _() translatable markers from some internal strings
    
    Save work for the translators, as we don't really need or want to
    translate the descriptive strings for GObject properties.
    
    Introduce a P_() helper as in GTK code. This means we can find the
    potentially translatable strings at a later date.
    (cherry picked from commit 3c64f506a6b3babc4db67a5841d5b95a2189b34c)

diff --git a/gschem/src/gschem_accel_label.c b/gschem/src/gschem_accel_label.c
index 8dc75a5..63c7b63 100644
--- a/gschem/src/gschem_accel_label.c
+++ b/gschem/src/gschem_accel_label.c
@@ -39,6 +39,8 @@
 
 #include "gschem.h"
 
+#define P_(x) (x)
+
 enum {
   PROP_0,
   PROP_ACCEL_CLOSURE,
@@ -330,22 +332,22 @@ gschem_accel_label_class_init (GschemAccelLabelClass *class)
   g_object_class_install_property (gobject_class,
                                    PROP_ACCEL_CLOSURE,
                                    g_param_spec_boxed ("accel-closure",
-                                                       _("Accelerator Closure"),
-                                                       _("The closure to be monitored for accelerator changes"),
+                                                       P_("Accelerator Closure"),
+                                                       P_("The closure to be monitored for accelerator changes"),
                                                        G_TYPE_CLOSURE,
                                                        G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                    PROP_ACCEL_WIDGET,
                                    g_param_spec_object ("accel-widget",
-                                                        _("Accelerator Widget"),
-                                                        _("The widget to be monitored for accelerator changes"),
+                                                        P_("Accelerator Widget"),
+                                                        P_("The widget to be monitored for accelerator changes"),
                                                         GTK_TYPE_WIDGET,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                    PROP_ACCEL_STRING,
                                    g_param_spec_string ("accel-string",
-                                                        _("Accelerator String"),
-                                                        _("The accelerator string to be displayed"),
+                                                        P_("Accelerator String"),
+                                                        P_("The accelerator string to be displayed"),
                                                         NULL,
                                                         G_PARAM_READWRITE));
 }




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs