This commit is contained in:
CortexCore
2025-04-30 14:18:13 +08:00
parent f8bcf8a4d4
commit fc189b98cc
13 changed files with 3880 additions and 11 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)