plug-ins: more complete naming for Python|Script-Fu consoles.

Just "Console" is enough in the context of menus with submenu hierarchy,
but when accessing directly the feature (with Action Search for
instance), a more accurate name is nicer. It avoids to have to check
what is what in the tooltip text.
This commit is contained in:
Jehan 2020-05-26 14:32:11 +02:00
parent ab172872ce
commit b00bb346a9
2 changed files with 2 additions and 2 deletions

View File

@ -277,7 +277,7 @@ class PythonConsole (Gimp.PlugIn):
procedure = Gimp.Procedure.new(self, name,
Gimp.PDBProcType.PLUGIN,
run, None)
procedure.set_menu_label(N_("_Console"))
procedure.set_menu_label(N_("Python _Console"))
procedure.set_documentation(N_("Interactive GIMP Python interpreter"),
"Type in commands and see results",
"")

View File

@ -135,7 +135,7 @@ script_fu_create_procedure (GimpPlugIn *plug_in,
GIMP_PDB_PROC_TYPE_PLUGIN,
script_fu_run, NULL, NULL);
gimp_procedure_set_menu_label (procedure, N_("_Console"));
gimp_procedure_set_menu_label (procedure, N_("Script-Fu _Console"));
gimp_procedure_add_menu_path (procedure,
"<Image>/Filters/Development/Script-Fu");