Skip to content
Permalink
Browse files

localize custom menu titles in option search results

  • Loading branch information...
mmaulwurff authored and coelckers committed Jun 12, 2019
1 parent cb8c988 commit c161635cca5939d71082eb8a6176b68366082f9b
Showing with 1 addition and 1 deletion.
  1. +1 −1 wadsrc/static/zscript/ui/menu/search/menu.zs
@@ -89,7 +89,7 @@ class os_Menu : OptionMenu
string actionN = item.GetAction();
let textItem = ListMenuItemTextItem(item);
string newPath = textItem
? makePath(path, textItem.mText)
? makePath(path, StringTable.Localize(textItem.mText))
: path;

found |= listOptions(targetDesc, actionN, query, newPath, isAnyTermMatches);

0 comments on commit c161635

Please sign in to comment.
You can’t perform that action at this time.