Localize difficulty settings.

This commit is contained in:
Matthias Mailänder
2023-04-23 15:35:17 +02:00
committed by Gustas
parent af6330b1bd
commit 4f7a01a291
190 changed files with 623 additions and 524 deletions

View File

@@ -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;