From 0e558fef412462a7b47ce4256765e718b22b3d20 Mon Sep 17 00:00:00 2001 From: gouldtj Date: Sat, 6 May 2006 16:02:03 +0000 Subject: [PATCH] r11675@tres: ted | 2006-05-05 21:28:44 -0700 Making it so that menu-name and menu-tip are translatable. --- src/extension/effect.cpp | 6 ++++-- 1 file 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()); } -- 2.39.5