summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7767007)
raw | patch | inline | side by side (parent: 7767007)
author | JazzyNico <nicoduf@yahoo.fr> | |
Tue, 13 Jul 2010 16:20:53 +0000 (18:20 +0200) | ||
committer | JazzyNico <nicoduf@yahoo.fr> | |
Tue, 13 Jul 2010 16:20:53 +0000 (18:20 +0200) |
src/extension/internal/gdkpixbuf-input.cpp | patch | blob | history |
diff --git a/src/extension/internal/gdkpixbuf-input.cpp b/src/extension/internal/gdkpixbuf-input.cpp
index a1295406c09c00a470e356a620bb3f5308c80f1d..df7f3481c7a3892e4d26a701ea8db63bff750a99 100644 (file)
# include <config.h>
#endif
#include <glib/gprintf.h>
+#include <glibmm/i18n.h>
#include "document-private.h"
#include <dir-util.h>
#include "extension/input.h"
if (strcmp(extensions[i], "svg.gz") == 0) {
continue;
}
-
+ gchar *caption = g_strdup_printf(_("%s GDK pixbuf Input"), name);
gchar *xmlString = g_strdup_printf(
"<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI "\">\n"
- "<name>" N_("%s GDK pixbuf Input") "</name>\n"
+ "<name>%s</name>\n"
"<id>org.inkscape.input.gdkpixbuf.%s</id>\n"
"<param name='link' type='optiongroup' appearance='full' _gui-text='" N_("Link or embed image:") "' >\n"
"<_option value='embed'>" N_("embed") "</_option>\n"
"<filetypetooltip>%s</filetypetooltip>\n"
"</input>\n"
"</inkscape-extension>",
- name,
+ caption,
extensions[i],
extensions[i],
mimetypes[j],
Inkscape::Extension::build_from_mem(xmlString, new GdkpixbufInput());
g_free(xmlString);
+ g_free(caption);
}}
g_free(name);