index a41b900070f985f0eec741dc9f95d2119688d652..d59e246b092e1e9c468c4235ba54dddbaa908c1e 100644 (file)
namespace Internal {
bool
-PsOutput::check (Inkscape::Extension::Extension * module)
+PsOutput::check( Inkscape::Extension::Extension * /*module*/ )
{
- if (NULL == Inkscape::Extension::db.get(SP_MODULE_KEY_PRINT_PS))
- return FALSE;
+ if (NULL == Inkscape::Extension::db.get(SP_MODULE_KEY_PRINT_PS))
+ return FALSE;
- return TRUE;
+ return TRUE;
}
/**
return;
}
+#include "clear-n_.h"
+
/**
\brief A function allocate a copy of this function.
{
Inkscape::Extension::build_from_mem(
"<inkscape-extension>\n"
- "<name>Postscript Output</name>\n"
+ "<name>" N_("Postscript Output") "</name>\n"
"<id>org.inkscape.output.ps</id>\n"
- "<param name=\"textToPath\" gui-text=\"Text to Path\" type=\"boolean\">true</param>\n"
+ "<param name=\"textToPath\" gui-text=\"" N_("Convert texts to paths") "\" type=\"boolean\">true</param>\n"
+ "<param name=\"fontEmbedded\" gui-text=\"" N_("Embed fonts (Type 1 only)") "\" type=\"boolean\">false</param>\n"
"<output>\n"
"<extension>.ps</extension>\n"
"<mimetype>image/x-postscript</mimetype>\n"
- "<filetypename>Postscript (*.ps)</filetypename>\n"
- "<filetypetooltip>Postscript File</filetypetooltip>\n"
+ "<filetypename>" N_("PostScript (*.ps)") "</filetypename>\n"
+ "<filetypetooltip>" N_("PostScript File") "</filetypetooltip>\n"
"</output>\n"
"</inkscape-extension>", new PsOutput());