Job title localization (#32338)

* Job title localization

* Correcting fields
This commit is contained in:
chavonadelal
2024-10-09 18:05:36 +03:00
committed by GitHub
parent fc1c709d44
commit 6d99597349
10 changed files with 26 additions and 15 deletions

View File

@@ -363,8 +363,8 @@ public sealed class SuitSensorSystem : EntitySystem
{
if (card.Comp.FullName != null)
userName = card.Comp.FullName;
if (card.Comp.JobTitle != null)
userJob = card.Comp.JobTitle;
if (card.Comp.LocalizedJobTitle != null)
userJob = card.Comp.LocalizedJobTitle;
userJobIcon = card.Comp.JobIcon;
foreach (var department in card.Comp.JobDepartments)