plug-ins:imagemap: Use proper command title

This string is a bit tricky to find.

Go to "Menu > Filters > Web > Image Map."

This filter opens a dialog with a menu.

Go to "Menu > Tools > Use GIMP Guides..."

You can see that the command entry in the filter's menu is
"Use GIMP Guides," but it changes to
"Use Gimp Guides" in the dialog box title.

This patch fixes it.
This commit is contained in:
Sabri Ünal 2025-10-28 22:22:07 +03:00
parent 149a1b9c9a
commit 94c9d225c8

View file

@ -113,7 +113,7 @@ gimp_guides_ok_cb(gpointer data)
/* Create the areas */
subcommand_start(_("Use Gimp Guides"));
subcommand_start(_("Use GIMP Guides"));
for (hg = hguides; hg && hg->next;
hg = (all) ? hg->next : hg->next->next) {
@ -143,7 +143,7 @@ make_gimp_guides_dialog(void)
GtkWidget *grid, *frame, *hbox, *vbox;
GtkWidget *label;
dialog = data->dialog = make_default_dialog(_("Use Gimp Guides"));
dialog = data->dialog = make_default_dialog(_("Use GIMP Guides"));
default_dialog_set_ok_cb(dialog, gimp_guides_ok_cb, data);
grid = default_dialog_add_grid (dialog);
@ -250,7 +250,7 @@ gimp_guides_command_new (ObjectList_t *list,
GimpGuidesCommand_t *command = g_new(GimpGuidesCommand_t, 1);
command->list = list;
command->drawable = drawable;
return command_init(&command->parent, _("Use Gimp Guides"),
return command_init(&command->parent, _("Use GIMP Guides"),
&gimp_guides_command_class);
}