feat: adapt to CheapLoc's new function signature

This commit is contained in:
Koenari 2022-10-24 13:16:01 +02:00
parent 8565cbc5ea
commit 08cd003ee7
No known key found for this signature in database
GPG key ID: 88CBBFF27E9EFBF6

View file

@ -140,9 +140,10 @@ namespace Dalamud
/// <summary> /// <summary>
/// Saves localizable JSON data in the current working directory for the provided assembly. /// Saves localizable JSON data in the current working directory for the provided assembly.
/// </summary> /// </summary>
public void ExportLocalizable() /// <param name="ignoreInvalidFunctions">If set to true, this ignores malformed Localize functions instead of failing.</param>
public void ExportLocalizable(bool ignoreInvalidFunctions = false)
{ {
Loc.ExportLocalizableForAssembly(this.assembly); Loc.ExportLocalizableForAssembly(this.assembly, ignoreInvalidFunctions);
} }
private string ReadLocData(string langCode) private string ReadLocData(string langCode)