Resolve department locale in crew manifest (#11723)
This commit is contained in:
parent
7e14a3ca48
commit
2f6175de32
|
|
@ -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" },
|
||||
|
|
|
|||
Loading…
Reference in New Issue