Localize developer debug cheats.

This commit is contained in:
Matthias Mailänder
2022-10-19 18:20:20 +02:00
committed by abcdefg30
parent 44aaf4dd07
commit 8f415bc7af
11 changed files with 163 additions and 36 deletions

View File

@@ -35,7 +35,9 @@ namespace OpenRA.Mods.Common.Traits
public class HierarchicalPathFinderOverlay : IRenderAnnotations, IWorldLoaded, IChatCommand
{
const string CommandName = "hpf";
const string CommandDesc = "toggles the hierarchical pathfinder overlay.";
[TranslationReference]
const string CommandDescription = "hpf-overlay-description";
readonly HierarchicalPathFinderOverlayInfo info;
readonly SpriteFont font;
@@ -68,7 +70,7 @@ namespace OpenRA.Mods.Common.Traits
return;
console.RegisterCommand(CommandName, this);
help.RegisterHelp(CommandName, CommandDesc);
help.RegisterHelp(CommandName, CommandDescription);
}
void IChatCommand.InvokeCommand(string name, string arg)