Skip to content

Commit

Permalink
localize "Unknown" option menu string
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaulwurff authored and coelckers committed Jul 30, 2022
1 parent 4422f90 commit 46d9564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/engine/ui/menu/optionmenuitems.zs
Expand Up @@ -304,7 +304,7 @@ class OptionMenuItemOptionBase : OptionMenuItem

int Selection = GetSelection();
String text = StringTable.Localize(OptionValues.GetText(mValues, Selection));
if (text.Length() == 0) text = "Unknown";
if (text.Length() == 0) text = StringTable.Localize("$TXT_UNKNOWN");
drawValue(indent, y, OptionMenuSettings.mFontColorValue, text, isGrayed());
return indent;
}
Expand Down

0 comments on commit 46d9564

Please sign in to comment.