Localization hud layout (#31013)

This commit is contained in:
to4no_fix
2024-08-17 05:04:33 +03:00
committed by GitHub
parent 20786c12fa
commit 4ee9c00200
2 changed files with 3 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ public sealed partial class MiscTab : Control
var layoutEntries = new List<OptionDropDownCVar<string>.ValueOption>();
foreach (var layout in Enum.GetValues(typeof(ScreenType)))
{
layoutEntries.Add(new OptionDropDownCVar<string>.ValueOption(layout.ToString()!, layout.ToString()!));
layoutEntries.Add(new OptionDropDownCVar<string>.ValueOption(layout.ToString()!, Loc.GetString($"ui-options-hud-layout-{layout.ToString()!.ToLower()}")));
}
// Channel can be null in replays so.