Reorganize FluentBundle ctors to allow inline text.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user