code cleanup

This commit is contained in:
soarqin committed 2023-12-14 21:52:35 +08:00
1 parent aa5d8a2454
commit 51f35bb573
28 files changed
+318 -466

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ public static class I18N
public static bool Initialized() => _initialized;
private static int _nextID = 1;
private static readonly List<StringProto> StringsToAdd = new();
private static readonly List<StringProto> StringsToAdd = [];
public static void Add(string key, string enus, string zhcn = null, string frfr = null)
{
var strProto = new StringProto