Mark non-moddable translation strings as constant.
This commit is contained in:
committed by
Gustas
parent
4f016f149f
commit
760a1245c5
@@ -18,10 +18,10 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
public class IngamePowerCounterLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference("usage", "capacity")]
|
||||
static readonly string PowerUsage = "power-usage";
|
||||
const string PowerUsage = "power-usage";
|
||||
|
||||
[TranslationReference]
|
||||
static readonly string Infinite = "infinite-power";
|
||||
const string Infinite = "infinite-power";
|
||||
|
||||
[ObjectCreator.UseCtor]
|
||||
public IngamePowerCounterLogic(Widget widget, ModData modData, World world)
|
||||
|
||||
Reference in New Issue
Block a user