Refactor Lua string escaping to a new utility class

This commit is contained in:
tsommer committed 2025-04-26 18:16:28 +02:00
1 parent 3e31d0a6d1
commit eba3e7a9fe
2 files changed
+10 -6

No files matched your search

@@ -69,12 +69,6 @@ public sealed partial class CollectI18NKeysCommand
Console.WriteLine(" done.");
}
private static string EscapeLuaString(string value)
{
// Ersetze Backslash und Doppel-Anführungszeichen
return value.Replace("\\", @"\\").Replace("\"", "\\\"");
}
private string ExportToLuaAssignments(Dictionary<string, string> keyValuePairs)
{