Reorganize FluentBundle ctors to allow inline text.

This commit is contained in:
Paul Chote
2024-10-19 13:46:07 +01:00
committed by Gustas
parent e4539e9cb5
commit 43219e16da
6 changed files with 46 additions and 48 deletions

View File

@@ -22,10 +22,10 @@ namespace OpenRA.Mods.Common.Lint
{
void ILintMapPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Map map)
{
if (map.TranslationDefinitions == null)
if (map.FluentMessageDefinitions == null)
return;
Run(emitError, emitWarning, map, FieldLoader.GetValue<string[]>("value", map.TranslationDefinitions.Value));
Run(emitError, emitWarning, map, FieldLoader.GetValue<string[]>("value", map.FluentMessageDefinitions.Value));
}
void ILintPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData)