Mark non-moddable translation strings as constant.
This commit is contained in:
committed by
Gustas
parent
4f016f149f
commit
760a1245c5
@@ -20,6 +20,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{
|
||||
public class ModContentLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference]
|
||||
const string ManualInstall = "manual-install";
|
||||
|
||||
readonly ModData modData;
|
||||
readonly ModContent content;
|
||||
readonly ScrollPanelWidget scrollPanel;
|
||||
@@ -30,9 +33,6 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
|
||||
bool sourceAvailable;
|
||||
|
||||
[TranslationReference]
|
||||
static readonly string ManualInstall = "manual-install";
|
||||
|
||||
[ObjectCreator.UseCtor]
|
||||
public ModContentLogic(ModData modData, Widget widget, Manifest mod, ModContent content, Action onCancel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user