From: Vásáry Dániel Date: Tue, 2 Apr 2024 10:36:32 +0000 (+0200) Subject: Trim dot from dynamic text X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=fd180ba4832dd48fa42857cf1ffb672f7cc47b82;p=mediacube.git Trim dot from dynamic text --- 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")]