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 @@ public sealed class IdExaminableSystem : EntitySystem
private string GetNameAndJob(IdCardComponent id)
{
var jobSuffix = string.IsNullOrWhiteSpace(id.JobTitle) ? string.Empty : $" ({id.JobTitle})";
var jobSuffix = string.IsNullOrWhiteSpace(id.LocalizedJobTitle) ? string.Empty : $" ({id.LocalizedJobTitle})";
var val = string.IsNullOrWhiteSpace(id.FullName)
? Loc.GetString(id.NameLocId,