Code

r17815@shi: ted | 2008-01-31 08:58:15 -0800
authorgouldtj <gouldtj@users.sourceforge.net>
Thu, 31 Jan 2008 17:01:10 +0000 (17:01 +0000)
committergouldtj <gouldtj@users.sourceforge.net>
Thu, 31 Jan 2008 17:01:10 +0000 (17:01 +0000)
 Fixing borked i18n attempt.  The inline XML files should NOT use
 the '_' tag syntax.  It won't work.

src/extension/internal/cairo-ps-out.cpp

index 04a4c333e232abcee1d9f4f3bb00d1b3751928a5..1e3bfaf3700cfd586e0ab5b942af0dcf5d78b317 100644 (file)
@@ -219,7 +219,7 @@ CairoPsOutput::init (void)
 {
        Inkscape::Extension::build_from_mem(
                "<inkscape-extension>\n"
-                       "<_name>Cairo PS Output</name>\n"
+                       "<name>Cairo PS Output</name>\n"
                        "<id>" SP_MODULE_KEY_PRINT_CAIRO_PS "</id>\n"
                        "<param name=\"PSlevel\" gui-text=\"" N_("Restrict to PS level") "\" type=\"enum\" >\n"
                                "<item value='PS3'>" N_("PostScript level 3") "</item>\n"
@@ -233,8 +233,8 @@ CairoPsOutput::init (void)
                        "<output>\n"
                                "<extension>.ps</extension>\n"
                 "<mimetype>application/ps</mimetype>\n"
-                               "<_filetypename>PostScript via Cairo (*.ps)</filetypename>\n"
-                               "<_filetypetooltip>PostScript File</filetypetooltip>\n"
+                               "<filetypename>" N_("PostScript via Cairo (*.ps)") "</filetypename>\n"
+                               "<filetypetooltip>" N_("PostScript File") "</filetypetooltip>\n"
                        "</output>\n"
                "</inkscape-extension>", new CairoPsOutput());