提交修改

This commit is contained in:
2025-10-20 00:00:56 +08:00
parent 983203f603
commit 4ee5d0885c
292 changed files with 14032 additions and 78 deletions

View File

@@ -21,6 +21,17 @@ namespace NBC
}
public static ILanguage Text => Inst.GetLanguageModule((int)LanguageModuleType.Text);
public static string Get(string key)
{
return Text.Get(key);
}
public static string Get(string key, params object[] args)
{
var format = string.Format(Text.Get(key), args);
return format;
}
public static void SetLanguage(this GObject child, string key, params object[] args)
{