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

@@ -124,7 +124,7 @@ namespace Content.Client.Kitchen.UI
{
foreach (var reagent in reagents)
{
var reagentName = _prototypeManager.TryIndex(reagent.ReagentId, out ReagentPrototype? proto) ? Loc.GetString($"{reagent.Quantity} {proto.Name}") : "???";
var reagentName = _prototypeManager.TryIndex(reagent.ReagentId, out ReagentPrototype? proto) ? Loc.GetString($"{reagent.Quantity} {proto.LocalizedName}") : "???";
BeakerContentBox.BoxContents.AddItem(reagentName);
}
}