summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/svgz.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2006-01-30 05:12:51 +0000
committergouldtj <gouldtj@users.sourceforge.net>2006-01-30 05:12:51 +0000
commitd797170d50c65d8791198c709359b58af8d974fd (patch)
treeaf8ef32d16e6fe13e42cfb71a062af7fee4f0084 /src/extension/internal/svgz.cpp
parentr10819@tres: ted | 2006-01-29 16:08:29 -0800 (diff)
downloadinkscape-d797170d50c65d8791198c709359b58af8d974fd.tar.gz
inkscape-d797170d50c65d8791198c709359b58af8d974fd.zip
r10820@tres: ted | 2006-01-29 16:56:50 -0800
Making it so all the important strings in the INX files are translateable. Also added in a 'clear-n_.h' to change the N_() macro from an inline function to a pure macro. Lastly, added in submenus for the effects. (bzr r55)
Diffstat (limited to 'src/extension/internal/svgz.cpp')
-rw-r--r--src/extension/internal/svgz.cpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/extension/internal/svgz.cpp b/src/extension/internal/svgz.cpp
index d56ac31b2..49d37f082 100644
--- a/src/extension/internal/svgz.cpp
+++ b/src/extension/internal/svgz.cpp
@@ -22,6 +22,8 @@ namespace Inkscape {
namespace Extension {
namespace Internal {
+#include "clear-n_.h"
+
/**
\return None
\brief What would an SVG editor be without loading/saving SVG
@@ -42,14 +44,14 @@ Svgz::init(void)
/* SVGZ in */
ext = Inkscape::Extension::build_from_mem(
"<inkscape-extension>\n"
- "<name>SVGZ Input</name>\n"
+ "<name>" N_("SVGZ Input") "</name>\n"
"<id>" SP_MODULE_KEY_INPUT_SVGZ "</id>\n"
"<dependency type=\"extension\">" SP_MODULE_KEY_INPUT_SVG "</dependency>\n"
"<input>\n"
"<extension>.svgz</extension>\n"
"<mimetype>image/x-svgz</mimetype>\n"
- "<filetypename>Compressed Inkscape SVG (*.svgz)</filetypename>\n"
- "<filetypetooltip>SVG file format compressed with GZip</filetypetooltip>\n"
+ "<filetypename>" N_("Compressed Inkscape SVG (*.svgz)") "</filetypename>\n"
+ "<filetypetooltip>" N_("SVG file format compressed with GZip") "</filetypetooltip>\n"
"<output_extension>" SP_MODULE_KEY_OUTPUT_SVGZ_INKSCAPE "</output_extension>\n"
"</input>\n"
"</inkscape-extension>", new Svgz());
@@ -57,13 +59,13 @@ Svgz::init(void)
/* SVGZ out Inkscape */
ext = Inkscape::Extension::build_from_mem(
"<inkscape-extension>\n"
- "<name>SVGZ Output</name>\n"
+ "<name>" N_("SVGZ Output") "</name>\n"
"<id>" SP_MODULE_KEY_OUTPUT_SVGZ_INKSCAPE "</id>\n"
"<output>\n"
"<extension>.svgz</extension>\n"
"<mimetype>image/x-svgz</mimetype>\n"
- "<filetypename>Compressed Inkscape SVG (*.svgz)</filetypename>\n"
- "<filetypetooltip>Inkscape's native file format compressed with GZip</filetypetooltip>\n"
+ "<filetypename>" N_("Compressed Inkscape SVG (*.svgz)") "</filetypename>\n"
+ "<filetypetooltip>" N_("Inkscape's native file format compressed with GZip") "</filetypetooltip>\n"
"<dataloss>FALSE</dataloss>\n"
"</output>\n"
"</inkscape-extension>", new Svgz());
@@ -71,13 +73,13 @@ Svgz::init(void)
/* SVGZ out */
ext = Inkscape::Extension::build_from_mem(
"<inkscape-extension>\n"
- "<name>SVGZ Output</name>\n"
+ "<name>" N_("SVGZ Output") "</name>\n"
"<id>" SP_MODULE_KEY_OUTPUT_SVGZ "</id>\n"
"<output>\n"
"<extension>.svgz</extension>\n"
"<mimetype>image/x-svgz</mimetype>\n"
- "<filetypename>Compressed plain SVG (*.svgz)</filetypename>\n"
- "<filetypetooltip>Scalable Vector Graphics format compressed with GZip</filetypetooltip>\n"
+ "<filetypename>" N_("Compressed plain SVG (*.svgz)") "</filetypename>\n"
+ "<filetypetooltip>" N_("Scalable Vector Graphics format compressed with GZip") "</filetypetooltip>\n"
"</output>\n"
"</inkscape-extension>\n", new Svgz());