Mark non-moddable translation strings as constant.
This commit is contained in:
committed by
Gustas
parent
4f016f149f
commit
760a1245c5
@@ -72,6 +72,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
public class DeveloperMode : IResolveOrder, ISync, INotifyCreated, IUnlocksRenderPlayer
|
||||
{
|
||||
[TranslationReference("cheat", "player", "suffix")]
|
||||
const string CheatUsed = "cheat-used";
|
||||
|
||||
readonly DeveloperModeInfo info;
|
||||
public bool Enabled { get; private set; }
|
||||
|
||||
@@ -106,9 +109,6 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
bool enableAll;
|
||||
|
||||
[TranslationReference("cheat", "player", "suffix")]
|
||||
static readonly string CheatUsed = "cheat-used";
|
||||
|
||||
public DeveloperMode(DeveloperModeInfo info)
|
||||
{
|
||||
this.info = info;
|
||||
|
||||
Reference in New Issue
Block a user