From e5f5d08582251647d2c68ad4042e3c69169e43b6 Mon Sep 17 00:00:00 2001 From: Ronald Klarenbeek Date: Fri, 2 Jan 2026 23:40:35 +0100 Subject: [PATCH] feat(i18n): add auto summary strings for cs, ru, zh_Hans, and zh_Hant locales - Add new translation strings for auto summary feature - Include title, generating, failed, and prompt messages - Remove unnecessary description fields from en locale - Add missing auto summary preference strings for zh_Hant locale --- _locales/cs/messages.json | 12 ++++++++++++ _locales/en/messages.json | 6 ------ _locales/ru/messages.json | 12 ++++++++++++ _locales/zh_Hans/messages.json | 12 ++++++++++++ _locales/zh_Hant/messages.json | 18 ++++++++++++++++++ 5 files changed, 54 insertions(+), 6 deletions(-) diff --git a/_locales/cs/messages.json b/_locales/cs/messages.json index 2ee16360..3586bea0 100644 --- a/_locales/cs/messages.json +++ b/_locales/cs/messages.json @@ -1172,5 +1172,17 @@ }, "prefs_OptionText_auto_summary_Info": { "message": "Pokud je zaškrtnuto, ThunderAI automaticky vygeneruje a zobrazí AI shrnutí nad e-mailovými zprávami, když jsou otevřeny. Mějte na paměti, že to znamená, že všechny zprávy, které si prohlížíte, budou okamžitě odeslány do nakonfigurované AI služby." + }, + "auto_summary_title": { + "message": "ThunderAI Souhrn" + }, + "auto_summary_generating": { + "message": "Generování AI souhrnu..." + }, + "auto_summary_failed": { + "message": "Nepodařilo se vygenerovat AI souhrn. Zkontrolujte prosím nastavení a zkuste to znovu." + }, + "auto_summary_prompt": { + "message": "Poskytněte stručný souhrn následující e-mailové zprávy. Souhrn by měl obsahovat maximálně 3-5 vět a zachytit hlavní body:\n\n" } } diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 77300ad7..d15784e9 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1739,26 +1739,20 @@ }, "prefs_OptionText_auto_summary": { "message": "Enable automatic AI summarization for message previews", - "description": "" }, "prefs_OptionText_auto_summary_Info": { "message": "If checked, ThunderAI will automatically generate and display AI summaries above email messages when they are opened. Note that this means all messages you preview will immediately be sent to the configured AI service.", - "description": "" }, "auto_summary_title": { "message": "ThunderAI Summary", - "description": "Title for the auto-summary pane" }, "auto_summary_generating": { "message": "Generating AI summary...", - "description": "Loading text shown while generating summary" }, "auto_summary_failed": { "message": "Failed to generate AI summary. Please confirm your settings and try again.", - "description": "Error message when summary generation fails" }, "auto_summary_prompt": { "message": "Please provide a concise summary of the following email message. The summary should be 3-5 sentences maximum and capture the main points:\n\n", - "description": "Prompt template for AI summary generation" } } diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json index 08be72f1..6f93f42b 100644 --- a/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -1229,5 +1229,17 @@ }, "prefs_OptionText_auto_summary_Info": { "message": "Если отмечено, резюме, сгенерированное ИИ, будет автоматически отображаться над сообщениями в просмотре." + }, + "auto_summary_title": { + "message": "ThunderAI Резюме" + }, + "auto_summary_generating": { + "message": "Генерация AI резюме..." + }, + "auto_summary_failed": { + "message": "Не удалось сгенерировать AI резюме. Пожалуйста, проверьте настройки и попробуйте снова." + }, + "auto_summary_prompt": { + "message": "Пожалуйста, предоставьте краткое резюме следующего сообщения электронной почты. Резюме должно содержать максимум 3-5 предложений и отражать основные моменты:\n\n" } } diff --git a/_locales/zh_Hans/messages.json b/_locales/zh_Hans/messages.json index 37f8fc25..9f5aa903 100644 --- a/_locales/zh_Hans/messages.json +++ b/_locales/zh_Hans/messages.json @@ -925,5 +925,17 @@ }, "prefs_OptionText_auto_summary_Info": { "message": "如果选中,AI生成的摘要将自动显示在消息预览上方。" + }, + "auto_summary_title": { + "message": "ThunderAI 摘要" + }, + "auto_summary_generating": { + "message": "正在生成AI摘要..." + }, + "auto_summary_failed": { + "message": "生成AI摘要失败。请确认您的设置并重试。" + }, + "auto_summary_prompt": { + "message": "请提供以下电子邮件消息的简明摘要。摘要应最多包含3-5个句子,并捕捉主要要点:\n\n" } } diff --git a/_locales/zh_Hant/messages.json b/_locales/zh_Hant/messages.json index 22158154..59e2dfbc 100644 --- a/_locales/zh_Hant/messages.json +++ b/_locales/zh_Hant/messages.json @@ -1241,5 +1241,23 @@ }, "OpenAIComp_ClearModelsList_Confirm": { "message": "確定要清除模型清單嗎?這個動作無法復原。" + }, + "prefs_OptionText_auto_summary": { + "message": "啟用郵件預覽的自動 AI 摘要" + }, + "prefs_OptionText_auto_summary_Info": { + "message": "如果勾選,ThunderAI 將自動生成並顯示 AI 摘要在電子郵件訊息上方。請注意,這意味著您預覽的所有訊息將立即被發送到已配置的 AI 服務。" + }, + "auto_summary_title": { + "message": "ThunderAI 摘要" + }, + "auto_summary_generating": { + "message": "正在產生 AI 摘要..." + }, + "auto_summary_failed": { + "message": "產生 AI 摘要失敗。請確認您的設定並重試。" + }, + "auto_summary_prompt": { + "message": "請提供以下電子郵件訊息的簡明摘要。摘要應最多包含3-5個句子,並捕捉主要要點:\n\n" } }