[gimp] Bug 625571 - Request context tags for reasonable translation on some plug-ins



commit 1dfa7b5e767f88eeb78c95fdf46fb63e982d8b65
Author: SimaMoto,RyÅ?Ta <liangtai s4 gmail com>
Date:   Thu Jul 29 19:53:34 2010 +0900

    Bug 625571 - Request context tags for reasonable translation on some plug-ins
    
    Set gettext context signatures on "From:" and "To:" labels
    of the Color Rotate and the Color to Alpha plug-ins.

 plug-ins/color-rotate/color-rotate-dialog.c |    4 ++--
 plug-ins/common/color-to-alpha.c            |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/color-rotate/color-rotate-dialog.c b/plug-ins/color-rotate/color-rotate-dialog.c
index 1817bdb..be75a55 100644
--- a/plug-ins/color-rotate/color-rotate-dialog.c
+++ b/plug-ins/color-rotate/color-rotate-dialog.c
@@ -373,8 +373,8 @@ rcm_create_main (void)
 {
   GtkWidget *vbox;
 
-  Current.From = rcm_create_one_circle (SUM, _("From:"));
-  Current.To   = rcm_create_one_circle (SUM, _("To:"));
+  Current.From = rcm_create_one_circle (SUM, C_("color-rotate", "From:"));
+  Current.To   = rcm_create_one_circle (SUM, C_("color-rotate", "To:"));
 
   vbox = gtk_vbox_new (FALSE, 12);
   gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
diff --git a/plug-ins/common/color-to-alpha.c b/plug-ins/common/color-to-alpha.c
index e53f731..1fff523 100644
--- a/plug-ins/common/color-to-alpha.c
+++ b/plug-ins/common/color-to-alpha.c
@@ -407,7 +407,7 @@ color_to_alpha_dialog (GimpDrawable *drawable)
   gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0);
   gtk_widget_show (hbox);
 
-  label = gtk_label_new (_("From:"));
+  label = gtk_label_new (C_("color-to-alpha", "From:"));
   gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
   gtk_widget_show (label);
 



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