mirror of https://github.com/GNOME/gimp.git
plug-ins: mistakenly internationalized signal names and widget IDs.
Thanks to Anders Jonsson for noticing these.
This commit is contained in:
parent
ccb8a7be2e
commit
24a4b6bf65
|
@ -322,27 +322,27 @@ main_dialog (GimpProcedure *procedure,
|
||||||
gchar *temp_field_3;
|
gchar *temp_field_3;
|
||||||
gchar *temp_notify;
|
gchar *temp_notify;
|
||||||
|
|
||||||
temp_label = g_strdup_printf (_("light-color-label-%d"), i);
|
temp_label = g_strdup_printf ("light-color-label-%d", i);
|
||||||
gimp_procedure_dialog_get_label (GIMP_PROCEDURE_DIALOG (appwin),
|
gimp_procedure_dialog_get_label (GIMP_PROCEDURE_DIALOG (appwin),
|
||||||
temp_label, _("Color"),
|
temp_label, _("Color"),
|
||||||
FALSE, FALSE);
|
FALSE, FALSE);
|
||||||
g_free (temp_label);
|
g_free (temp_label);
|
||||||
temp_label = g_strdup_printf (_("light-position-label-%d"), i);
|
temp_label = g_strdup_printf ("light-position-label-%d", i);
|
||||||
gimp_procedure_dialog_get_label (GIMP_PROCEDURE_DIALOG (appwin),
|
gimp_procedure_dialog_get_label (GIMP_PROCEDURE_DIALOG (appwin),
|
||||||
temp_label, _("Position"),
|
temp_label, _("Position"),
|
||||||
FALSE, FALSE);
|
FALSE, FALSE);
|
||||||
g_free (temp_label);
|
g_free (temp_label);
|
||||||
temp_label = g_strdup_printf (_("light-direction-label-%d"), i);
|
temp_label = g_strdup_printf ("light-direction-label-%d", i);
|
||||||
gimp_procedure_dialog_get_label (GIMP_PROCEDURE_DIALOG (appwin),
|
gimp_procedure_dialog_get_label (GIMP_PROCEDURE_DIALOG (appwin),
|
||||||
temp_label, _("Direction"),
|
temp_label, _("Direction"),
|
||||||
FALSE, FALSE);
|
FALSE, FALSE);
|
||||||
g_free (temp_label);
|
g_free (temp_label);
|
||||||
|
|
||||||
temp_box = g_strdup_printf (("light-color-vbox-%d"), i);
|
temp_box = g_strdup_printf ("light-color-vbox-%d", i);
|
||||||
temp_label = g_strdup_printf (("light-color-label-%d"), i);
|
temp_label = g_strdup_printf ("light-color-label-%d", i);
|
||||||
temp_field_1 = g_strdup_printf (("light-type-%d"), i);
|
temp_field_1 = g_strdup_printf ("light-type-%d", i);
|
||||||
temp_field_2 = g_strdup_printf (("light-color-%d"), i);
|
temp_field_2 = g_strdup_printf ("light-color-%d", i);
|
||||||
temp_field_3 = g_strdup_printf (("light-intensity-%d"), i);
|
temp_field_3 = g_strdup_printf ("light-intensity-%d", i);
|
||||||
gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), temp_box,
|
gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), temp_box,
|
||||||
temp_label,
|
temp_label,
|
||||||
temp_field_1,
|
temp_field_1,
|
||||||
|
@ -350,17 +350,17 @@ main_dialog (GimpProcedure *procedure,
|
||||||
temp_field_3,
|
temp_field_3,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
temp_notify = g_strdup_printf (_("notify::%s"), temp_field_1);
|
temp_notify = g_strdup_printf ("notify::%s", temp_field_1);
|
||||||
g_signal_connect (config, temp_notify,
|
g_signal_connect (config, temp_notify,
|
||||||
G_CALLBACK (update_preview),
|
G_CALLBACK (update_preview),
|
||||||
config);
|
config);
|
||||||
g_free (temp_notify);
|
g_free (temp_notify);
|
||||||
temp_notify = g_strdup_printf (_("notify::%s"), temp_field_2);
|
temp_notify = g_strdup_printf ("notify::%s", temp_field_2);
|
||||||
g_signal_connect (config, temp_notify,
|
g_signal_connect (config, temp_notify,
|
||||||
G_CALLBACK (update_preview),
|
G_CALLBACK (update_preview),
|
||||||
config);
|
config);
|
||||||
g_free (temp_notify);
|
g_free (temp_notify);
|
||||||
temp_notify = g_strdup_printf (_("notify::%s"), temp_field_3);
|
temp_notify = g_strdup_printf ("notify::%s", temp_field_3);
|
||||||
g_signal_connect (config, temp_notify,
|
g_signal_connect (config, temp_notify,
|
||||||
G_CALLBACK (update_preview),
|
G_CALLBACK (update_preview),
|
||||||
config);
|
config);
|
||||||
|
@ -372,11 +372,11 @@ main_dialog (GimpProcedure *procedure,
|
||||||
g_free (temp_field_2);
|
g_free (temp_field_2);
|
||||||
g_free (temp_field_3);
|
g_free (temp_field_3);
|
||||||
|
|
||||||
temp_box = g_strdup_printf (_("light-position-vbox-%d"), i);
|
temp_box = g_strdup_printf ("light-position-vbox-%d", i);
|
||||||
temp_label = g_strdup_printf (("light-position-label-%d"), i);
|
temp_label = g_strdup_printf ("light-position-label-%d", i);
|
||||||
temp_field_1 = g_strdup_printf (("light-position-x-%d"), i);
|
temp_field_1 = g_strdup_printf ("light-position-x-%d", i);
|
||||||
temp_field_2 = g_strdup_printf (("light-position-y-%d"), i);
|
temp_field_2 = g_strdup_printf ("light-position-y-%d", i);
|
||||||
temp_field_3 = g_strdup_printf (("light-position-z-%d"), i);
|
temp_field_3 = g_strdup_printf ("light-position-z-%d", i);
|
||||||
gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), temp_box,
|
gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), temp_box,
|
||||||
temp_label,
|
temp_label,
|
||||||
temp_field_1,
|
temp_field_1,
|
||||||
|
@ -384,17 +384,17 @@ main_dialog (GimpProcedure *procedure,
|
||||||
temp_field_3,
|
temp_field_3,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
temp_notify = g_strdup_printf (_("notify::%s"), temp_field_1);
|
temp_notify = g_strdup_printf ("notify::%s", temp_field_1);
|
||||||
g_signal_connect (config, temp_notify,
|
g_signal_connect (config, temp_notify,
|
||||||
G_CALLBACK (update_preview),
|
G_CALLBACK (update_preview),
|
||||||
config);
|
config);
|
||||||
g_free (temp_notify);
|
g_free (temp_notify);
|
||||||
temp_notify = g_strdup_printf (_("notify::%s"), temp_field_2);
|
temp_notify = g_strdup_printf ("notify::%s", temp_field_2);
|
||||||
g_signal_connect (config, temp_notify,
|
g_signal_connect (config, temp_notify,
|
||||||
G_CALLBACK (update_preview),
|
G_CALLBACK (update_preview),
|
||||||
config);
|
config);
|
||||||
g_free (temp_notify);
|
g_free (temp_notify);
|
||||||
temp_notify = g_strdup_printf (_("notify::%s"), temp_field_3);
|
temp_notify = g_strdup_printf ("notify::%s", temp_field_3);
|
||||||
g_signal_connect (config, temp_notify,
|
g_signal_connect (config, temp_notify,
|
||||||
G_CALLBACK (update_preview),
|
G_CALLBACK (update_preview),
|
||||||
config);
|
config);
|
||||||
|
@ -406,11 +406,11 @@ main_dialog (GimpProcedure *procedure,
|
||||||
g_free (temp_field_2);
|
g_free (temp_field_2);
|
||||||
g_free (temp_field_3);
|
g_free (temp_field_3);
|
||||||
|
|
||||||
temp_box = g_strdup_printf (("light-direction-vbox-%d"), i);
|
temp_box = g_strdup_printf ("light-direction-vbox-%d", i);
|
||||||
temp_label = g_strdup_printf (("light-direction-label-%d"), i);
|
temp_label = g_strdup_printf ("light-direction-label-%d", i);
|
||||||
temp_field_1 = g_strdup_printf (("light-direction-x-%d"), i);
|
temp_field_1 = g_strdup_printf ("light-direction-x-%d", i);
|
||||||
temp_field_2 = g_strdup_printf (("light-direction-y-%d"), i);
|
temp_field_2 = g_strdup_printf ("light-direction-y-%d", i);
|
||||||
temp_field_3 = g_strdup_printf (("light-direction-z-%d"), i);
|
temp_field_3 = g_strdup_printf ("light-direction-z-%d", i);
|
||||||
gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), temp_box,
|
gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), temp_box,
|
||||||
temp_label,
|
temp_label,
|
||||||
temp_field_1,
|
temp_field_1,
|
||||||
|
@ -418,17 +418,17 @@ main_dialog (GimpProcedure *procedure,
|
||||||
temp_field_3,
|
temp_field_3,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
temp_notify = g_strdup_printf (_("notify::%s"), temp_field_1);
|
temp_notify = g_strdup_printf ("notify::%s", temp_field_1);
|
||||||
g_signal_connect (config, temp_notify,
|
g_signal_connect (config, temp_notify,
|
||||||
G_CALLBACK (update_preview),
|
G_CALLBACK (update_preview),
|
||||||
config);
|
config);
|
||||||
g_free (temp_notify);
|
g_free (temp_notify);
|
||||||
temp_notify = g_strdup_printf (_("notify::%s"), temp_field_2);
|
temp_notify = g_strdup_printf ("notify::%s", temp_field_2);
|
||||||
g_signal_connect (config, temp_notify,
|
g_signal_connect (config, temp_notify,
|
||||||
G_CALLBACK (update_preview),
|
G_CALLBACK (update_preview),
|
||||||
config);
|
config);
|
||||||
g_free (temp_notify);
|
g_free (temp_notify);
|
||||||
temp_notify = g_strdup_printf (_("notify::%s"), temp_field_3);
|
temp_notify = g_strdup_printf ("notify::%s", temp_field_3);
|
||||||
g_signal_connect (config, temp_notify,
|
g_signal_connect (config, temp_notify,
|
||||||
G_CALLBACK (update_preview),
|
G_CALLBACK (update_preview),
|
||||||
config);
|
config);
|
||||||
|
@ -440,10 +440,10 @@ main_dialog (GimpProcedure *procedure,
|
||||||
g_free (temp_field_2);
|
g_free (temp_field_2);
|
||||||
g_free (temp_field_3);
|
g_free (temp_field_3);
|
||||||
|
|
||||||
temp_box = g_strdup_printf (("light-hbox-%d"), i);
|
temp_box = g_strdup_printf ("light-hbox-%d", i);
|
||||||
temp_field_1 = g_strdup_printf (("light-color-vbox-%d"), i);
|
temp_field_1 = g_strdup_printf ("light-color-vbox-%d", i);
|
||||||
temp_field_2 = g_strdup_printf (("light-position-vbox-%d"), i);
|
temp_field_2 = g_strdup_printf ("light-position-vbox-%d", i);
|
||||||
temp_field_3 = g_strdup_printf (("light-direction-vbox-%d"), i);
|
temp_field_3 = g_strdup_printf ("light-direction-vbox-%d", i);
|
||||||
hbox = gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), temp_box,
|
hbox = gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin), temp_box,
|
||||||
temp_field_1,
|
temp_field_1,
|
||||||
temp_field_2,
|
temp_field_2,
|
||||||
|
|
Loading…
Reference in New Issue