Localize the faction dropdown.

This commit is contained in:
Matthias Mailänder
2024-07-16 19:27:06 +02:00
committed by Gustas
parent 59f6a6a2c2
commit 5ddc7b1177
14 changed files with 229 additions and 63 deletions

View File

@@ -110,8 +110,7 @@ namespace OpenRA.Mods.Common.Lint
if (translationReference == null)
continue;
var keys = LintExts.GetFieldValues(traitInfo, field, translationReference.DictionaryReference);
foreach (var key in keys)
foreach (var key in LintExts.GetFieldValues(traitInfo, field, translationReference.DictionaryReference))
usedKeys.Add(key, translationReference, $"Actor `{actorInfo.Key}` trait `{traitType.Name[..^4]}.{field.Name}`");
}
}