Resolve department locale in crew manifest (#11723)
This commit is contained in:
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user