mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
When translating N_() strings, use _(), not gettext(), since we really
Thu Jan 28 01:34:29 1999 Owen Taylor <otaylor@redhat.com> * gtkfontsel.c gtkcolorsel.c: When translating N_() strings, use _(), not gettext(), since we really need to call dgettext().
This commit is contained in:
parent
bb16a5d331
commit
f9807a643c
@ -1,3 +1,9 @@
|
|||||||
|
Thu Jan 28 01:34:29 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtkfontsel.c gtkcolorsel.c: When translating
|
||||||
|
N_() strings, use _(), not gettext(), since we
|
||||||
|
really need to call dgettext().
|
||||||
|
|
||||||
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4: Xsed isn't valid here, don't use it
|
* acinclude.m4: Xsed isn't valid here, don't use it
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Jan 28 01:34:29 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtkfontsel.c gtkcolorsel.c: When translating
|
||||||
|
N_() strings, use _(), not gettext(), since we
|
||||||
|
really need to call dgettext().
|
||||||
|
|
||||||
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4: Xsed isn't valid here, don't use it
|
* acinclude.m4: Xsed isn't valid here, don't use it
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Jan 28 01:34:29 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtkfontsel.c gtkcolorsel.c: When translating
|
||||||
|
N_() strings, use _(), not gettext(), since we
|
||||||
|
really need to call dgettext().
|
||||||
|
|
||||||
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4: Xsed isn't valid here, don't use it
|
* acinclude.m4: Xsed isn't valid here, don't use it
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Jan 28 01:34:29 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtkfontsel.c gtkcolorsel.c: When translating
|
||||||
|
N_() strings, use _(), not gettext(), since we
|
||||||
|
really need to call dgettext().
|
||||||
|
|
||||||
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4: Xsed isn't valid here, don't use it
|
* acinclude.m4: Xsed isn't valid here, don't use it
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Jan 28 01:34:29 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtkfontsel.c gtkcolorsel.c: When translating
|
||||||
|
N_() strings, use _(), not gettext(), since we
|
||||||
|
really need to call dgettext().
|
||||||
|
|
||||||
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4: Xsed isn't valid here, don't use it
|
* acinclude.m4: Xsed isn't valid here, don't use it
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Jan 28 01:34:29 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtkfontsel.c gtkcolorsel.c: When translating
|
||||||
|
N_() strings, use _(), not gettext(), since we
|
||||||
|
really need to call dgettext().
|
||||||
|
|
||||||
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4: Xsed isn't valid here, don't use it
|
* acinclude.m4: Xsed isn't valid here, don't use it
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Jan 28 01:34:29 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtkfontsel.c gtkcolorsel.c: When translating
|
||||||
|
N_() strings, use _(), not gettext(), since we
|
||||||
|
really need to call dgettext().
|
||||||
|
|
||||||
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4: Xsed isn't valid here, don't use it
|
* acinclude.m4: Xsed isn't valid here, don't use it
|
||||||
|
@ -389,7 +389,7 @@ gtk_color_selection_init (GtkColorSelection *colorsel)
|
|||||||
|
|
||||||
for (n = HUE; n <= OPACITY; n++)
|
for (n = HUE; n <= OPACITY; n++)
|
||||||
{
|
{
|
||||||
label = gtk_label_new (gettext(scale_vals[n].label));
|
label = gtk_label_new (_(scale_vals[n].label));
|
||||||
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
|
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
|
||||||
gtk_table_attach_defaults (GTK_TABLE (table), label, 0, 1, n, n + 1);
|
gtk_table_attach_defaults (GTK_TABLE (table), label, 0, 1, n, n + 1);
|
||||||
|
|
||||||
|
@ -731,7 +731,7 @@ gtk_font_selection_init(GtkFontSelection *fontsel)
|
|||||||
row_text[2] = "";
|
row_text[2] = "";
|
||||||
for (i = 0; i < GTK_XLFD_NUM_FIELDS; i++)
|
for (i = 0; i < GTK_XLFD_NUM_FIELDS; i++)
|
||||||
{
|
{
|
||||||
row_text[0] = gettext(xlfd_field_names[i]);
|
row_text[0] = _(xlfd_field_names[i]);
|
||||||
gtk_clist_append(GTK_CLIST(fontsel->info_clist), row_text);
|
gtk_clist_append(GTK_CLIST(fontsel->info_clist), row_text);
|
||||||
gtk_clist_set_shift(GTK_CLIST(fontsel->info_clist), i, 0, 0, 4);
|
gtk_clist_set_shift(GTK_CLIST(fontsel->info_clist), i, 0, 0, 4);
|
||||||
gtk_clist_set_shift(GTK_CLIST(fontsel->info_clist), i, 1, 0, 4);
|
gtk_clist_set_shift(GTK_CLIST(fontsel->info_clist), i, 1, 0, 4);
|
||||||
@ -824,7 +824,7 @@ gtk_font_selection_init(GtkFontSelection *fontsel)
|
|||||||
gint left = filter_positions[prop][0];
|
gint left = filter_positions[prop][0];
|
||||||
gint top = filter_positions[prop][1];
|
gint top = filter_positions[prop][1];
|
||||||
|
|
||||||
label = gtk_label_new(gettext(xlfd_field_names[xlfd_index[prop]]));
|
label = gtk_label_new(_(xlfd_field_names[xlfd_index[prop]]));
|
||||||
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 1.0);
|
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 1.0);
|
||||||
gtk_misc_set_padding (GTK_MISC (label), 0, 2);
|
gtk_misc_set_padding (GTK_MISC (label), 0, 2);
|
||||||
gtk_widget_show(label);
|
gtk_widget_show(label);
|
||||||
|
Loading…
Reference in New Issue
Block a user