summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24e9189)
raw | patch | inline | side by side (parent: 24e9189)
| author | gouldtj <gouldtj@users.sourceforge.net> | |
| Sat, 6 May 2006 16:02:03 +0000 (16:02 +0000) | ||
| committer | gouldtj <gouldtj@users.sourceforge.net> | |
| Sat, 6 May 2006 16:02:03 +0000 (16:02 +0000) |
Making it so that menu-name and menu-tip are translatable.
| src/extension/effect.cpp | patch | blob | history |
index 78af878d35d72744a10aac3f4202e66cb998347e..aefdeefa75a875de03056715fad4f150fe794a69 100644 (file)
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
// 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());
}