Commit c68239e9 authored by Alexandre Prokoudine's avatar Alexandre Prokoudine

Make new Metadata submenu and new dialogs' captions translatable.

Adjust the tooltip for the Edit Metadata menu item.
parent 4789acfd
......@@ -62,6 +62,7 @@ static const GimpActionEntry image_actions[] =
"Color Ma_nagement") },
{ "image-transform-menu", NULL, NC_("image-action", "_Transform") },
{ "image-guides-menu", NULL, NC_("image-action", "_Guides") },
{ "image-metadata-menu", NULL, NC_("image-action", "Meta_data") },
{ "colors-menu", NULL, NC_("image-action", "_Colors") },
{ "colors-info-menu", NULL, NC_("image-action", "I_nfo") },
......
......@@ -423,6 +423,8 @@
</menu>
<menuitem action="image-configure-grid" />
<menuitem action="image-properties" />
<menu action="image-metadata-menu" name="Metadata">
</menu>
<separator />
</menu>
......
......@@ -405,15 +405,15 @@ query (void)
};
gimp_install_procedure (PLUG_IN_PROC,
N_("Edit metadata"),
N_("Edit metadata (IPTC, GPS, DICOM)"),
"Edit metadata information attached to the "
"current image. Some or all of this metadata "
"current image. Some or all of this metadata "
"will be saved in the file, depending on the output "
"file format.",
"Ben Touchette",
"Ben Touchette",
"2017",
N_("Edit Metadata"),
N_("Edit metadata"),
"*",
GIMP_PLUGIN,
G_N_ELEMENTS (metadata_args), 0,
......@@ -536,7 +536,7 @@ metadata_editor_dialog (gint32 image_id,
g_free (ui_file);
name = gimp_image_get_name (image_id);
title = g_strdup_printf ("Metadata Editor: %s", name);
title = g_strdup_printf (_("Metadata Editor: %s"), name);
if (name)
g_free (name);
......
......@@ -198,7 +198,7 @@ metadata_viewer_dialog (gint32 image_id,
g_free (ui_file);
name = gimp_image_get_name (image_id);
title = g_strdup_printf ("Metadata Viewer: %s", name);
title = g_strdup_printf (_("Metadata Viewer: %s"), name);
g_free (name);
dialog = gimp_dialog_new (title,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment