();
+ HotfixedStringsDict[txtKey]["namespace"] = txtNamespace;
+ Regex regex = new Regex(@"(?<=\().+?(?=\))");
+ foreach (Match match in regex.Matches(translations))
+ {
+ try
+ {
+ string[] langParts = match.Value.Substring(1, match.Value.Length - 2).Split(new string[] { "\",\"" }, StringSplitOptions.None);
+
+ HotfixedStringsDict[txtKey][langParts[0]] = langParts[1];
+ }
+ catch (IndexOutOfRangeException)
+ {
+ string[] langParts = match.Value.Substring(1, match.Value.Length - 2).Split(new string[] { "\", \"" }, StringSplitOptions.None);
+
+ HotfixedStringsDict[txtKey][langParts[0]] = langParts[1];
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+
+ private static string GetValueFromParam(string fullLine, string startWith, string endWith)
+ {
+ int startIndex = fullLine.IndexOf(startWith) + startWith.Length;
+ int endIndex = fullLine.Substring(startIndex).IndexOf(endWith);
+ return fullLine.Substring(startIndex, endIndex);
+ }
+ }
+}
diff --git a/FModel/Methods/Serializer/LocRes/LocResSerializer.cs b/FModel/Methods/Serializer/LocRes/LocResSerializer.cs
index bd59b1b3..7fa52653 100644
--- a/FModel/Methods/Serializer/LocRes/LocResSerializer.cs
+++ b/FModel/Methods/Serializer/LocRes/LocResSerializer.cs
@@ -1,6 +1,4 @@
-using Newtonsoft.Json;
-using System;
-using System.Collections;
+using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
diff --git a/FModel/Properties/AssemblyInfo.cs b/FModel/Properties/AssemblyInfo.cs
index 54c6d4af..3e2c425d 100644
--- a/FModel/Properties/AssemblyInfo.cs
+++ b/FModel/Properties/AssemblyInfo.cs
@@ -33,7 +33,7 @@ using System.Runtime.InteropServices;
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2.4.5.1")]
-[assembly: AssemblyFileVersion("2.4.5.1")]
+[assembly: AssemblyVersion("2.4.5.2")]
+[assembly: AssemblyFileVersion("2.4.5.2")]
[assembly: NeutralResourcesLanguage("en")]
diff --git a/FModel/packages.config b/FModel/packages.config
index d9b359c7..0b127b20 100644
--- a/FModel/packages.config
+++ b/FModel/packages.config
@@ -6,5 +6,4 @@
-
\ No newline at end of file
diff --git a/README.md b/README.md
index 8f5b063e..8269c3c6 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# FModel
[](https://github.com/iAmAsval/FModel/releases)
-[](https://github.com/iAmAsval/FModel//releases/latest)
+[](https://github.com/iAmAsval/FModel//releases/latest)
[](https://github.com/iAmAsval/FModel/blob/master/LICENSE)
[](https://twitter.com/AsvalFN)
[](https://discord.gg/JmWvXKb)
@@ -12,7 +12,7 @@
### Prerequisites
[.NET Framework 4.7.1](https://dotnet.microsoft.com/download/dotnet-framework/net471)
### Download
-[](https://github.com/iAmAsval/FModel/releases/latest)
+[](https://github.com/iAmAsval/FModel/releases/latest)
### How To Use
>Video Tutorial by FireMonkey