From 08cd003ee768cc891526e10a03be6ae2fd5f0664 Mon Sep 17 00:00:00 2001 From: Koenari Date: Mon, 24 Oct 2022 13:16:01 +0200 Subject: [PATCH] feat: adapt to CheapLoc's new function signature --- Dalamud/Localization.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dalamud/Localization.cs b/Dalamud/Localization.cs index a050b71a0..51febc0e3 100644 --- a/Dalamud/Localization.cs +++ b/Dalamud/Localization.cs @@ -140,9 +140,10 @@ namespace Dalamud /// /// 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)