Localize difficulty settings.
This commit is contained in:
committed by
Gustas
parent
af6330b1bd
commit
4f7a01a291
@@ -23,9 +23,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly string ID = null;
|
||||
|
||||
[FieldLoader.Require]
|
||||
[TranslationReference]
|
||||
[Desc("Descriptive label for this option.")]
|
||||
public readonly string Label = null;
|
||||
|
||||
[TranslationReference]
|
||||
[Desc("Tooltip description for this option.")]
|
||||
public readonly string Description = null;
|
||||
|
||||
@@ -34,6 +36,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly string Default = null;
|
||||
|
||||
[FieldLoader.Require]
|
||||
[TranslationReference(dictionaryReference: LintDictionaryReference.Values)]
|
||||
[Desc("Difficulty levels supported by the map.")]
|
||||
public readonly Dictionary<string, string> Values = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user