summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/bluredge.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/bluredge.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/bluredge.cpp')
-rw-r--r--src/extension/internal/bluredge.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/extension/internal/bluredge.cpp b/src/extension/internal/bluredge.cpp
index 3f230439a..3ae78b91f 100644
--- a/src/extension/internal/bluredge.cpp
+++ b/src/extension/internal/bluredge.cpp
@@ -125,17 +125,22 @@ BlurEdge::prefs_effect(Inkscape::Extension::Effect * module, Inkscape::UI::View:
return module->autogui();
}
+#include "clear-n_.h"
+
void
BlurEdge::init (void)
{
Inkscape::Extension::build_from_mem(
"<inkscape-extension>\n"
- "<name>Blur Edge</name>\n"
+ "<name>" N_("Blur Edge") "</name>\n"
"<id>org.inkscape.effect.bluredge</id>\n"
- "<param name=\"blur-width\" gui-text=\"Blur Width\" type=\"float\" min=\"1.0\" max=\"50.0\">1.0</param>\n"
- "<param name=\"num-steps\" gui-text=\"Number of Steps\" type=\"int\" min=\"5\" max=\"100\">11</param>\n"
+ "<param name=\"blur-width\" gui-text=\"" N_("Blur Width") "\" type=\"float\" min=\"1.0\" max=\"50.0\">1.0</param>\n"
+ "<param name=\"num-steps\" gui-text=\"" N_("Number of Steps") "\" type=\"int\" min=\"5\" max=\"100\">11</param>\n"
"<effect>\n"
"<object-type>all</object-type>\n"
+ "<effects-menu>\n"
+ "<submenu name=\"" N_("Enhance Path") "\" />\n"
+ "</effects-menu>\n"
"</effect>\n"
"</inkscape-extension>\n" , new BlurEdge());
return;