Fluent Localisation Fixes (#3344)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Serialization;
|
||||
@@ -49,7 +50,11 @@ namespace Content.Shared.GameObjects.Components
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Loc.GetString("{0}: {1:0.##} mol", Name, Amount);
|
||||
// e.g. "Plasma: 2000 mol"
|
||||
return Loc.GetString(
|
||||
"gas-entry-info",
|
||||
("gasName", Name),
|
||||
("gasAmount", Amount));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user