From c501d36b7c7c3fac409436aeb9c9fc3b552002bf Mon Sep 17 00:00:00 2001 From: Aragas Date: Thu, 30 Jun 2022 11:38:54 +0300 Subject: [PATCH] Third workaround for the language issue --- .../Bannerlord.YellToInspire.csproj | 2 +- .../Utils/LocalizedTextManagerUtils.cs | 2 +- src/Bannerlord.YellToInspire/changelog.txt | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Bannerlord.YellToInspire/Bannerlord.YellToInspire.csproj b/src/Bannerlord.YellToInspire/Bannerlord.YellToInspire.csproj index 759176d..0c621e0 100644 --- a/src/Bannerlord.YellToInspire/Bannerlord.YellToInspire.csproj +++ b/src/Bannerlord.YellToInspire/Bannerlord.YellToInspire.csproj @@ -8,7 +8,7 @@ BUTR's Yell To Inspire - 0.6.6 + 0.6.7 diff --git a/src/Bannerlord.YellToInspire/Utils/LocalizedTextManagerUtils.cs b/src/Bannerlord.YellToInspire/Utils/LocalizedTextManagerUtils.cs index d238407..5a87dbc 100644 --- a/src/Bannerlord.YellToInspire/Utils/LocalizedTextManagerUtils.cs +++ b/src/Bannerlord.YellToInspire/Utils/LocalizedTextManagerUtils.cs @@ -31,7 +31,7 @@ public static void LoadLanguageData() var path = Path.Combine(Utilities.GetBasePath(), "Modules", moduleInfo.Id, "ModuleData", "Languages"); if (!Directory.Exists(path)) return; - foreach (var file in Directory.GetFiles(path, "language_data.xml_", SearchOption.AllDirectories)) + foreach (var file in Directory.GetFiles(path, "language_data._xml", SearchOption.AllDirectories)) { if (LoadXmlFile(file) is { } xmlDocument) LoadFromXml(xmlDocument, path); diff --git a/src/Bannerlord.YellToInspire/changelog.txt b/src/Bannerlord.YellToInspire/changelog.txt index 7715955..6b17a4b 100644 --- a/src/Bannerlord.YellToInspire/changelog.txt +++ b/src/Bannerlord.YellToInspire/changelog.txt @@ -1,5 +1,9 @@ --------------------------------------------------------------------------------------------------- -Version: 0.6.5 +Version: 0.6.7 +Game Versions: e1.7.2,e1.8.0 +* Second workaround for the language issue +--------------------------------------------------------------------------------------------------- +Version: 0.6.6 Game Versions: e1.7.2,e1.8.0 * Second workaround for the language issue ---------------------------------------------------------------------------------------------------