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

@@ -67,7 +67,7 @@ namespace Content.Server.Access.Systems
if (!TryComp<IdCardComponent>(uid, out var idCard))
return;
var state = new AgentIDCardBoundUserInterfaceState(idCard.FullName ?? "", idCard.JobTitle ?? "", idCard.JobIcon);
var state = new AgentIDCardBoundUserInterfaceState(idCard.FullName ?? "", idCard.LocalizedJobTitle ?? "", idCard.JobIcon);
_uiSystem.SetUiState(uid, AgentIDCardUiKey.Key, state);
}