From 4153532698cd4f447d99ffa9d4cf91e4438077d3 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Wed, 20 Oct 2010 21:29:53 +0200 Subject: i18n. Link/image properties dialog title is now fully translatable. (bzr r9838) --- src/dialogs/object-attributes.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/dialogs/object-attributes.cpp') 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); -- cgit v1.2.3 From 144819c918dc761641c3cb5a490205fb73194ee3 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Wed, 17 Nov 2010 13:12:56 +1100 Subject: Super duper mega (fun!) commit: replaced encoding=utf-8 with fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900) --- src/dialogs/object-attributes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dialogs/object-attributes.cpp') diff --git a/src/dialogs/object-attributes.cpp b/src/dialogs/object-attributes.cpp index fe5d9c3e1..d9a0545e1 100644 --- a/src/dialogs/object-attributes.cpp +++ b/src/dialogs/object-attributes.cpp @@ -160,4 +160,4 @@ sp_object_attributes_dialog (SPObject *object, const gchar *tag) fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : -- cgit v1.2.3