Mark non-moddable translation strings as constant.
This commit is contained in:
committed by
Gustas
parent
4f016f149f
commit
760a1245c5
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user