From dc6d861604a3cf375b71bc00a7a96fe231176b2b Mon Sep 17 00:00:00 2001 From: Aragas Date: Thu, 15 Dec 2022 20:33:41 +0200 Subject: [PATCH 01/73] Reflection fix --- .../HotKeys/Patches/OptionsProviderPatches.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/HotKeys/Patches/OptionsProviderPatches.cs b/src/Bannerlord.ButterLib.Implementation/HotKeys/Patches/OptionsProviderPatches.cs index b8d443ae..930b55ab 100644 --- a/src/Bannerlord.ButterLib.Implementation/HotKeys/Patches/OptionsProviderPatches.cs +++ b/src/Bannerlord.ButterLib.Implementation/HotKeys/Patches/OptionsProviderPatches.cs @@ -13,13 +13,13 @@ internal sealed class OptionsProviderPatches internal static bool Enable(Harmony harmony) { return harmony.TryPatch(AccessTools2.Method(typeof(OptionsProvider), nameof(OptionsProvider.GetGameKeyCategoriesList)), - postfix: AccessTools2.Method(typeof(HotKeySubSystem), nameof(GetGameKeyCategoriesListPostfix))); + postfix: AccessTools2.Method(typeof(OptionsProviderPatches), nameof(GetGameKeyCategoriesListPostfix))); } internal static bool Disable(Harmony harmony) { harmony.Unpatch(AccessTools2.Method(typeof(OptionsProvider), nameof(OptionsProvider.GetGameKeyCategoriesList)), - AccessTools2.Method(typeof(HotKeySubSystem), nameof(GetGameKeyCategoriesListPostfix))); + AccessTools2.Method(typeof(OptionsProviderPatches), nameof(GetGameKeyCategoriesListPostfix))); return true; } From 6197ac354e87439191339126bf11747689fb6868 Mon Sep 17 00:00:00 2001 From: Aragas Date: Thu, 15 Dec 2022 22:25:52 +0200 Subject: [PATCH 02/73] Don't show BetterExceptionWindow finalizer in involved to avoid confusion --- src/Bannerlord.ButterLib/ExceptionHandler/HtmlBuilder.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Bannerlord.ButterLib/ExceptionHandler/HtmlBuilder.cs b/src/Bannerlord.ButterLib/ExceptionHandler/HtmlBuilder.cs index bbb031bd..5a59d857 100644 --- a/src/Bannerlord.ButterLib/ExceptionHandler/HtmlBuilder.cs +++ b/src/Bannerlord.ButterLib/ExceptionHandler/HtmlBuilder.cs @@ -389,6 +389,13 @@ static bool Filter(StacktraceEntry stacktraceEntry) return false; } } + if (stacktraceEntry.ModuleInfo?.Id is "BetterExceptionWindow") + { + if (stacktraceEntry.Method is { Name: "Finalizer", DeclaringType: { Namespace: "AutoGeneratedExceptionFilter" } }) + { + return false; + } + } if (stacktraceEntry.ModuleInfo?.Id == "Bannerlord.MBOptionScreen") { From c5872ad382875623d478b84c796e06c32b6b8848 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 20 Dec 2022 21:29:37 +0200 Subject: [PATCH 03/73] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f26647bb..19c5c56c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@
- + CodeFactor From 810486cec0b362bddc30604f19d61481a2240175 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 20 Dec 2022 21:36:44 +0200 Subject: [PATCH 04/73] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 19c5c56c..8fe01532 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,10 @@
- GitHub Workflow Status (event) + GitHub Workflow Status (event) - GitHub Workflow Status (event) + GitHub Workflow Status (event) From 22020417d580fa5a299a2beeb70c321409ee41b8 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:13:50 +0200 Subject: [PATCH 05/73] Update Crowdin configuration file --- crowdin.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 crowdin.yml diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 00000000..297ca7b8 --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,7 @@ +files: + - source: /src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/EN/*.xml + translation: /src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/%two_letters_code%/%original_file_name% + content_segmentation: 0 + translatable_elements: + - '/base/tags/tag[@language],/base/strings/string[@text]' + - '/LanguageData[@id],/LanguageData[@name],/LanguageData[@subtitle_extension],/LanguageData[@supported_iso],/LanguageData/LanguageFile[@xml_path]' From 409e67c6d8dd76981b8f8d79b20b7d0ece8d3109 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:13:57 +0200 Subject: [PATCH 06/73] New translations language_data.xml (French) --- .../_Module/ModuleData/Languages/FR/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/language_data.xml @@ -0,0 +1,4 @@ + + + + From a26d04873d85be935fcbee60a6e9c8dc61c7ca46 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:13:57 +0200 Subject: [PATCH 07/73] New translations language_data.xml (Spanish) --- .../_Module/ModuleData/Languages/SP/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml @@ -0,0 +1,4 @@ + + + + From 04b67e0bf9a66329826c26e1efa202fbfb0c8f7a Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:13:58 +0200 Subject: [PATCH 08/73] New translations language_data.xml (German) --- .../_Module/ModuleData/Languages/DE/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml @@ -0,0 +1,4 @@ + + + + From 7dbc257737e0a06a3ac9a9cb215768ab5cb8cd87 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:13:59 +0200 Subject: [PATCH 09/73] New translations language_data.xml (Italian) --- .../_Module/ModuleData/Languages/IT/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml @@ -0,0 +1,4 @@ + + + + From 02f105c12297f32e47c8af174c70f355ee870c8b Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:00 +0200 Subject: [PATCH 10/73] New translations language_data.xml (Japanese) --- .../_Module/ModuleData/Languages/JP/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml @@ -0,0 +1,4 @@ + + + + From 8ed468362d74dbb395ff0675b74501e8c9ff6430 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:01 +0200 Subject: [PATCH 11/73] New translations language_data.xml (Korean) --- .../_Module/ModuleData/Languages/KO/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml @@ -0,0 +1,4 @@ + + + + From 8fb45936677d289061215499ef01983aea142b27 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:01 +0200 Subject: [PATCH 12/73] New translations language_data.xml (Polish) --- .../_Module/ModuleData/Languages/PL/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml @@ -0,0 +1,4 @@ + + + + From 7ad021533e6bdb99e6b8bc81541e492af4156d11 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:02 +0200 Subject: [PATCH 13/73] New translations language_data.xml (Russian) --- .../ModuleData/Languages/RU/language_data.xml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/language_data.xml index 0acf9107..9773e089 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/language_data.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/language_data.xml @@ -1,11 +1,4 @@ - - - \ No newline at end of file + + + From e79678d1240a7243d8fa96ec1033635dd99e1b72 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:03 +0200 Subject: [PATCH 14/73] New translations language_data.xml (Turkish) --- .../_Module/ModuleData/Languages/TR/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml @@ -0,0 +1,4 @@ + + + + From 95659f44ce39a88b2569d7a0f878774effb20a09 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:04 +0200 Subject: [PATCH 15/73] New translations language_data.xml (Chinese Simplified) --- .../_Module/ModuleData/Languages/CNs/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml @@ -0,0 +1,4 @@ + + + + From 3493942f46707e8d47ac004afb49ce68f26335a6 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:05 +0200 Subject: [PATCH 16/73] New translations language_data.xml (Chinese Traditional) --- .../_Module/ModuleData/Languages/CNt/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml @@ -0,0 +1,4 @@ + + + + From 9061b722ae52a74c9bf9d89c970f5f455d0facc8 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:06 +0200 Subject: [PATCH 17/73] New translations language_data.xml (Portuguese, Brazilian) --- .../_Module/ModuleData/Languages/BR/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml new file mode 100644 index 00000000..9773e089 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml @@ -0,0 +1,4 @@ + + + + From 892b34a15f906663c236a45c66ead39a2eeeb7d1 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:07 +0200 Subject: [PATCH 18/73] New translations sta_strings.xml (French) --- .../ModuleData/Languages/FR/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From f67c56f7010b345863f7d30cde7dd80418e5cc6c Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:08 +0200 Subject: [PATCH 19/73] New translations sta_strings.xml (Spanish) --- .../ModuleData/Languages/SP/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 87c718532e57646e8a985d4f9a0b47e9aec8e898 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:09 +0200 Subject: [PATCH 20/73] New translations sta_strings.xml (German) --- .../ModuleData/Languages/DE/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 38984d05b4ad1fb5aa1b4ae97ac74441900fcc94 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:10 +0200 Subject: [PATCH 21/73] New translations sta_strings.xml (Italian) --- .../ModuleData/Languages/IT/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 4f9c30b618944e75f712cb62a18a6d7fe3a2c4e1 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:11 +0200 Subject: [PATCH 22/73] New translations sta_strings.xml (Japanese) --- .../ModuleData/Languages/JP/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 392e32aa519ffb3601cc0d6554936abc1890df0b Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:12 +0200 Subject: [PATCH 23/73] New translations sta_strings.xml (Korean) --- .../ModuleData/Languages/KO/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 2197c5761e22ffc88988dd752463703badafa366 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:13 +0200 Subject: [PATCH 24/73] New translations sta_strings.xml (Polish) --- .../ModuleData/Languages/PL/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From dcfd749299f3231a788450b855a676a43b2531bd Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:13 +0200 Subject: [PATCH 25/73] New translations sta_strings.xml (Russian) --- .../ModuleData/Languages/RU/sta_strings.xml | 44 ++++++++++--------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml index 50ad477a..1eb458b1 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml @@ -1,28 +1,30 @@ - - + + - + - - - - - - - - + + + + + + + + - + - - - - - - - - + + + + + + + + + + + From 68641d4144fcab986aeb6ee938dce66f092805a3 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:14 +0200 Subject: [PATCH 26/73] New translations sta_strings.xml (Turkish) --- .../ModuleData/Languages/TR/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 4cf488d2ef1a42d713adb996065ae0d781e32f16 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:15 +0200 Subject: [PATCH 27/73] New translations sta_strings.xml (Chinese Simplified) --- .../ModuleData/Languages/CNs/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From d5a0adc1ca67cb9e1771e38960f7848db581b37d Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:16 +0200 Subject: [PATCH 28/73] New translations sta_strings.xml (Chinese Traditional) --- .../ModuleData/Languages/CNt/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 41592008f6d05c470eef7501d76b1c13bd9f9bfd Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:14:17 +0200 Subject: [PATCH 29/73] New translations sta_strings.xml (Portuguese, Brazilian) --- .../ModuleData/Languages/BR/sta_strings.xml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/sta_strings.xml new file mode 100644 index 00000000..1eb458b1 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/sta_strings.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 533680aeaefa33b2b08e42ce94b2d5722636a675 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:16:56 +0200 Subject: [PATCH 30/73] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 8fe01532..57f7d9cf 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,9 @@ + + +
GitHub Workflow Status (event) From cf3f65ea16cd83fe89181740ea0937346e52703e Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 00:46:11 +0200 Subject: [PATCH 31/73] New translations language_data.xml (Russian) --- .../_Module/ModuleData/Languages/RU/language_data.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/language_data.xml index 9773e089..82fb5788 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/language_data.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/language_data.xml @@ -1,4 +1,4 @@ - - + + From bb7c8e10626761145664885cd6575d0c1dd53dd3 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 02:33:53 +0200 Subject: [PATCH 32/73] New translations sta_strings.xml (Russian) --- .../ModuleData/Languages/RU/sta_strings.xml | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml index 1eb458b1..d1c64ffa 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml @@ -1,30 +1,30 @@ - + - - - - - - - - + + + + + + + + - + - - - - - - - - + + + + + + + + - - + + From f0cd9b88b8738be287a19d30f72048e8a55ef0db Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 22:54:18 +0200 Subject: [PATCH 33/73] New translations language_data.xml (French) --- .../_Module/ModuleData/Languages/FR/language_data.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/language_data.xml index 9773e089..35792b92 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/language_data.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/language_data.xml @@ -1,4 +1,4 @@ - - + + From e38314e8fbc1a64bf63ae187580c1a52382eaf86 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Mon, 9 Jan 2023 22:54:20 +0200 Subject: [PATCH 34/73] New translations sta_strings.xml (French) --- .../ModuleData/Languages/FR/sta_strings.xml | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml index 1eb458b1..316a4d6b 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml @@ -1,30 +1,30 @@ - + - - - - - - - - + + + + + + + + - + - - - - - - - - + + + + + + + + - - + + From 80386bfeeb85e2269172a79c0a18727b462aabf1 Mon Sep 17 00:00:00 2001 From: Aragas Date: Tue, 10 Jan 2023 08:46:44 +0200 Subject: [PATCH 35/73] Cleaned up localization --- .../ModuleData/Languages/EN/sta_strings.xml | 18 ++++-------------- .../ModuleData/Languages/RU/sta_strings.xml | 19 ++++++------------- 2 files changed, 10 insertions(+), 27 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/EN/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/EN/sta_strings.xml index b3d68100..9b2103f0 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/EN/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/EN/sta_strings.xml @@ -5,17 +5,6 @@ - - - - - - - - - - - @@ -23,9 +12,10 @@ - - + + + - + \ No newline at end of file diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml index 50ad477a..721d0daf 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml @@ -5,17 +5,6 @@ - - - - - - - - - - - @@ -23,6 +12,10 @@ - + + + + + - + \ No newline at end of file From fb74664c77f7fdef67c4eff2d12d07d57b3f91e6 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 09:00:41 +0200 Subject: [PATCH 36/73] Update source file sta_strings.xml --- .../ModuleData/Languages/EN/sta_strings.xml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/EN/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/EN/sta_strings.xml index b3d68100..9b2103f0 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/EN/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/EN/sta_strings.xml @@ -5,17 +5,6 @@ - - - - - - - - - - - @@ -23,9 +12,10 @@ - - + + + - + \ No newline at end of file From 4e839eaef3420fa04b89012a724cd752a94e0d39 Mon Sep 17 00:00:00 2001 From: Aragas Date: Tue, 10 Jan 2023 09:05:28 +0200 Subject: [PATCH 37/73] Fix --- .../ModuleData/Languages/BR/language_data.xml | 4 --- .../ModuleData/Languages/BR/sta_strings.xml | 30 ------------------- .../Languages/CNs/language_data.xml | 4 --- .../ModuleData/Languages/CNs/sta_strings.xml | 30 ------------------- .../Languages/CNt/language_data.xml | 4 --- .../ModuleData/Languages/CNt/sta_strings.xml | 30 ------------------- .../ModuleData/Languages/DE/language_data.xml | 4 --- .../ModuleData/Languages/DE/sta_strings.xml | 30 ------------------- .../ModuleData/Languages/FR/sta_strings.xml | 21 ++++--------- .../ModuleData/Languages/IT/language_data.xml | 4 --- .../ModuleData/Languages/IT/sta_strings.xml | 30 ------------------- .../ModuleData/Languages/JP/language_data.xml | 4 --- .../ModuleData/Languages/JP/sta_strings.xml | 30 ------------------- .../ModuleData/Languages/KO/language_data.xml | 4 --- .../ModuleData/Languages/KO/sta_strings.xml | 30 ------------------- .../ModuleData/Languages/PL/language_data.xml | 4 --- .../ModuleData/Languages/PL/sta_strings.xml | 30 ------------------- .../ModuleData/Languages/RU/sta_strings.xml | 21 ++++--------- .../ModuleData/Languages/SP/language_data.xml | 4 --- .../ModuleData/Languages/SP/sta_strings.xml | 30 ------------------- .../ModuleData/Languages/TR/language_data.xml | 4 --- .../ModuleData/Languages/TR/sta_strings.xml | 30 ------------------- 22 files changed, 12 insertions(+), 370 deletions(-) delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/sta_strings.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/sta_strings.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/sta_strings.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/sta_strings.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/sta_strings.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/sta_strings.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/sta_strings.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml deleted file mode 100644 index 9773e089..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/sta_strings.xml deleted file mode 100644 index 1eb458b1..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/sta_strings.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml deleted file mode 100644 index 9773e089..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml deleted file mode 100644 index 1eb458b1..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml deleted file mode 100644 index 9773e089..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/sta_strings.xml deleted file mode 100644 index 1eb458b1..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/sta_strings.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml deleted file mode 100644 index 9773e089..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml deleted file mode 100644 index 1eb458b1..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml index 316a4d6b..7af41ce5 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml @@ -1,20 +1,10 @@ - + - - - - - - - - - - - @@ -22,9 +12,10 @@ - - + + + - + \ No newline at end of file diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml deleted file mode 100644 index 9773e089..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/sta_strings.xml deleted file mode 100644 index 1eb458b1..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/sta_strings.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml deleted file mode 100644 index 9773e089..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/sta_strings.xml deleted file mode 100644 index 1eb458b1..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/sta_strings.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml deleted file mode 100644 index 9773e089..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/sta_strings.xml deleted file mode 100644 index 1eb458b1..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/sta_strings.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml deleted file mode 100644 index 9773e089..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/sta_strings.xml deleted file mode 100644 index 1eb458b1..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/sta_strings.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml index d1c64ffa..4848419c 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml @@ -1,20 +1,10 @@ - + - - - - - - - - - - - @@ -22,9 +12,10 @@ - - + + + - + \ No newline at end of file diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml deleted file mode 100644 index 9773e089..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/sta_strings.xml deleted file mode 100644 index 1eb458b1..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/sta_strings.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml deleted file mode 100644 index 9773e089..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/sta_strings.xml deleted file mode 100644 index 1eb458b1..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/sta_strings.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From a2773bc9196253caeaa1e178b9974757084080a5 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 10:12:33 +0200 Subject: [PATCH 38/73] New translations language_data.xml (Belarusian) --- .../_Module/ModuleData/Languages/BY/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/language_data.xml new file mode 100644 index 00000000..8ffb0f33 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/language_data.xml @@ -0,0 +1,4 @@ + + + + From 9741666cf8d0cbeea4e6f24cb6d0576168287b1a Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 10:12:35 +0200 Subject: [PATCH 39/73] New translations sta_strings.xml (French) --- .../_Module/ModuleData/Languages/FR/sta_strings.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml index 7af41ce5..00ef9f0f 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml @@ -1,6 +1,5 @@ - + @@ -13,9 +12,9 @@ - - + - + + - \ No newline at end of file + From 2582b937d5fef8f4ddd6c1afc80533f4ed32cb35 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 10:12:36 +0200 Subject: [PATCH 40/73] New translations sta_strings.xml (Belarusian) --- .../ModuleData/Languages/BY/sta_strings.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/sta_strings.xml new file mode 100644 index 00000000..bf880efc --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/sta_strings.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + From d0d9e1b575d153d86deb78a2ee0bf4df579ade5d Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 10:12:38 +0200 Subject: [PATCH 41/73] New translations sta_strings.xml (Russian) --- .../_Module/ModuleData/Languages/RU/sta_strings.xml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml index 4848419c..1b5a377a 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml @@ -1,6 +1,5 @@ - + @@ -10,12 +9,12 @@ - + - - + - + + - \ No newline at end of file + From 5136a8542afffdc21d58b7ba5dc2f8aee31ca37b Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 12:54:24 +0200 Subject: [PATCH 42/73] New translations sta_strings.xml (French) --- .../_Module/ModuleData/Languages/FR/sta_strings.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml index 00ef9f0f..36820f6e 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml @@ -12,9 +12,9 @@ - + - - + + From 845cf6982a2c96bb253dc72bf34f12618732a434 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 13:54:01 +0200 Subject: [PATCH 43/73] New translations language_data.xml (German) --- .../_Module/ModuleData/Languages/DE/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml new file mode 100644 index 00000000..0930d027 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/language_data.xml @@ -0,0 +1,4 @@ + + + + From 6999714edd14ba2942bbd5e506252cbf90661fd6 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 13:54:03 +0200 Subject: [PATCH 44/73] New translations language_data.xml (Ukrainian) --- .../_Module/ModuleData/Languages/UA/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/UA/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/UA/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/UA/language_data.xml new file mode 100644 index 00000000..b232a0a3 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/UA/language_data.xml @@ -0,0 +1,4 @@ + + + + From d68d9360641d8ccbd6c39455a45cad0d0e1c9142 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 13:54:04 +0200 Subject: [PATCH 45/73] New translations sta_strings.xml (French) --- .../_Module/ModuleData/Languages/FR/sta_strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml index 36820f6e..33015820 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml @@ -15,6 +15,6 @@ - + From b21783084a49cc24f8139ae35d28fab8b2b88f76 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 14:56:36 +0200 Subject: [PATCH 46/73] New translations language_data.xml (Romanian) --- .../_Module/ModuleData/Languages/RO/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RO/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RO/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RO/language_data.xml new file mode 100644 index 00000000..ef211303 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RO/language_data.xml @@ -0,0 +1,4 @@ + + + + From 88cd6817331e177756b76820c1c6dce754d598fd Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 14:56:37 +0200 Subject: [PATCH 47/73] New translations language_data.xml (Spanish) --- .../_Module/ModuleData/Languages/SP/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml new file mode 100644 index 00000000..9fe1ecfe --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/SP/language_data.xml @@ -0,0 +1,4 @@ + + + + From e13aa3d0484f6551838d944f0bab3c5df99f8d57 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 14:56:38 +0200 Subject: [PATCH 48/73] New translations language_data.xml (Italian) --- .../_Module/ModuleData/Languages/IT/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml new file mode 100644 index 00000000..5c52fb2a --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/IT/language_data.xml @@ -0,0 +1,4 @@ + + + + From 169acbb38764337caf03465dd96f2f512c0b98a4 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 14:56:39 +0200 Subject: [PATCH 49/73] New translations language_data.xml (Japanese) --- .../_Module/ModuleData/Languages/JP/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml new file mode 100644 index 00000000..165b3d62 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/JP/language_data.xml @@ -0,0 +1,4 @@ + + + + From 565db36568f426ad4f078a0bb6099956905c801b Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 14:56:40 +0200 Subject: [PATCH 50/73] New translations language_data.xml (Korean) --- .../_Module/ModuleData/Languages/KO/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml new file mode 100644 index 00000000..f1bd3a16 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/KO/language_data.xml @@ -0,0 +1,4 @@ + + + + From 27873061173b6e408fbeda638409d2dcefd75f00 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 14:56:41 +0200 Subject: [PATCH 51/73] New translations language_data.xml (Polish) --- .../_Module/ModuleData/Languages/PL/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml new file mode 100644 index 00000000..cd87935e --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/PL/language_data.xml @@ -0,0 +1,4 @@ + + + + From 3e3594d2f10303407dc0739402e071ecca2ada71 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 14:56:42 +0200 Subject: [PATCH 52/73] New translations language_data.xml (Turkish) --- .../_Module/ModuleData/Languages/TR/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml new file mode 100644 index 00000000..69f08a1a --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/TR/language_data.xml @@ -0,0 +1,4 @@ + + + + From df5cba3d75c46ca21ef144b8c8bc9473f887c424 Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 14:56:43 +0200 Subject: [PATCH 53/73] New translations language_data.xml (Chinese Simplified) --- .../_Module/ModuleData/Languages/CNs/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml new file mode 100644 index 00000000..27b586b8 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/language_data.xml @@ -0,0 +1,4 @@ + + + + From 10b1bf7052a520abc300791373a2fba695c7614d Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 14:56:44 +0200 Subject: [PATCH 54/73] New translations language_data.xml (Chinese Traditional) --- .../_Module/ModuleData/Languages/CNt/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml new file mode 100644 index 00000000..0d505dca --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNt/language_data.xml @@ -0,0 +1,4 @@ + + + + From 155e5349f72bb3392a4984aa3d5c2fb14065801b Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 14:56:45 +0200 Subject: [PATCH 55/73] New translations language_data.xml (Portuguese, Brazilian) --- .../_Module/ModuleData/Languages/BR/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml new file mode 100644 index 00000000..33f7d7d9 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BR/language_data.xml @@ -0,0 +1,4 @@ + + + + From 1bf71e8efd18946a93f06c000fe70e4a3fe4338a Mon Sep 17 00:00:00 2001 From: Vitaly Mikhailov Date: Tue, 10 Jan 2023 20:26:33 +0200 Subject: [PATCH 56/73] New translations sta_strings.xml (Chinese Simplified) --- .../ModuleData/Languages/CNs/sta_strings.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml new file mode 100644 index 00000000..a21e1a63 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + From 271e5e78d46968ea2561f26fabca25eca11f5805 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 14:28:47 +0200 Subject: [PATCH 57/73] New translations sta_strings.xml (German) --- .../ModuleData/Languages/DE/sta_strings.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml new file mode 100644 index 00000000..9cb932ad --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + From bf5529e4c1b53142976dc733a5ffbeba6c79f3e7 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 14:28:48 +0200 Subject: [PATCH 58/73] New translations sta_strings.xml (Russian) --- .../ModuleData/Languages/RU/sta_strings.xml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml index 28d61c43..6793a616 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RU/sta_strings.xml @@ -4,17 +4,17 @@ - - - - - - - + + + + + + + - + - - + + - \ No newline at end of file + From afa0b016eaac1650b37022fadef09d985b4c20ac Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 14:28:50 +0200 Subject: [PATCH 59/73] New translations sta_strings.xml (Chinese Simplified) --- .../_Module/ModuleData/Languages/CNs/sta_strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml index a21e1a63..3fac7e90 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml @@ -14,7 +14,7 @@ - - + + From 73e54cb1f88bf41acd2ec3e6caf4128af4323232 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 15:24:11 +0200 Subject: [PATCH 60/73] New translations sta_strings.xml (French) --- .../_Module/ModuleData/Languages/FR/sta_strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml index 33015820..7389cb60 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml @@ -4,7 +4,7 @@ - + @@ -15,6 +15,6 @@ - + From 762ec4576e86734f6dd5d6ffab437a9965d4e37f Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 15:24:14 +0200 Subject: [PATCH 61/73] New translations sta_strings.xml (Chinese Simplified) --- .../_Module/ModuleData/Languages/CNs/sta_strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml index 3fac7e90..a21e1a63 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/CNs/sta_strings.xml @@ -14,7 +14,7 @@ - - + + From 7003d43ca4b008ab661ae73f03f1f1dbdae34119 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 16:09:39 +0200 Subject: [PATCH 62/73] New translations language_data.xml (Belarusian) --- .../_Module/ModuleData/Languages/BYc/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/language_data.xml new file mode 100644 index 00000000..8ffb0f33 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/language_data.xml @@ -0,0 +1,4 @@ + + + + From ed921d94ad376417c82b44425232a6e1ad3112cc Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 16:09:49 +0200 Subject: [PATCH 63/73] New translations sta_strings.xml (Belarusian) --- .../ModuleData/Languages/BYc/sta_strings.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/sta_strings.xml new file mode 100644 index 00000000..bf880efc --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/sta_strings.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + From 707b925fde1f7551c4a730bfc467cba0608c15dd Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 16:10:47 +0200 Subject: [PATCH 64/73] Delete language_data.xml --- .../_Module/ModuleData/Languages/BY/language_data.xml | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/language_data.xml deleted file mode 100644 index 8ffb0f33..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/language_data.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - From 615e999426aec6f589b4d57bf08c0c7772787ee5 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 16:10:54 +0200 Subject: [PATCH 65/73] Delete sta_strings.xml --- .../ModuleData/Languages/BY/sta_strings.xml | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/sta_strings.xml deleted file mode 100644 index bf880efc..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BY/sta_strings.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - From c2df630a2c3579be9642e2d7b69e3620eb97e4b7 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 16:11:20 +0200 Subject: [PATCH 66/73] Delete sta_strings.xml --- .../ModuleData/Languages/FR/sta_strings.xml | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml deleted file mode 100644 index 7389cb60..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/FR/sta_strings.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - From fba81f66a47030ac247949929beca9824b5c3b19 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 16:11:45 +0200 Subject: [PATCH 67/73] Delete sta_strings.xml --- .../ModuleData/Languages/DE/sta_strings.xml | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml deleted file mode 100644 index 9cb932ad..00000000 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/DE/sta_strings.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - From 8bf9f4988930aefe530298263554edb89d3376b1 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 17:36:16 +0200 Subject: [PATCH 68/73] New translations language_data.xml (Belarusian) --- .../_Module/ModuleData/Languages/BYc/language_data.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/language_data.xml index 8ffb0f33..cbfe30b1 100644 --- a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/language_data.xml +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYc/language_data.xml @@ -1,4 +1,4 @@ - + From 10a14fb3be40c54d65d6e1b033c61f91f701f259 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 17:36:18 +0200 Subject: [PATCH 69/73] New translations language_data.xml (Belarusian Latin) --- .../_Module/ModuleData/Languages/BYl/language_data.xml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYl/language_data.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYl/language_data.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYl/language_data.xml new file mode 100644 index 00000000..82c39dde --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/BYl/language_data.xml @@ -0,0 +1,4 @@ + + + + From dce74ee02e48f4e3264a6a171941dbe42394e82d Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 12 Jan 2023 21:13:01 +0200 Subject: [PATCH 70/73] New translations sta_strings.xml (Romanian) --- .../ModuleData/Languages/RO/sta_strings.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RO/sta_strings.xml diff --git a/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RO/sta_strings.xml b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RO/sta_strings.xml new file mode 100644 index 00000000..8c370e20 --- /dev/null +++ b/src/Bannerlord.ButterLib.Implementation/_Module/ModuleData/Languages/RO/sta_strings.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + From e07208dec3203423d8bf61cad99bd0247b8b2a5b Mon Sep 17 00:00:00 2001 From: Alexey Chernyshov Date: Fri, 13 Jan 2023 00:22:10 +0300 Subject: [PATCH 71/73] Adapted for v1.1.0 --- build/common.props | 12 ++++++------ changelog.txt | 4 ++++ .../Logging/DebugManagerWrapper.cs | 2 ++ supported-game-versions.txt | 2 ++ .../Bannerlord.ButterLib.HotKeys.Test.csproj | 2 +- .../Bannerlord.ButterLib.Implementation.Tests.csproj | 2 +- .../Bannerlord.ButterLib.Tests.csproj | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) diff --git a/build/common.props b/build/common.props index cc108685..01986bd2 100644 --- a/build/common.props +++ b/build/common.props @@ -4,18 +4,18 @@ - 2.6.1 + 2.6.2 2.2.2 - 3.1.0.69 + 3.2.0.72 1.0.1.44 2.0.0 - 1.0.1.86 - 3.0.0.124 - 4.0.150 + 1.0.1.87 + 3.0.0.127 + 5.0.166 @@ -70,7 +70,7 @@ $([System.String]::Copy('$(GameVersion)').Replace('.','')) - e$(GameVersionFlat) + v$(GameVersionFlat) diff --git a/changelog.txt b/changelog.txt index 4e70d987..a6bcc846 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,8 @@ --------------------------------------------------------------------------------------------------- +Version: 2.6.2 +Game Versions: v1.0.0,v1.0.1,v1.0.2,v1.0.3,v1.1.0 +* Adapted for v1.1.0 +--------------------------------------------------------------------------------------------------- Version: 2.6.1 Game Versions: v1.0.0,v1.0.1,v1.0.2 * v1.0.2 stealth update fix. We ship Newtonsoft.Json 13 for backwards compatibility diff --git a/src/Bannerlord.ButterLib.Implementation/Logging/DebugManagerWrapper.cs b/src/Bannerlord.ButterLib.Implementation/Logging/DebugManagerWrapper.cs index 0a736b39..c41bd21b 100644 --- a/src/Bannerlord.ButterLib.Implementation/Logging/DebugManagerWrapper.cs +++ b/src/Bannerlord.ButterLib.Implementation/Logging/DebugManagerWrapper.cs @@ -105,11 +105,13 @@ public void RenderDebugRectWithColor(float left, float bottom, float right, floa public void WatchVariable(string name, object value) => OriginalDebugManager.WatchVariable(name, value); +#if v100 || v101 || v102 || v103 public void BeginTelemetryScopeInternal(TelemetryLevelMask levelMask, string scopeName) => OriginalDebugManager.BeginTelemetryScopeInternal(levelMask, scopeName); public void EndTelemetryScopeInternal() => OriginalDebugManager.EndTelemetryScopeInternal(); public void BeginTelemetryScopeBaseLevelInternal(TelemetryLevelMask levelMask, string scopeName) => OriginalDebugManager.BeginTelemetryScopeBaseLevelInternal(levelMask, scopeName); public void EndTelemetryScopeBaseLevelInternal() => OriginalDebugManager.EndTelemetryScopeBaseLevelInternal(); +#endif public Vec3 GetDebugVector() => OriginalDebugManager.GetDebugVector(); diff --git a/supported-game-versions.txt b/supported-game-versions.txt index 53bbf692..6f097c9c 100644 --- a/supported-game-versions.txt +++ b/supported-game-versions.txt @@ -1,3 +1,5 @@ +v1.1.0 +v1.0.3 v1.0.2 v1.0.1 v1.0.0 \ No newline at end of file diff --git a/tests/Bannerlord.ButterLib.HotKeys.Test/Bannerlord.ButterLib.HotKeys.Test.csproj b/tests/Bannerlord.ButterLib.HotKeys.Test/Bannerlord.ButterLib.HotKeys.Test.csproj index 476b99ae..67aac87b 100644 --- a/tests/Bannerlord.ButterLib.HotKeys.Test/Bannerlord.ButterLib.HotKeys.Test.csproj +++ b/tests/Bannerlord.ButterLib.HotKeys.Test/Bannerlord.ButterLib.HotKeys.Test.csproj @@ -22,7 +22,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/Bannerlord.ButterLib.Implementation.Tests/Bannerlord.ButterLib.Implementation.Tests.csproj b/tests/Bannerlord.ButterLib.Implementation.Tests/Bannerlord.ButterLib.Implementation.Tests.csproj index 2f97487d..9fe5e0ab 100644 --- a/tests/Bannerlord.ButterLib.Implementation.Tests/Bannerlord.ButterLib.Implementation.Tests.csproj +++ b/tests/Bannerlord.ButterLib.Implementation.Tests/Bannerlord.ButterLib.Implementation.Tests.csproj @@ -20,7 +20,7 @@ - + diff --git a/tests/Bannerlord.ButterLib.Tests/Bannerlord.ButterLib.Tests.csproj b/tests/Bannerlord.ButterLib.Tests/Bannerlord.ButterLib.Tests.csproj index b3ff133a..ac95ec7b 100644 --- a/tests/Bannerlord.ButterLib.Tests/Bannerlord.ButterLib.Tests.csproj +++ b/tests/Bannerlord.ButterLib.Tests/Bannerlord.ButterLib.Tests.csproj @@ -20,7 +20,7 @@ - + From 0b519e533ad0e7af7c35eb4c04bec240bd9de44b Mon Sep 17 00:00:00 2001 From: Aragas Date: Fri, 13 Jan 2023 23:05:01 +0200 Subject: [PATCH 72/73] Fixed tests --- build/common.props | 2 +- .../DependencyInjectionTests.cs | 2 + .../ApplicationVersionUtilsTests.cs | 8 ---- .../DelayedSubModule/DelayedSubModuleTest.cs | 22 ++++----- .../DelayedSubModule/TestHelper.cs | 48 ++++--------------- .../DelegateHelper.cs | 7 +-- 6 files changed, 26 insertions(+), 63 deletions(-) diff --git a/build/common.props b/build/common.props index 01986bd2..7845a66e 100644 --- a/build/common.props +++ b/build/common.props @@ -41,7 +41,7 @@ - e1.1.0 + v1.0.0 $([System.Text.RegularExpressions.Regex]::Split($(SGVFile), `\r\n|\r|\n`).Length) $([MSBuild]::Subtract($(SGVLineCount), 1)) diff --git a/tests/Bannerlord.ButterLib.Implementation.Tests/DependencyInjectionTests.cs b/tests/Bannerlord.ButterLib.Implementation.Tests/DependencyInjectionTests.cs index fd50699d..0dfef53c 100644 --- a/tests/Bannerlord.ButterLib.Implementation.Tests/DependencyInjectionTests.cs +++ b/tests/Bannerlord.ButterLib.Implementation.Tests/DependencyInjectionTests.cs @@ -82,6 +82,8 @@ private static bool MockedGetSettlementAll(ref MBReadOnlyList __resu [SetUp] public void Setup() { + TWCommon.PlatformFileHelper = new PlatformFileHelperPC(""); + var harmony = new Harmony($"{nameof(DependencyInjectionTests)}.{nameof(Setup)}"); //harmony.Patch(SymbolExtensions2.GetMethodInfo(() => FSIOHelper.GetConfigPath()), // prefix: new HarmonyMethod(DelegateHelper.GetMethodInfo(MockedGetConfigPath))); diff --git a/tests/Bannerlord.ButterLib.Tests/ApplicationVersionUtilsTests.cs b/tests/Bannerlord.ButterLib.Tests/ApplicationVersionUtilsTests.cs index 3f020c5a..63df7ad8 100644 --- a/tests/Bannerlord.ButterLib.Tests/ApplicationVersionUtilsTests.cs +++ b/tests/Bannerlord.ButterLib.Tests/ApplicationVersionUtilsTests.cs @@ -30,14 +30,6 @@ public void Setup() prefix: new HarmonyMethod(DelegateHelper.GetMethodInfo(MockedGetVersionStr))); } - [Test] - public void GameVersion_Test() - { - var gameVersion = ApplicationVersionHelper.GameVersion(); - Assert.NotNull(gameVersion); - Assert.AreEqual(TestAppVersion, gameVersion.Value); - } - [Test] public void TryParse_Test() { diff --git a/tests/Bannerlord.ButterLib.Tests/DelayedSubModule/DelayedSubModuleTest.cs b/tests/Bannerlord.ButterLib.Tests/DelayedSubModule/DelayedSubModuleTest.cs index 3ecafeb5..73f0b05d 100644 --- a/tests/Bannerlord.ButterLib.Tests/DelayedSubModule/DelayedSubModuleTest.cs +++ b/tests/Bannerlord.ButterLib.Tests/DelayedSubModule/DelayedSubModuleTest.cs @@ -1,6 +1,6 @@ -using Bannerlord.ButterLib.DelayedSubModule; +using Bannerlord.BUTR.Shared.Helpers; +using Bannerlord.ButterLib.DelayedSubModule; using Bannerlord.ButterLib.SubModuleWrappers2; -using Bannerlord.ModuleManager; using HarmonyLib; @@ -15,15 +15,15 @@ namespace Bannerlord.ButterLib.Tests.DelayedSubModule public class DelayedSubModuleTest { [MethodImpl(MethodImplOptions.NoInlining)] - private static bool MockedGetModuleInfo(Type type, ref object? __result) + private static bool MockedGetModuleInfo(Type type, ref ModuleInfoExtendedWithMetadata? __result) { if (type == typeof(TestSubModuleCaller)) { - __result = TestHelper.ModuleInfoCaller1; + __result = TestHelper.ModuleInfoCaller; } if (type == typeof(TestSubModuleTarget)) { - __result = TestHelper.ModuleInfoTarget1; + __result = TestHelper.ModuleInfoTarget; } return false; @@ -44,9 +44,9 @@ public void Setup() public void SubscribeBeforeTargetLoad_Test() { [MethodImpl(MethodImplOptions.NoInlining)] - static bool MockedGetLoadedModules(ref IEnumerable __result) + static bool MockedGetLoadedModules(ref IEnumerable __result) { - __result = new List { TestHelper.ModuleInfoCaller, TestHelper.ModuleInfoTarget }; + __result = new List { TestHelper.ModuleInfoCaller, TestHelper.ModuleInfoTarget }; return false; } @@ -66,9 +66,9 @@ static bool MockedGetLoadedModules(ref IEnumerable __result) public void SubscribeBeforeTargetLoad_CallTargetManually_Test() { [MethodImpl(MethodImplOptions.NoInlining)] - static bool MockedGetLoadedModules(ref IEnumerable __result) + static bool MockedGetLoadedModules(ref IEnumerable __result) { - __result = new List { TestHelper.ModuleInfoCaller, TestHelper.ModuleInfoTarget }; + __result = new List { TestHelper.ModuleInfoCaller, TestHelper.ModuleInfoTarget }; return false; } @@ -93,9 +93,9 @@ static bool MockedGetLoadedModules(ref IEnumerable __result) public void SubscribeAfterTargetLoad_Test() { [MethodImpl(MethodImplOptions.NoInlining)] - static bool MockedGetLoadedModules(ref IEnumerable __result) + static bool MockedGetLoadedModules(ref IEnumerable __result) { - __result = new List { TestHelper.ModuleInfoTarget, TestHelper.ModuleInfoCaller }; + __result = new List { TestHelper.ModuleInfoTarget, TestHelper.ModuleInfoCaller }; return false; } diff --git a/tests/Bannerlord.ButterLib.Tests/DelayedSubModule/TestHelper.cs b/tests/Bannerlord.ButterLib.Tests/DelayedSubModule/TestHelper.cs index 307aedaa..f1874023 100644 --- a/tests/Bannerlord.ButterLib.Tests/DelayedSubModule/TestHelper.cs +++ b/tests/Bannerlord.ButterLib.Tests/DelayedSubModule/TestHelper.cs @@ -1,4 +1,5 @@ -using Bannerlord.ModuleManager; +using Bannerlord.BUTR.Shared.Helpers; +using Bannerlord.ModuleManager; using HarmonyLib.BUTR.Extensions; @@ -10,14 +11,14 @@ internal static class TestHelper { public static readonly Type? ModuleInfoType = AccessTools2.TypeByName("TaleWorlds.ModuleManager.ModuleInfo"); - private static ModuleInfoExtended? _moduleInfoCaller; - public static ModuleInfoExtended ModuleInfoCaller + private static ModuleInfoExtendedWithMetadata? _moduleInfoCaller; + public static ModuleInfoExtendedWithMetadata ModuleInfoCaller { get { if (_moduleInfoCaller is null) { - _moduleInfoCaller = new ModuleInfoExtended(); + _moduleInfoCaller = new ModuleInfoExtendedWithMetadata(new ModuleInfoExtended(), false, ""); AccessTools2.Property("Bannerlord.ModuleManager.ModuleInfoExtended:Id")?.SetValue(_moduleInfoCaller, nameof(TestSubModuleCaller)); AccessTools2.Property("Bannerlord.ModuleManager.ModuleInfoExtended:Name")?.SetValue(_moduleInfoCaller, nameof(TestSubModuleCaller)); } @@ -26,14 +27,14 @@ public static ModuleInfoExtended ModuleInfoCaller } } - private static ModuleInfoExtended? _moduleInfoTarget; - public static ModuleInfoExtended ModuleInfoTarget + private static ModuleInfoExtendedWithMetadata? _moduleInfoTarget; + public static ModuleInfoExtendedWithMetadata ModuleInfoTarget { get { if (_moduleInfoTarget is null) { - _moduleInfoTarget = new ModuleInfoExtended(); + _moduleInfoTarget = new ModuleInfoExtendedWithMetadata(new ModuleInfoExtended(), false, ""); AccessTools2.Property("Bannerlord.ModuleManager.ModuleInfoExtended:Id")?.SetValue(_moduleInfoTarget, nameof(TestSubModuleTarget)); AccessTools2.Property("Bannerlord.ModuleManager.ModuleInfoExtended:Name")?.SetValue(_moduleInfoTarget, nameof(TestSubModuleTarget)); } @@ -41,38 +42,5 @@ public static ModuleInfoExtended ModuleInfoTarget return _moduleInfoTarget; } } - - - private static object? _moduleInfoCaller1; - public static object ModuleInfoCaller1 - { - get - { - if (_moduleInfoCaller1 is null) - { - _moduleInfoCaller1 = Activator.CreateInstance(ModuleInfoType); - AccessTools2.Property(ModuleInfoType, "Id")?.SetValue(_moduleInfoCaller1, nameof(TestSubModuleCaller)); - AccessTools2.Property(ModuleInfoType, "Name")?.SetValue(_moduleInfoCaller1, nameof(TestSubModuleCaller)); - } - - return _moduleInfoCaller1; - } - } - - private static object? _moduleInfoTarget1; - public static object ModuleInfoTarget1 - { - get - { - if (_moduleInfoTarget1 is null) - { - _moduleInfoTarget1 = Activator.CreateInstance(ModuleInfoType); - AccessTools2.Property(ModuleInfoType, "Id")?.SetValue(_moduleInfoTarget1, nameof(TestSubModuleTarget)); - AccessTools2.Property(ModuleInfoType, "Name")?.SetValue(_moduleInfoTarget1, nameof(TestSubModuleTarget)); - } - - return _moduleInfoTarget1; - } - } } } \ No newline at end of file diff --git a/tests/Bannerlord.ButterLib.Tests/DelegateHelper.cs b/tests/Bannerlord.ButterLib.Tests/DelegateHelper.cs index 3a06852d..e7b2a2fc 100644 --- a/tests/Bannerlord.ButterLib.Tests/DelegateHelper.cs +++ b/tests/Bannerlord.ButterLib.Tests/DelegateHelper.cs @@ -1,4 +1,5 @@ -using Bannerlord.ModuleManager; +using Bannerlord.BUTR.Shared.Helpers; +using Bannerlord.ModuleManager; using System; using System.Collections.Generic; @@ -8,13 +9,13 @@ namespace Bannerlord.ButterLib.Tests { internal static class DelegateHelper { - public delegate bool MockedGetModuleInfoDelegate(Type type, ref object? __result); + public delegate bool MockedGetModuleInfoDelegate(Type type, ref ModuleInfoExtendedWithMetadata? __result); public static MethodInfo GetMethodInfo(MockedGetModuleInfoDelegate @delegate) => @delegate.Method; public delegate bool MockedGetBasePathDelegate(ref string __result); public static MethodInfo GetMethodInfo(this MockedGetBasePathDelegate @delegate) => @delegate.Method; - public delegate bool MockedGetLoadedModulesDelegate(ref IEnumerable __result); + public delegate bool MockedGetLoadedModulesDelegate(ref IEnumerable __result); public static MethodInfo GetMethodInfo(MockedGetLoadedModulesDelegate @delegate) => @delegate.Method; } } \ No newline at end of file From 4ea14395c81c7802fd9010049602f31ec60a1d6c Mon Sep 17 00:00:00 2001 From: Alexey Chernyshov <65975574+artifixer@users.noreply.github.com> Date: Sat, 14 Jan 2023 01:49:30 +0300 Subject: [PATCH 73/73] Update changelog.txt --- changelog.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index a6bcc846..43f9bea4 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,8 @@ Version: 2.6.2 Game Versions: v1.0.0,v1.0.1,v1.0.2,v1.0.3,v1.1.0 * Adapted for v1.1.0 +* Added some localizations +* Improvements to BetterExceptionWindow compatibility --------------------------------------------------------------------------------------------------- Version: 2.6.1 Game Versions: v1.0.0,v1.0.1,v1.0.2 @@ -361,4 +363,4 @@ Game Versions: e1.4.3,e1.5.0,e1.5.1 * Added the ability to get a persistent and deterministic Campaign Id. * Added the distance matriñes with default implementation for heroes, settlements, clans and kingdoms. * Several helper classes and extensions. ---------------------------------------------------------------------------------------------------- \ No newline at end of file +---------------------------------------------------------------------------------------------------