Add missing localization to verb names (#1953)

This commit is contained in:
DrSmugleaf
2020-08-29 13:36:02 +02:00
committed by GitHub
parent 65a9a09049
commit 5a0f7d9316
14 changed files with 37 additions and 22 deletions

View File

@@ -269,12 +269,12 @@ namespace Content.Server.GameObjects.Components.Weapon.Melee
if (component.Cell == null)
{
data.Text = "Eject cell (cell missing)";
data.Text = Loc.GetString("Eject cell (cell missing)");
data.Visibility = VerbVisibility.Disabled;
}
else
{
data.Text = "Eject cell";
data.Text = Loc.GetString("Eject cell");
}
}

View File

@@ -18,6 +18,7 @@ using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Localization;
using Robust.Shared.Map;
using Robust.Shared.Serialization;
using Robust.Shared.ViewVariables;
@@ -302,12 +303,12 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Barrels
if (component.PowerCell == null)
{
data.Text = "Eject cell (cell missing)";
data.Text = Loc.GetString("Eject cell (cell missing)");
data.Visibility = VerbVisibility.Disabled;
}
else
{
data.Text = "Eject cell";
data.Text = Loc.GetString("Eject cell");
}
}