This commit is contained in:
2026-02-20 21:03:17 +08:00
parent 6cf9b8df56
commit 27a1f9d084
920 changed files with 196579 additions and 6801 deletions

View File

@@ -37,18 +37,19 @@ namespace NBC
{
if(string.IsNullOrEmpty(key)) return;
if (Text == null) return;
child.lang = key;
// child.lang = key;
var value = Text.Get(key);
if (args != null && args.Length > 0)
{
value = string.Format(value, args);
child.langArgs = args;
// child.langArgs = args;
}
else
{
child.langArgs = null;
// child.langArgs = null;
}

View File

@@ -9,7 +9,7 @@ namespace NBC
public string Name;
public string RelativePath;
}
public class LanguageConfig
{
public string Key;