fix: localize auto-compact threshold settings

This commit is contained in:
Xiaohan-Tian
2026-06-03 17:38:34 -07:00
parent 42fdcebd42
commit 5c6e1d69c5
6 changed files with 34 additions and 6 deletions
+5
View File
@@ -42,6 +42,11 @@ export const zhHkMessages: TranslationMessages = {
'settings.general.llmProvider.openaiCompatible': 'OpenAI 兼容服務(例如 OpenRouter、Ollama',
'settings.general.persistKeys.label': '在非 localhost 環境持久化 API Key',
'settings.general.persistKeys.help': '啟用後,即使在非 localhost 環境下,API Key 也會儲存到瀏覽器儲存空間中。警告:這可能增加 XSS 攻擊帶來的安全風險。',
'settings.general.autoCompactThreshold.label': '自動壓縮閾值',
'settings.general.autoCompactThreshold.help': '當預估上下文使用量達到此級別時,在下一次請求前壓縮對話。',
'settings.general.autoCompactThreshold.conservative': '保守(95%',
'settings.general.autoCompactThreshold.standard': '標準(90%',
'settings.general.autoCompactThreshold.early': '提前(80%',
'settings.general.localRuntime.cachedStatus': '緩存模型狀態',
'settings.general.localRuntime.cacheChecking': '正在檢查本地模型緩存...',
'settings.general.localRuntime.cacheDownloaded': '已下載到瀏覽器緩存。',