mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 05:21:16 +00:00
localize custom menu titles in option search results
This commit is contained in:
parent
cb8c98827a
commit
c161635cca
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue