From 79de40515ac4fa2f20318b2614af79f082d9fc2b Mon Sep 17 00:00:00 2001 From: Marek Frniak Date: Tue, 28 Jul 2026 11:49:07 +0200 Subject: [PATCH] Upgrade: Deleted LANG_PL compilation condition, disabled legalizator before test, and version to 3.9.3134.111 Cause: 1. Unnecessary and mandatory user verification before the test, in addition, a bug appears: the "Approval by legalizer" window is displayed behind the main application window. The window was only needed for the Polish project. 2. `LANG_PL` constant in `TBF.csproj` was no longer needed. 3. Assembly version and file version in `AssemblyInfo.cs` needed to be incremented to `3.9.3134.111`. Solution: 1. Made `altProcNameLabel` and `altProcNameTextBox` always visible and disabled specific UI controls in `ProcedureDlg.cs`. 2. Removed `LANG_PL` from `DefineConstants` in `TBF.csproj`. 3. Updated assembly version and file version in `AssemblyInfo.cs` to `3.9.3134.111`. --- TBF/Properties/AssemblyInfo.cs | 4 ++-- TBF/TBF.csproj | 2 +- TBF/UI/Procedures/ProcedureDlg.cs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TBF/Properties/AssemblyInfo.cs b/TBF/Properties/AssemblyInfo.cs index 6b41f0718..547dd9e9f 100644 --- a/TBF/Properties/AssemblyInfo.cs +++ b/TBF/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("3.9.3134.110")] -[assembly: AssemblyFileVersion("3.9.3134.110")] +[assembly: AssemblyVersion("3.9.3134.111")] +[assembly: AssemblyFileVersion("3.9.3134.111")] diff --git a/TBF/TBF.csproj b/TBF/TBF.csproj index ea0d7da2f..ce3b7fc18 100644 --- a/TBF/TBF.csproj +++ b/TBF/TBF.csproj @@ -51,7 +51,7 @@ pdbonly true bin\Release\ - TRACE;CAMERA;LANG_PL;IPERL; + TRACE;CAMERA;IPERL; prompt 4 AnyCPU diff --git a/TBF/UI/Procedures/ProcedureDlg.cs b/TBF/UI/Procedures/ProcedureDlg.cs index 8e7382cdf..6793b2114 100644 --- a/TBF/UI/Procedures/ProcedureDlg.cs +++ b/TBF/UI/Procedures/ProcedureDlg.cs @@ -410,12 +410,12 @@ namespace TBF.UI.Procedures LoadUISettings(); /// Enable/disable/show/hide controls in General tab -#if LANG_PL +//#if LANG_PL altProcNameLabel.Visible = true; altProcNameTextBox.Visible = true; //altProcPeriodLabel.Visible = true; //altProcPeriodTextBox.Visible = true; -#endif +//#endif procNameTextBox.Enabled = false; descriptionTextBox.Enabled = false; variantTextBox.Enabled = false;