This commit is contained in:
CortexCore
2025-04-30 14:17:59 +08:00
parent e8efbef8ec
commit 994817348b
1746 changed files with 148086 additions and 104 deletions

View File

@@ -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)