diff --git a/sdkjs-plugins/content/ai/CHANGELOG.md b/sdkjs-plugins/content/ai/CHANGELOG.md index b5bacf79..5a04760f 100644 --- a/sdkjs-plugins/content/ai/CHANGELOG.md +++ b/sdkjs-plugins/content/ai/CHANGELOG.md @@ -139,4 +139,4 @@ * Bug fix. ## 3.0.4 -* New Feature: Build Your Own AI Assistants \ No newline at end of file +* New Feature: Build Your Own [AI Assistants](./scripts/text-annotations/custom-annotations/README.md) \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/scripts/code.js b/sdkjs-plugins/content/ai/scripts/code.js index 5568ddcb..86facbb0 100644 --- a/sdkjs-plugins/content/ai/scripts/code.js +++ b/sdkjs-plugins/content/ai/scripts/code.js @@ -1080,7 +1080,7 @@ if (window.customAssistantWindow) { customAssistantWindow.attachEvent("onWindowReady", function() { Asc.Editor.callMethod("ResizeWindow", [customAssistantWindow.id, [400, 70], [400, 70], [0, 0]]); if (assistantId) { - let text = window.Asc.plugin.tr('Are you sure you want to delete the assistant?'); + let text = window.Asc.plugin.tr('Are you sure you want to delete this assistant?'); text += '
' + window.Asc.plugin.tr("This action cannot be undone."); customAssistantWindow.command('onWarningAssistant', text); } diff --git a/sdkjs-plugins/content/ai/translations/ar-SA.json b/sdkjs-plugins/content/ai/translations/ar-SA.json index f9b2d072..70901a4e 100644 --- a/sdkjs-plugins/content/ai/translations/ar-SA.json +++ b/sdkjs-plugins/content/ai/translations/ar-SA.json @@ -166,5 +166,9 @@ "Custom assistant is not available. Please check your configuration.": "المساعد المخصص غير متاح. يرجى التحقق من إعداداتك.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "غير قادر على تنفيذ هذا الإجراء. يرجى استخدام تعليمات متعلقة بتحليل النصوص، التحرير، أو التنسيق.", "Processing selection...": "معالجة التحديد...", - "Processing document...": "معالجة المستند..." + "Processing document...": "معالجة المستند...", + "Action": "إجراء", + "Prompt": "إدخال", + "Give your tool a short name for the toolbar": "أعطِ أداةك اسماً قصيراً للشريط الأدائي", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "قول للذكاء الاصطناعي ما يجب عليه فعله مع النص المحدد (مثل \"إيجاد أخطاء حقيقة\" أو \"إعادة صياغة\")" } \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/translations/cs-CS.json b/sdkjs-plugins/content/ai/translations/cs-CS.json index 68d22e3f..af152973 100644 --- a/sdkjs-plugins/content/ai/translations/cs-CS.json +++ b/sdkjs-plugins/content/ai/translations/cs-CS.json @@ -166,5 +166,9 @@ "Custom assistant is not available. Please check your configuration.": "Vlastní asistent není k dispozici. Zkontrolujte prosím svou konfiguraci.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "Nelze provést tuto akci. Použijte prosím výzvy souventicí s analýzou textu, úpravami nebo formátováním.", "Processing selection...": "Procesování výběru...", - "Processing document...": "Procesování dokumentu..." + "Processing document...": "Procesování dokumentu...", + "Action": "Akce", + "Prompt": "Prompt", + "Give your tool a short name for the toolbar": "Dalejte svému nástroji krátký název pro panel nástrojů", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "Říkejte AI, co s vybraným textem dělat (například \"Najít faktické chyby\" nebo \"Riassumovat\")" } \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/translations/de-DE.json b/sdkjs-plugins/content/ai/translations/de-DE.json index 8bb4fede..65682519 100644 --- a/sdkjs-plugins/content/ai/translations/de-DE.json +++ b/sdkjs-plugins/content/ai/translations/de-DE.json @@ -167,5 +167,9 @@ "Custom assistant is not available. Please check your configuration.": "Benutzerdefinierter Assistent ist nicht verfügbar. Bitte überprüfen Sie Ihre Konfiguration.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "Diese Aktion kann nicht ausgeführt werden. Bitte verwenden Sie Prompts im Zusammenhang mit Textanalyse, Bearbeitung oder Formatierung.", "Processing selection...": "Verarbeitung der Auswahl...", - "Processing document...": "Verarbeitung des Dokuments..." + "Processing document...": "Verarbeitung des Dokuments...", + "Action": "Aktion", + "Prompt": "Prompt", + "Give your tool a short name for the toolbar": "Geben Sie Ihrem Werkzeug einen kurzen Namen für die Symbolleiste", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "Sagen Sie der KI, was Sie mit dem ausgewählten Text tun möchten (z. B. \"Faktenfehler finden\" oder \"Riassumen\")" } \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/translations/es-ES.json b/sdkjs-plugins/content/ai/translations/es-ES.json index c055cb4a..3224de63 100644 --- a/sdkjs-plugins/content/ai/translations/es-ES.json +++ b/sdkjs-plugins/content/ai/translations/es-ES.json @@ -166,5 +166,9 @@ "Custom assistant is not available. Please check your configuration.": "El asistente personalizado no está disponible. Por favor, verifique su configuración.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "No se puede realizar esta acción. Por favor, use prompts relacionados con el análisis, edición o formato de texto.", "Processing selection...": "Procesamiento de la selección...", - "Processing document...": "Procesamiento del documento..." + "Processing document...": "Procesamiento del documento...", + "Action": "Acción", + "Prompt": "Prompt", + "Give your tool a short name for the toolbar": "Dale un nombre corto a tu herramienta para la barra de herramientas", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "Dile a la IA qué hacer con el texto seleccionado (por ejemplo, \"Encontrar errores factuales\" o \"Resumir\")" } diff --git a/sdkjs-plugins/content/ai/translations/fr-FR.json b/sdkjs-plugins/content/ai/translations/fr-FR.json index c5f7c8db..9c9117d2 100644 --- a/sdkjs-plugins/content/ai/translations/fr-FR.json +++ b/sdkjs-plugins/content/ai/translations/fr-FR.json @@ -167,5 +167,9 @@ "Custom assistant is not available. Please check your configuration.": "L'assistant personnalisé n'est pas disponible. Veuillez vérifier votre configuration.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "Impossible d'effectuer cette action. Veuillez utiliser des invites liées à l'analyse, l'édition ou le formatage du texte.", "Processing selection...": "Traitement de la sélection...", - "Processing document...": "Traitement du document..." + "Processing document...": "Traitement du document...", + "Action": "Action", + "Prompt": "Prompt", + "Give your tool a short name for the toolbar": "Donnez un nom court à votre outil pour la barre d'outils", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "Dites à l'IA ce qu'elle doit faire avec le texte sélectionné (par exemple, \"Trouver les erreurs factuelles\" ou \"Riassumer\")" } \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/translations/it-IT.json b/sdkjs-plugins/content/ai/translations/it-IT.json index 052f5abf..46162c60 100644 --- a/sdkjs-plugins/content/ai/translations/it-IT.json +++ b/sdkjs-plugins/content/ai/translations/it-IT.json @@ -167,5 +167,9 @@ "Custom assistant is not available. Please check your configuration.": "L'assistente personalizzato non è disponibile. Controlla la tua configurazione.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "Impossibile eseguire questa azione. Usa prompt relativi all'analisi, modifica o formattazione del testo.", "Processing selection...": "Processamento selezione...", - "Processing document...": "Processamento documento..." + "Processing document...": "Processamento documento...", + "Action": "Azione", + "Prompt": "Prompt", + "Give your tool a short name for the toolbar": "Dai un nome breve al tuo strumento per la barra degli strumenti", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "Dai all'AI le istruzioni su come gestire il testo selezionato (ad esempio, \"Trova errori fatti\" o \"Riassumi\")" } diff --git a/sdkjs-plugins/content/ai/translations/ja-JA.json b/sdkjs-plugins/content/ai/translations/ja-JA.json index 2cdf2255..0c3177c3 100644 --- a/sdkjs-plugins/content/ai/translations/ja-JA.json +++ b/sdkjs-plugins/content/ai/translations/ja-JA.json @@ -167,5 +167,9 @@ "Custom assistant is not available. Please check your configuration.": "カスタムアシスタントは利用できません。設定を確認してください。", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "この操作は実行できません。テキスト分析、編集、またはフォーマットに関連するプロンプトを使用してください。", "Processing selection...": "選択を処理中...", - "Processing document...": "文書を処理中..." + "Processing document...": "文書を処理中...", + "Action": "アクション", + "Prompt": "プロンプト", + "Give your tool a short name for the toolbar": "ツールバーに短い名前をつけてください", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "選択したテキストに対してAIに何をすべきかを教える (例: \"事実上の誤りを見つけ\"または\"要約\")" } \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/translations/pt-BR.json b/sdkjs-plugins/content/ai/translations/pt-BR.json index 57cb9995..d2a66375 100644 --- a/sdkjs-plugins/content/ai/translations/pt-BR.json +++ b/sdkjs-plugins/content/ai/translations/pt-BR.json @@ -167,5 +167,9 @@ "Custom assistant is not available. Please check your configuration.": "O assistente personalizado não está disponível. Verifique sua configuração.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "Não é possível realizar esta ação. Use prompts relacionados à análise de texto, edição ou formatação.", "Processing selection...": "Processando seleção...", - "Processing document...": "Processando documento..." + "Processing document...": "Processando documento...", + "Action": "Ação", + "Prompt": "Prompt", + "Give your tool a short name for the toolbar": "Dê um nome curto para o seu ferramentário", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "Diga ao AI o que fazer com o texto selecionado (por exemplo, \"Encontre erros fatos\" ou \"Resumir\")" } \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/translations/ru-RU.json b/sdkjs-plugins/content/ai/translations/ru-RU.json index 359c5952..fb2e6a9e 100644 --- a/sdkjs-plugins/content/ai/translations/ru-RU.json +++ b/sdkjs-plugins/content/ai/translations/ru-RU.json @@ -167,5 +167,9 @@ "Custom assistant is not available. Please check your configuration.": "Пользовательский ассистент недоступен. Пожалуйста, проверьте вашу конфигурацию.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "Не удается выполнить это действие. Пожалуйста, используйте запросы, связанные с анализом текста, редактированием или форматированием.", "Processing selection...": "Обработка выделенного фрагмента...", - "Processing document...": "Обработка документа..." + "Processing document...": "Обработка документа...", + "Action": "Действие", + "Prompt": "Пометка", + "Give your tool a short name for the toolbar": "Дайте вашему инструменту короткое имя для панели инструментов", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "Попросите ИИ выполнить действие над выбранным текстом (например, \"Найти фактические ошибки\" или \"Сжать\")" } \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/translations/sq-AL.json b/sdkjs-plugins/content/ai/translations/sq-AL.json index 85c8e07c..d3ad5486 100644 --- a/sdkjs-plugins/content/ai/translations/sq-AL.json +++ b/sdkjs-plugins/content/ai/translations/sq-AL.json @@ -166,5 +166,9 @@ "Custom assistant is not available. Please check your configuration.": "Asistenti i personalizuar nuk është i disponueshëm. Ju lutemi kontrolloni konfigurimin tuaj.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "Nuk mund të kryhet kjo veprim. Ju lutemi përdorni promptet të lidhura me analizën e tekstit, redaktimin ose formatimin.", "Processing selection...": "Procesimi i përsëritjes së seleksionit...", - "Processing document...": "Procesimi i dokumentit..." + "Processing document...": "Procesimi i dokumentit...", + "Action": "Veprim", + "Prompt": "Prompt", + "Give your tool a short name for the toolbar": "Dajte vashem alatu kratko ime za alatnu traku", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "Rekajte AI što da radi sa odabranim tekstom (npr., \"Pronalazǐte grěsě u faktu\" ili \"Sažmi\")" } \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/translations/sr-Cyrl-RS.json b/sdkjs-plugins/content/ai/translations/sr-Cyrl-RS.json index 0f465f03..fcd76e96 100644 --- a/sdkjs-plugins/content/ai/translations/sr-Cyrl-RS.json +++ b/sdkjs-plugins/content/ai/translations/sr-Cyrl-RS.json @@ -167,5 +167,9 @@ "Custom assistant is not available. Please check your configuration.": "Кориснички асистент није доступан. Молимо проверите вашу конфигурацију.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "Није могуће извршити ову акцију. Молимо користите промпте повезане са анализом текста, уређивањем или форматирањем.", "Processing selection...": "Процесирање избора...", - "Processing document...": "Процесирање документа..." + "Processing document...": "Процесирање документа...", + "Action": "Акција", + "Prompt": "Пометка", + "Give your tool a short name for the toolbar": "Дајте вашем alatu kratko ime za alatnu traku", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "Rekajte AI što da radi sa odabranim tekstom (npr., \"Pronalazǐte grěsě u faktu\" ili \"Sažmi\")" } \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/translations/sr-Latn-RS.json b/sdkjs-plugins/content/ai/translations/sr-Latn-RS.json index 34f79b6e..186410b8 100644 --- a/sdkjs-plugins/content/ai/translations/sr-Latn-RS.json +++ b/sdkjs-plugins/content/ai/translations/sr-Latn-RS.json @@ -167,5 +167,9 @@ "Custom assistant is not available. Please check your configuration.": "Prilagođeni asistent nije dostupan. Molimo provjerite konfiguraciju.", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "Nije u stanju da izvrsi ovu akciju. Molimo koristi prompove vezane za analizu teksta, uređivanje ili formatiranje.", "Processing selection...": "Procesiranje izbora...", - "Processing document...": "Procesiranje dokumenta..." + "Processing document...": "Procesiranje dokumenta...", + "Action": "Akcija", + "Prompt": "Prompt", + "Give your tool a short name for the toolbar": "Dajte vam alatku kratko ime za alatnu traku", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "Rekajte AI što da radi sa odabranim tekstom (npr., \"Pronalazǐte grěsě u faktu\" ili \"Sažmi\")" } \ No newline at end of file diff --git a/sdkjs-plugins/content/ai/translations/zh-CN.json b/sdkjs-plugins/content/ai/translations/zh-CN.json index fc627783..88df35d8 100644 --- a/sdkjs-plugins/content/ai/translations/zh-CN.json +++ b/sdkjs-plugins/content/ai/translations/zh-CN.json @@ -167,5 +167,10 @@ "Custom assistant is not available. Please check your configuration.": "自定义助手不可用。请检查您的配置。", "Not able to perform this action. Please use prompts related to text analysis, editing, or formatting.": "无法执行此操作。请使用与文本分析、编辑或格式化相关的提示。", "Processing selection...": "处理选择...", - "Processing document...": "处理文档..." + "Processing document...": "处理文档...", + "Action": "操作", + "Prompt": "提示词", + "Give your tool a short name for the toolbar": "为工具栏提供一个简短的名称", + "Tell the AI what to do with the selected text (e.g., \"Find factual errors\" or \"Summarize\")": "告诉 AI 选中文本要做什么(例如,\"查找事实错误\" 或 \"摘要\")" + } \ No newline at end of file