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



commit d650117dfb151f080233d10071f6c1583540a4bd
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date:   Sat Oct 9 20:13:53 2010 +0200

    Bug 625571 - Request context tags for reasonable translation on some plug-ins
    
    Add more context tags for some plug-in labels. There were still
    ambiguous "From:" and "To:" labels which were not fixed by commit
    1dfa7b5e (2010-07-29).

 plug-ins/color-rotate/color-rotate-dialog.c |    4 ++--
 plug-ins/common/mail.c                      |    4 ++--
 plug-ins/file-fli/fli-gimp.c                |    8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/plug-ins/color-rotate/color-rotate-dialog.c b/plug-ins/color-rotate/color-rotate-dialog.c
index 2e950b4..1a11662 100644
--- a/plug-ins/color-rotate/color-rotate-dialog.c
+++ b/plug-ins/color-rotate/color-rotate-dialog.c
@@ -294,7 +294,7 @@ rcm_create_one_circle (gint         height,
   gtk_widget_show (legend_table);
 
   /* spinbutton 1 */
-  label = gtk_label_new (_("From:"));
+  label = gtk_label_new (C_("color-range", "From:"));
   gtk_widget_show (label);
   gtk_table_attach (GTK_TABLE (legend_table), label, 0, 1, 0, 1,
                     0, GTK_EXPAND, 5, 5);
@@ -320,7 +320,7 @@ rcm_create_one_circle (gint         height,
                     0, GTK_EXPAND, 4, 4);
 
   /* spinbutton 2 */
-  label = gtk_label_new (_("To:"));
+  label = gtk_label_new (C_("color-range", "To:"));
   gtk_widget_show (label);
   gtk_table_attach (GTK_TABLE (legend_table), label, 3,4, 0,1,
                     0, GTK_EXPAND, 4, 4);
diff --git a/plug-ins/common/mail.c b/plug-ins/common/mail.c
index 61f3c4f..4bc572c 100644
--- a/plug-ins/common/mail.c
+++ b/plug-ins/common/mail.c
@@ -452,7 +452,7 @@ save_dialog (void)
   gtk_entry_set_max_length (GTK_ENTRY (entry), BUFFER_SIZE - 1);
   gtk_entry_set_text (GTK_ENTRY (entry), mail_info.receipt);
   gimp_table_attach_aligned (GTK_TABLE (table), 0, row++,
-                             _("_To:"), 0.0, 0.5,
+                             C_("email-address", "_To:"), 0.0, 0.5,
                              entry, 1, FALSE);
   g_signal_connect (entry, "changed",
                     G_CALLBACK (mail_entry_callback),
@@ -466,7 +466,7 @@ save_dialog (void)
   gtk_entry_set_max_length (GTK_ENTRY (entry), BUFFER_SIZE - 1);
   gtk_entry_set_text (GTK_ENTRY (entry), mail_info.from);
   gimp_table_attach_aligned (GTK_TABLE (table), 0, row++,
-                             _("_From:"), 0.0, 0.5,
+                             C_("email-address", "_From:"), 0.0, 0.5,
                              entry, 1, FALSE);
   g_signal_connect (entry, "changed",
                     G_CALLBACK (mail_entry_callback),
diff --git a/plug-ins/file-fli/fli-gimp.c b/plug-ins/file-fli/fli-gimp.c
index f343735..f4dad24 100644
--- a/plug-ins/file-fli/fli-gimp.c
+++ b/plug-ins/file-fli/fli-gimp.c
@@ -870,7 +870,7 @@ load_dialog (const gchar *filename)
   spinbutton = gimp_spin_button_new (&adj,
 				     from_frame, 1, nframes, 1, 10, 0, 1, 0);
   gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
-			     _("From:"), 0.0, 0.5,
+			     C_("frame-range", "From:"), 0.0, 0.5,
 			     spinbutton, 1, TRUE);
   g_signal_connect (adj, "value-changed",
                     G_CALLBACK (gimp_int_adjustment_update),
@@ -879,7 +879,7 @@ load_dialog (const gchar *filename)
   spinbutton = gimp_spin_button_new (&adj,
 				     to_frame, 1, nframes, 1, 10, 0, 1, 0);
   gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
-			     _("To:"), 0.0, 0.5,
+			     C_("frame-range", "To:"), 0.0, 0.5,
 			     spinbutton, 1, TRUE);
   g_signal_connect (adj, "value-changed",
                     G_CALLBACK (gimp_int_adjustment_update),
@@ -926,7 +926,7 @@ save_dialog (gint32 image_id)
   spinbutton = gimp_spin_button_new (&adj,
 				     from_frame, 1, nframes, 1, 10, 0, 1, 0);
   gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
-			     _("From:"), 0.0, 0.5,
+			     C_("frame-range", "From:"), 0.0, 0.5,
 			     spinbutton, 1, TRUE);
   g_signal_connect (adj, "value-changed",
                     G_CALLBACK (gimp_int_adjustment_update),
@@ -935,7 +935,7 @@ save_dialog (gint32 image_id)
   spinbutton = gimp_spin_button_new (&adj,
 				     to_frame, 1, nframes, 1, 10, 0, 1, 0);
   gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
-			     _("To:"), 0.0, 0.5,
+			     C_("frame-range", "To:"), 0.0, 0.5,
 			     spinbutton, 1, TRUE);
   g_signal_connect (adj, "value-changed",
                     G_CALLBACK (gimp_int_adjustment_update),



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