1
This commit is contained in:
@@ -69,6 +69,8 @@ namespace Net.BITKit.Localization
|
||||
|
||||
public string GetLocalizedString(string key, string language = null)
|
||||
{
|
||||
if (string.IsNullOrEmpty(key)) return "#ERROR_EMPTY_KEY";
|
||||
|
||||
language ??= CurrentLanguage; // 默认使用当前语言
|
||||
|
||||
if (key[0] != _prefix)
|
||||
|
Reference in New Issue
Block a user