Mark non-moddable translation strings as constant.

This commit is contained in:
Matthias Mailänder
2022-11-17 21:54:39 +01:00
committed by Gustas
parent 4f016f149f
commit 760a1245c5
58 changed files with 807 additions and 795 deletions

View File

@@ -22,10 +22,10 @@ namespace OpenRA.Mods.Common.Commands
public class ChatCommands : INotifyChat
{
public Dictionary<string, IChatCommand> Commands { get; }
[TranslationReference("name")]
static readonly string InvalidCommand = "invalid-command";
const string InvalidCommand = "invalid-command";
public Dictionary<string, IChatCommand> Commands { get; }
public ChatCommands()
{