Wiring up the AI calls.

This commit is contained in:
Burak Kaan Köse
2026-03-25 00:25:05 +01:00
parent fd81ee31ce
commit 7aad6b0157
6 changed files with 208 additions and 0 deletions
@@ -1060,6 +1060,56 @@
"Composer_SmimeSignature": "S/MIME Signature",
"Composer_SmimeEncryption": "S/MIME Encryption",
"Composer_EmailTemplatesPlaceholder": "E-mail templates",
"Composer_AiSummarize": "Summarize with AI",
"Composer_AiTranslate": "Translate with AI",
"Composer_AiActions": "AI Actions",
"Composer_AiRewrite": "Rewrite with AI",
"Composer_AiRewritePolite": "Make it polite",
"Composer_AiRewritePoliteDescription": "Softens the wording while keeping the same intent.",
"Composer_AiRewriteAngry": "Make it direct",
"Composer_AiRewriteAngryDescription": "Uses a firmer, more forceful tone.",
"Composer_AiRewriteFormal": "Make it formal",
"Composer_AiRewriteFormalDescription": "Makes the message sound more professional and structured.",
"Composer_AiRewriteFriendly": "Make it friendly",
"Composer_AiRewriteFriendlyDescription": "Warms up the message with a more approachable tone.",
"Composer_AiRewriteShorter": "Make it shorter",
"Composer_AiRewriteShorterDescription": "Tightens the text and removes unnecessary detail.",
"Composer_AiRewriteClearer": "Make it clearer",
"Composer_AiRewriteClearerDescription": "Improves readability and makes the message easier to follow.",
"Composer_AiRewriteMode": "Rewrite tone",
"Composer_AiRewriteApply": "Apply rewrite",
"Composer_AiTranslateDialogTitle": "Translate with AI",
"Composer_AiTranslateDialogDescription": "Enter the target language or culture code, such as en-US, tr-TR, de-DE, or fr-FR.",
"Composer_AiTranslateApply": "Translate",
"Composer_AiTranslateLanguage": "Target language",
"Composer_AiTranslateCustomPlaceholder": "Enter culture code",
"Composer_AiTranslateLanguageEnglish": "English (en-US)",
"Composer_AiTranslateLanguageTurkish": "Turkish (tr-TR)",
"Composer_AiTranslateLanguageGerman": "German (de-DE)",
"Composer_AiTranslateLanguageFrench": "French (fr-FR)",
"Composer_AiTranslateLanguageSpanish": "Spanish (es-ES)",
"Composer_AiTranslateLanguageItalian": "Italian (it-IT)",
"Composer_AiTranslateLanguagePortugueseBrazil": "Portuguese (Brazil) (pt-BR)",
"Composer_AiTranslateLanguageDutch": "Dutch (nl-NL)",
"Composer_AiTranslateLanguagePolish": "Polish (pl-PL)",
"Composer_AiTranslateLanguageRussian": "Russian (ru-RU)",
"Composer_AiTranslateLanguageJapanese": "Japanese (ja-JP)",
"Composer_AiTranslateLanguageKorean": "Korean (ko-KR)",
"Composer_AiTranslateLanguageChineseSimplified": "Chinese, Simplified (zh-CN)",
"Composer_AiTranslateLanguageArabic": "Arabic (ar-SA)",
"Composer_AiTranslateLanguageHindi": "Hindi (hi-IN)",
"Composer_AiTranslateLanguageOther": "Other...",
"Composer_AiBusyTitle": "AI is already working",
"Composer_AiBusyMessage": "Please wait for the current AI action to finish.",
"Composer_AiSignInRequired": "Sign in to your Wino Account to use AI features.",
"Composer_AiMissingHtml": "There is no message content to send to Wino AI yet.",
"Composer_AiQuotaUnavailable": "The AI result was applied.",
"Composer_AiAppliedMessage": "The AI result was applied to the composer. Use Undo if you want to revert it.",
"Composer_AiSummarizeSuccessTitle": "AI summary applied",
"Composer_AiTranslateSuccessTitle": "AI translation applied",
"Composer_AiRewriteSuccessTitle": "AI rewrite applied",
"Composer_AiErrorTitle": "AI action failed",
"Reader_AiAppliedMessage": "The AI result is now shown for this message. Reopen the message to view the original content again.",
"SettingsAppPreferences_EmailSyncInterval_Title": "Email sync interval",
"SettingsAppPreferences_EmailSyncInterval_Description": "Automatic email synchronization interval (minutes). This setting will be applied only after restarting Wino Mail.",
"ContactsPage_Title": "Contacts",
@@ -1272,6 +1322,10 @@
"WinoAccount_Error_ExternalLoginInvalid": "The external sign-in request is invalid.",
"WinoAccount_Error_ExternalAuthStateInvalid": "The external sign-in state is invalid or expired.",
"WinoAccount_Error_ExternalAuthCodeInvalid": "The external sign-in code is invalid or expired.",
"WinoAccount_Error_AiQuotaExceeded": "Your AI Pack usage limit has been reached for the current billing period.",
"WinoAccount_Error_AiHtmlEmpty": "There is no email content to process.",
"WinoAccount_Error_AiHtmlTooLarge": "This email is too large to process with Wino AI.",
"WinoAccount_Error_AiUnsupportedLanguage": "That language is not supported. Try a valid culture code such as en-US or tr-TR.",
"WinoAccount_Error_Forbidden": "You do not have permission to perform this action.",
"WinoAccount_Error_ValidationFailed": "The request is invalid. Please review the entered values.",
"WinoAccount_RegisterSuccessMessage": "Wino Account registration completed for {0}.",