Reagents localization (#7916)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Alex Evgrashin
2022-05-12 14:06:01 +03:00
committed by GitHub
parent 4ef8bfff46
commit 860db943e1
47 changed files with 1644 additions and 804 deletions

View File

@@ -35,7 +35,7 @@ namespace Content.Server.Disease.Cures
var prototypeMan = IoCManager.Resolve<IPrototypeManager>();
if (Reagent == null || !prototypeMan.TryIndex<ReagentPrototype>(Reagent, out var reagentProt))
return string.Empty;
return (Loc.GetString("diagnoser-cure-reagent", ("units", Min), ("reagent", reagentProt.Name)));
return (Loc.GetString("diagnoser-cure-reagent", ("units", Min), ("reagent", reagentProt.LocalizedName)));
}
}
}