Localization hud layout (#31013)
This commit is contained in:
@@ -33,7 +33,7 @@ public sealed partial class MiscTab : Control
|
|||||||
var layoutEntries = new List<OptionDropDownCVar<string>.ValueOption>();
|
var layoutEntries = new List<OptionDropDownCVar<string>.ValueOption>();
|
||||||
foreach (var layout in Enum.GetValues(typeof(ScreenType)))
|
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.
|
// Channel can be null in replays so.
|
||||||
|
|||||||
@@ -77,6 +77,8 @@ ui-options-hud-theme-clockwork = Clockwork
|
|||||||
ui-options-hud-theme-retro = Retro
|
ui-options-hud-theme-retro = Retro
|
||||||
ui-options-hud-theme-minimalist = Minimalist
|
ui-options-hud-theme-minimalist = Minimalist
|
||||||
ui-options-hud-theme-ashen = Ashen
|
ui-options-hud-theme-ashen = Ashen
|
||||||
|
ui-options-hud-layout-default = Default
|
||||||
|
ui-options-hud-layout-separated = Separated
|
||||||
ui-options-vp-stretch = Stretch viewport to fit game window
|
ui-options-vp-stretch = Stretch viewport to fit game window
|
||||||
ui-options-vp-scale = Fixed viewport scale:
|
ui-options-vp-scale = Fixed viewport scale:
|
||||||
ui-options-vp-scale-value = x{ $scale }
|
ui-options-vp-scale-value = x{ $scale }
|
||||||
|
|||||||
Reference in New Issue
Block a user