diff --git a/GEMINI.md b/GEMINI.md index c8569b6..3f0fd96 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -130,7 +130,7 @@ Must update ALL of these or the PR check fails: ## i18n & Language Standards 1. **Alignment**: Keep the number of supported languages in `TRANSLATIONS` consistent with major plugins (e.g., `smart-mind-map`). -2. **Supported Languages**: en-US, zh-CN, zh-HK, zh-TW, ko-KR, ja-JP, fr-FR, de-DE, es-ES, it-IT, vi-VN, id-ID. +2. **Supported Languages**: en-US, zh-CN, zh-HK, zh-TW, ko-KR, ja-JP, fr-FR, de-DE, es-ES, it-IT, vi-VN, id-ID, pl-PL. 3. **Fallback Map**: Must include variant redirects (e.g., `es-MX` -> `es-ES`, `fr-CA` -> `fr-FR`). 4. **Tooltips**: All `description` fields in `Valves` must be **English only** to maintain clean UI. 5. **Language Consistency**: All authored system prompts and templates MUST enforce that the Agent response language matches the exact same language as the user's input content (e.g., if concept/task input is in Chinese, provide response in Chinese). diff --git a/plugins/filters/async-context-compression/async_context_compression.py b/plugins/filters/async-context-compression/async_context_compression.py index be6bdff..90df524 100644 --- a/plugins/filters/async-context-compression/async_context_compression.py +++ b/plugins/filters/async-context-compression/async_context_compression.py @@ -618,6 +618,19 @@ class ChatSummary(owui_Base): "tool_trimmed": "... [Output degli strumenti tagliati]\n{content}", "content_collapsed": "\n... [Contenuto compresso] ...\n", }, + "pl-PL": { + "status_context_usage": "Zużycie kontekstu (szacowane): {tokens} / {max_tokens} tokenów ({ratio}%)", + "status_high_usage": " | ⚠️ Wysokie zużycie", + "status_loaded_summary": "Wczytano historyczne podsumowanie (Ukryto {count} historycznych wiadomości)", + "status_context_summary_updated": "Zaktualizowano podsumowanie kontekstu: {tokens} / {max_tokens} tokenów ({ratio}%)", + "status_generating_summary": "Generowanie podsumowania kontekstu w tle...", + "status_summary_error": "Błąd podsumowania: {error} | Sprawdź konsolę przeglądarki (F12) w celu uzyskania szczegółów", + "status_external_refs_injected": "Pominięto chat RAG i wstrzyknięto {count} odniesień do kontekstu czatu", + "summary_prompt_prefix": "【Poprzednie podsumowanie: Poniżej znajduje się podsumowanie historycznej konwersacji, podane jedynie w celach kontekstowych. Nie odpowiadaj na samą treść podsumowania; odnieś się bezpośrednio do poniższych najnowszych pytań.】\n\n", + "summary_prompt_suffix": "\n\n---\nPoniżej znajduje się najnowsza konwersacja:", + "tool_trimmed": "... [Wyjścia narzędzi przycięte]\n{content}", + "content_collapsed": "\n... [Treść zwinięta] ...\n", + }, }