summaryrefslogtreecommitdiffstats
path: root/src/dialogs/object-attributes.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2010-10-20 19:29:53 +0000
committerJazzyNico <nicoduf@yahoo.fr>2010-10-20 19:29:53 +0000
commit4153532698cd4f447d99ffa9d4cf91e4438077d3 (patch)
tree21f02253d9b764fcf7ec0720681afec224e9a773 /src/dialogs/object-attributes.cpp
parentUse a better snap metric for constrained snapping (i.e. calculate the distanc... (diff)
downloadinkscape-4153532698cd4f447d99ffa9d4cf91e4438077d3.tar.gz
inkscape-4153532698cd4f447d99ffa9d4cf91e4438077d3.zip
i18n. Link/image properties dialog title is now fully translatable.
(bzr r9838)
Diffstat (limited to 'src/dialogs/object-attributes.cpp')
-rw-r--r--src/dialogs/object-attributes.cpp9
1 files changed, 8 insertions, 1 deletions
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);