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;
|
Orientation = LayoutOrientation.Vertical;
|
||||||
HorizontalExpand = true;
|
HorizontalExpand = true;
|
||||||
|
|
||||||
|
if (Loc.TryGetString($"department-{sectionTitle}", out var localizedDepart))
|
||||||
|
sectionTitle = localizedDepart;
|
||||||
|
|
||||||
AddChild(new Label()
|
AddChild(new Label()
|
||||||
{
|
{
|
||||||
StyleClasses = { "LabelBig" },
|
StyleClasses = { "LabelBig" },
|
||||||
|
|||||||
Reference in New Issue
Block a user