Merge pull request #1028 from Koenari/cheaploc-changes

Adapt to CheapLoc's new function signature
This commit is contained in:
goat 2023-01-10 18:54:06 +01:00 committed by GitHub
commit 5da712ac02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,9 +140,10 @@ public class Localization : IServiceType
/// <summary>
/// Saves localizable JSON data in the current working directory for the provided assembly.
/// </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)