From: gouldtj Date: Sat, 6 May 2006 16:02:03 +0000 (+0000) Subject: r11675@tres: ted | 2006-05-05 21:28:44 -0700 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e558fef412462a7b47ce4256765e718b22b3d20;p=inkscape.git r11675@tres: ted | 2006-05-05 21:28:44 -0700 Making it so that menu-name and menu-tip are translatable. --- 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()); }