From 616d911612970e91f95b4debe4b75d0196a9c219 Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Wed, 20 Oct 2010 21:29:53 +0200 Subject: [PATCH] i18n. Link/image properties dialog title is now fully translatable. --- po/inkscape.pot | 16 +++++++++++++--- src/dialogs/object-attributes.cpp | 9 ++++++++- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/po/inkscape.pot b/po/inkscape.pot index 6abc4f4e3..3cfdfeaca 100644 --- a/po/inkscape.pot +++ b/po/inkscape.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: inkscape-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2010-10-19 17:50+0200\n" +"POT-Creation-Date: 2010-10-20 21:25+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -7858,7 +7858,17 @@ msgstr "" msgid "Y:" msgstr "" -#: ../src/dialogs/object-attributes.cpp:106 +#: ../src/dialogs/object-attributes.cpp:107 +#, c-format +msgid "Link Properties" +msgstr "" + +#: ../src/dialogs/object-attributes.cpp:109 +#, c-format +msgid "Image Properties" +msgstr "" + +#: ../src/dialogs/object-attributes.cpp:111 #, c-format msgid "%s Properties" msgstr "" @@ -14549,7 +14559,7 @@ msgstr "" #. Item dialog #. Fill and Stroke dialog -#: ../src/ui/context-menu.cpp:507 ../src/ui/context-menu.cpp:542 +#: ../src/ui/context-menu.cpp:509 ../src/ui/context-menu.cpp:527 #: ../src/verbs.cpp:2628 msgid "_Fill and Stroke..." msgstr "" diff --git a/src/dialogs/object-attributes.cpp b/src/dialogs/object-attributes.cpp index 320840f76..fe5d9c3e1 100644 --- a/src/dialogs/object-attributes.cpp +++ b/src/dialogs/object-attributes.cpp @@ -103,7 +103,14 @@ sp_object_attr_show_dialog ( SPObject *object, attrs[i] = desc[i].attribute; } - title = g_strdup_printf (_("%s Properties"), tag); + if (!strcmp (tag, "Link")) { + title = g_strdup_printf (_("Link Properties")); + } else if (!strcmp (tag, "Image")) { + title = g_strdup_printf (_("Image Properties")); + } else { + title = g_strdup_printf (_("%s Properties"), tag); + } + w = sp_window_new (title, TRUE); g_free (title); -- 2.30.2