提交修改
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user