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

@@ -18,13 +18,13 @@ namespace OpenRA.Mods.Common.Widgets.Logic
public class SpawnSelectorTooltipLogic : ChromeLogic
{
[TranslationReference]
static readonly string DisabledSpawn = "disabled-spawn";
const string DisabledSpawn = "disabled-spawn";
[TranslationReference]
static readonly string AvailableSpawn = "available-spawn";
const string AvailableSpawn = "available-spawn";
[TranslationReference("team")]
static readonly string TeamNumber = "team-number";
const string TeamNumber = "team-number";
readonly CachedTransform<int, string> teamMessage;