Reagents localization (#7916)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -87,7 +87,7 @@ public sealed partial class SolutionContainerSystem : EntitySystem
|
||||
("wordedAmount", Loc.GetString(solutionHolder.Contents.Count == 1
|
||||
? "shared-solution-container-component-on-examine-worded-amount-one-reagent"
|
||||
: "shared-solution-container-component-on-examine-worded-amount-multiple-reagents")),
|
||||
("desc", Loc.GetString(proto.PhysicalDescription))));
|
||||
("desc", proto.LocalizedPhysicalDescription)));
|
||||
}
|
||||
|
||||
public void UpdateAppearance(EntityUid uid, Solution solution,
|
||||
|
||||
@@ -55,9 +55,9 @@ namespace Content.Server.Chemistry.EntitySystems
|
||||
sprite?.LayerSetSprite(0, spriteSpec);
|
||||
}
|
||||
|
||||
string val = proto.Name + " glass";
|
||||
string val = proto.LocalizedName + " glass";
|
||||
EntityManager.GetComponent<MetaDataComponent>(owner).EntityName = val;
|
||||
EntityManager.GetComponent<MetaDataComponent>(owner).EntityDescription = proto.Description;
|
||||
EntityManager.GetComponent<MetaDataComponent>(owner).EntityDescription = proto.LocalizedDescription;
|
||||
component.CurrentReagent = proto;
|
||||
component.Transformed = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user