app: make a tooltip translatable and translate device axis strings.
Thanks to Cristian Secară on the developer mailing list to notice them.
(cherry picked from commit 5302beb947
)
This commit is contained in:
@ -692,7 +692,7 @@ _("Use a single toolbox button for grouped tools.")
|
|||||||
_("Show the currently active image in the toolbox.")
|
_("Show the currently active image in the toolbox.")
|
||||||
|
|
||||||
#define TOOLBOX_WILBER_BLURB \
|
#define TOOLBOX_WILBER_BLURB \
|
||||||
"Show the GIMP mascot at the top of the toolbox."
|
_("Show the GIMP mascot at the top of the toolbox.")
|
||||||
|
|
||||||
#define TRANSPARENCY_TYPE_BLURB \
|
#define TRANSPARENCY_TYPE_BLURB \
|
||||||
_("Sets the manner in which transparency is displayed in images.")
|
_("Sets the manner in which transparency is displayed in images.")
|
||||||
|
@ -412,7 +412,7 @@ gimp_device_info_editor_constructed (GObject *object)
|
|||||||
gchar *title;
|
gchar *title;
|
||||||
|
|
||||||
/* e.g. "Pressure Curve" for mapping input device axes */
|
/* e.g. "Pressure Curve" for mapping input device axes */
|
||||||
title = g_strdup_printf (_("%s Curve"), axis_use_strings[i - 1]);
|
title = g_strdup_printf (_("%s Curve"), gettext (axis_use_strings[i - 1]));
|
||||||
|
|
||||||
frame = gimp_frame_new (title);
|
frame = gimp_frame_new (title);
|
||||||
gtk_notebook_append_page (GTK_NOTEBOOK (private->notebook), frame, NULL);
|
gtk_notebook_append_page (GTK_NOTEBOOK (private->notebook), frame, NULL);
|
||||||
@ -485,7 +485,7 @@ gimp_device_info_editor_constructed (GObject *object)
|
|||||||
gchar *string;
|
gchar *string;
|
||||||
|
|
||||||
string = g_strdup_printf (_("The axis '%s' has no curve"),
|
string = g_strdup_printf (_("The axis '%s' has no curve"),
|
||||||
axis_use_strings[i - 1]);
|
gettext (axis_use_strings[i - 1]));
|
||||||
|
|
||||||
label = gtk_label_new (string);
|
label = gtk_label_new (string);
|
||||||
gtk_container_add (GTK_CONTAINER (frame), label);
|
gtk_container_add (GTK_CONTAINER (frame), label);
|
||||||
|
Reference in New Issue
Block a user