app, plug-ins: fix translatability of static strings

Fixes #10565
This commit is contained in:
Anders Jonsson 2024-04-20 00:04:39 +02:00 committed by Alx Sa
parent 1c3522802a
commit d92519a8e8
3 changed files with 4 additions and 4 deletions

View file

@ -224,7 +224,7 @@ create_widget_for_module (gpointer item,
gtk_widget_show (checkbox);
gtk_grid_attach (GTK_GRID (grid), checkbox, 0, 0, 1, 1);
label = gtk_label_new (info ? gettext (info->purpose) :
label = gtk_label_new (info ? dgettext (GETTEXT_PACKAGE "-libgimp", info->purpose) :
gimp_file_get_utf8_name (file));
gtk_widget_show (label);
gtk_grid_attach (GTK_GRID (grid), label, 1, 0, 1, 1);

View file

@ -344,7 +344,7 @@ compressor_create_procedure (GimpPlugIn *plug_in,
if (procedure)
{
gimp_procedure_set_menu_label (procedure, compressor->file_type);
gimp_procedure_set_menu_label (procedure, _(compressor->file_type));
gimp_procedure_set_attribution (procedure,
"Daniel Risacher",

View file

@ -197,7 +197,7 @@ goat_create_procedure (GimpPlugIn *plug_in,
goat_load,
(gpointer) format, NULL);
gimp_procedure_set_menu_label (procedure, format->file_type);
gimp_procedure_set_menu_label (procedure, _(format->file_type));
gimp_procedure_set_documentation (procedure,
format->load_blurb,
@ -220,7 +220,7 @@ goat_create_procedure (GimpPlugIn *plug_in,
gimp_procedure_set_image_types (procedure, "*");
gimp_procedure_set_menu_label (procedure, format->file_type);
gimp_procedure_set_menu_label (procedure, _(format->file_type));
gimp_procedure_set_documentation (procedure,
format->export_blurb,