diff options
| author | Ted Gould <ted@gould.cx> | 2006-01-30 05:12:51 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2006-01-30 05:12:51 +0000 |
| commit | d797170d50c65d8791198c709359b58af8d974fd (patch) | |
| tree | af8ef32d16e6fe13e42cfb71a062af7fee4f0084 /src/extension/internal/gimpgrad.cpp | |
| parent | r10819@tres: ted | 2006-01-29 16:08:29 -0800 (diff) | |
| download | inkscape-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/gimpgrad.cpp')
| -rw-r--r-- | src/extension/internal/gimpgrad.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/extension/internal/gimpgrad.cpp b/src/extension/internal/gimpgrad.cpp index 9560c5df6..ac3b807d1 100644 --- a/src/extension/internal/gimpgrad.cpp +++ b/src/extension/internal/gimpgrad.cpp @@ -201,19 +201,20 @@ GimpGrad::open (Inkscape::Extension::Input *module, gchar const *filename) return sp_document_new_from_mem(outsvg.c_str(), outsvg.length(), TRUE); } +#include "clear-n_.h" + void GimpGrad::init (void) { Inkscape::Extension::build_from_mem( "<inkscape-extension>\n" - "<name>GIMP Gradients</name>\n" + "<name>" N_("GIMP Gradients") "</name>\n" "<id>org.inkscape.input.gimpgrad</id>\n" - "<dependency type=\"plugin\" location=\"plugins\">gimpgrad</dependency>\n" "<input>\n" "<extension>.ggr</extension>\n" "<mimetype>application/x-gimp-gradient</mimetype>\n" - "<filetypename>GIMP Gradient (*.ggr)</filetypename>\n" - "<filetypetooltip>Gradients used in GIMP</filetypetooltip>\n" + "<filetypename>" N_("GIMP Gradient (*.ggr)") "</filetypename>\n" + "<filetypetooltip>" N_("Gradients used in GIMP") "</filetypetooltip>\n" "</input>\n" "</inkscape-extension>\n", new GimpGrad()); return; |
