Resolve department locale in crew manifest (#11723)

This commit is contained in:
Morb
2022-10-09 22:23:42 +03:00
committed by GitHub
parent 7e14a3ca48
commit 2f6175de32

View File

@@ -104,6 +104,9 @@ public sealed partial class CrewManifestUi : DefaultWindow
Orientation = LayoutOrientation.Vertical;
HorizontalExpand = true;
if (Loc.TryGetString($"department-{sectionTitle}", out var localizedDepart))
sectionTitle = localizedDepart;
AddChild(new Label()
{
StyleClasses = { "LabelBig" },