diff --git a/Dalamud/Localization.cs b/Dalamud/Localization.cs index 51918a004..b180f113a 100644 --- a/Dalamud/Localization.cs +++ b/Dalamud/Localization.cs @@ -140,9 +140,10 @@ public class Localization : IServiceType /// /// Saves localizable JSON data in the current working directory for the provided assembly. /// - public void ExportLocalizable() + /// If set to true, this ignores malformed Localize functions instead of failing. + public void ExportLocalizable(bool ignoreInvalidFunctions = false) { - Loc.ExportLocalizableForAssembly(this.assembly); + Loc.ExportLocalizableForAssembly(this.assembly, ignoreInvalidFunctions); } private string ReadLocData(string langCode)