From 16bc4fc34f8a6a873e1b4e314ae11b9963b06d36 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sun, 12 Feb 2023 00:41:48 +0100 Subject: [PATCH] Fix agreement window title --- Pal.Client/Properties/Localization.Designer.cs | 3 ++- Pal.Client/Windows/AgreementWindow.cs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Pal.Client/Properties/Localization.Designer.cs b/Pal.Client/Properties/Localization.Designer.cs index 88f71bb..8a2a35b 100644 --- a/Pal.Client/Properties/Localization.Designer.cs +++ b/Pal.Client/Properties/Localization.Designer.cs @@ -1,6 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -18,7 +19,7 @@ namespace Pal.Client.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Localization { diff --git a/Pal.Client/Windows/AgreementWindow.cs b/Pal.Client/Windows/AgreementWindow.cs index 40af15c..3cd3a29 100644 --- a/Pal.Client/Windows/AgreementWindow.cs +++ b/Pal.Client/Windows/AgreementWindow.cs @@ -14,6 +14,8 @@ namespace Pal.Client.Windows public AgreementWindow() : base(WindowId) { + LanguageChanged(); + Flags = ImGuiWindowFlags.NoCollapse; Size = new Vector2(500, 500); SizeCondition = ImGuiCond.FirstUseEver;