app: make a tooltip translatable and translate device axis strings.

Thanks to Cristian Secară on the developer mailing list to notice them.
This commit is contained in:
Jehan 2020-06-09 10:58:28 +02:00
parent b070abe5bf
commit 5302beb947
2 changed files with 3 additions and 3 deletions

View File

@ -686,7 +686,7 @@ _("Use a single toolbox button for grouped tools.")
_("Show the currently active image in the toolbox.")
#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 \
_("Sets the manner in which transparency is displayed in images.")

View File

@ -450,7 +450,7 @@ gimp_device_info_editor_constructed (GObject *object)
gchar *title;
/* 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);
gtk_notebook_append_page (GTK_NOTEBOOK (private->notebook), frame, NULL);
@ -523,7 +523,7 @@ gimp_device_info_editor_constructed (GObject *object)
gchar *string;
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);
gtk_container_add (GTK_CONTAINER (frame), label);