Add missing localization to verb names (#1953)
This commit is contained in:
@@ -428,7 +428,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
|
||||
return;
|
||||
}
|
||||
|
||||
data.Text = component.Open ? "Close" : "Open";
|
||||
data.Text = Loc.GetString(component.Open ? "Close" : "Open");
|
||||
}
|
||||
|
||||
void IExAct.OnExplosion(ExplosionEventArgs eventArgs)
|
||||
|
||||
@@ -15,6 +15,7 @@ using Robust.Shared.GameObjects.Components;
|
||||
using Robust.Shared.Interfaces.GameObjects;
|
||||
using Robust.Shared.Interfaces.Map;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Server.GameObjects.Components.Items.Storage
|
||||
@@ -122,7 +123,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
|
||||
return;
|
||||
}
|
||||
|
||||
data.Text = "Pick Up";
|
||||
data.Text = Loc.GetString("Pick Up");
|
||||
}
|
||||
|
||||
protected override void Activate(IEntity user, ItemComponent component)
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
|
||||
return;
|
||||
}
|
||||
|
||||
data.Text = component.Locked ? Loc.GetString("Unlock") : Loc.GetString("Lock");
|
||||
data.Text = Loc.GetString(component.Locked ? "Unlock" : "Lock");
|
||||
}
|
||||
|
||||
protected override void Activate(IEntity user, SecureEntityStorageComponent component)
|
||||
|
||||
Reference in New Issue
Block a user