summaryrefslogtreecommitdiffstats
path: root/src/extension/effect.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2006-05-06 16:02:03 +0000
committergouldtj <gouldtj@users.sourceforge.net>2006-05-06 16:02:03 +0000
commit18a92223c78e0772956862cccb2658b76c852538 (patch)
treecea57c28a406d86667275f75b6568f7b5b81e407 /src/extension/effect.cpp
parentr11674@tres: ted | 2006-05-05 21:19:48 -0700 (diff)
downloadinkscape-18a92223c78e0772956862cccb2658b76c852538.tar.gz
inkscape-18a92223c78e0772956862cccb2658b76c852538.zip
r11675@tres: ted | 2006-05-05 21:28:44 -0700
Making it so that menu-name and menu-tip are translatable. (bzr r749)
Diffstat (limited to 'src/extension/effect.cpp')
-rw-r--r--src/extension/effect.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp
index 78af878d3..aefdeefa7 100644
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
@@ -42,11 +42,13 @@ Effect::Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation *
// printf("Found local effects menu in %s\n", this->get_name());
local_effects_menu = sp_repr_children(child_repr);
}
- if (!strcmp(child_repr->name(), "menu-name")) {
+ if (!strcmp(child_repr->name(), "menu-name") ||
+ !strcmp(child_repr->name(), "_menu-name")) {
// printf("Found local effects menu in %s\n", this->get_name());
_verb.set_name(sp_repr_children(child_repr)->content());
}
- if (!strcmp(child_repr->name(), "menu-tip")) {
+ if (!strcmp(child_repr->name(), "menu-tip") ||
+ !strcmp(child_repr->name(), "_menu-tip")) {
// printf("Found local effects menu in %s\n", this->get_name());
_verb.set_tip(sp_repr_children(child_repr)->content());
}