[gimp] Make new Metadata submenu and new dialogs' captions translatable.
- From: Alexandre Prokoudine <aprokoudine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Make new Metadata submenu and new dialogs' captions translatable.
- Date: Sat, 8 Jul 2017 00:23:05 +0000 (UTC)
commit c68239e937955bb2201a4750605ae850a6260b38
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date: Sat Jul 8 03:16:41 2017 +0300
Make new Metadata submenu and new dialogs' captions translatable.
Adjust the tooltip for the Edit Metadata menu item.
app/actions/image-actions.c | 1 +
menus/image-menu.xml.in | 2 ++
plug-ins/metadata/metadata-editor.c | 8 ++++----
plug-ins/metadata/metadata-viewer.c | 2 +-
4 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/app/actions/image-actions.c b/app/actions/image-actions.c
index 27324e7..cdd7446 100644
--- a/app/actions/image-actions.c
+++ b/app/actions/image-actions.c
@@ -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") },
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 342487a..3d35fae 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -423,6 +423,8 @@
</menu>
<menuitem action="image-configure-grid" />
<menuitem action="image-properties" />
+ <menu action="image-metadata-menu" name="Metadata">
+ </menu>
<separator />
</menu>
diff --git a/plug-ins/metadata/metadata-editor.c b/plug-ins/metadata/metadata-editor.c
index dc1e049..92bb6fe 100644
--- a/plug-ins/metadata/metadata-editor.c
+++ b/plug-ins/metadata/metadata-editor.c
@@ -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);
diff --git a/plug-ins/metadata/metadata-viewer.c b/plug-ins/metadata/metadata-viewer.c
index e6b7cbc..c0be370 100644
--- a/plug-ins/metadata/metadata-viewer.c
+++ b/plug-ins/metadata/metadata-viewer.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]