summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/ps.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/ps.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/ps.cpp')
-rw-r--r--src/extension/internal/ps.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/extension/internal/ps.cpp b/src/extension/internal/ps.cpp
index 2b3103f40..b2675c3e7 100644
--- a/src/extension/internal/ps.cpp
+++ b/src/extension/internal/ps.cpp
@@ -1227,13 +1227,15 @@ PrintPS::textToPath(Inkscape::Extension::Print * ext)
return ext->get_param_bool("textToPath");
}
+#include "clear-n_.h"
+
void
PrintPS::init(void)
{
/* SVG in */
(void) Inkscape::Extension::build_from_mem(
"<inkscape-extension>\n"
- "<name>Postscript Print</name>\n"
+ "<name>" N_("Postscript Print") "</name>\n"
"<id>" SP_MODULE_KEY_PRINT_PS "</id>\n"
"<param name=\"bitmap\" type=\"boolean\">FALSE</param>\n"
"<param name=\"resolution\" type=\"string\">72</param>\n"