From fd180ba4832dd48fa42857cf1ffb672f7cc47b82 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1s=C3=A1ry=20D=C3=A1niel?= Date: Tue, 2 Apr 2024 12:36:32 +0200 Subject: [PATCH] Trim dot from dynamic text --- client/MaestroShared/Commons/PatternNameMaker.cs | 2 +- client/MaestroShared/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/MaestroShared/Commons/PatternNameMaker.cs b/client/MaestroShared/Commons/PatternNameMaker.cs index 85aea923..03a48222 100644 --- a/client/MaestroShared/Commons/PatternNameMaker.cs +++ b/client/MaestroShared/Commons/PatternNameMaker.cs @@ -1,7 +1,6 @@ using System; using System.Globalization; using System.IO; -using System.Linq; using System.Text; using System.Text.RegularExpressions; @@ -42,6 +41,7 @@ namespace MaestroShared.Commons { stringBuilder.Append(c); } string result = stringBuilder.ToString(); + result = result.Trim('.'); result = Regex.Replace(result, NORMALIZE_TEXT_PATTERN, UNDERSCORE); if (result.Length > 100) result = result.Substring(0, 100); diff --git a/client/MaestroShared/Properties/AssemblyInfo.cs b/client/MaestroShared/Properties/AssemblyInfo.cs index 5ad59bc4..0ff5a07c 100644 --- a/client/MaestroShared/Properties/AssemblyInfo.cs +++ b/client/MaestroShared/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.1.1.2")] -[assembly: AssemblyFileVersion("2.1.1.2")] +[assembly: AssemblyVersion("2.1.1.3")] +[assembly: AssemblyFileVersion("2.1.1.3")] -- 2.54.0