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 LobbyOptionsLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference]
|
||||
const string NotAvailable = "not-available";
|
||||
|
||||
readonly ModData modData;
|
||||
readonly ScrollPanelWidget panel;
|
||||
readonly Widget optionsContainer;
|
||||
@@ -32,9 +35,6 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
readonly Func<bool> configurationDisabled;
|
||||
MapPreview mapPreview;
|
||||
|
||||
[TranslationReference]
|
||||
static readonly string NotAvailable = "not-available";
|
||||
|
||||
[ObjectCreator.UseCtor]
|
||||
internal LobbyOptionsLogic(ModData modData, Widget widget, OrderManager orderManager, Func<MapPreview> getMap, Func<bool> configurationDisabled)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user