diff --git a/web/app/components/plugins/plugin-detail-panel/action-list.tsx b/web/app/components/plugins/plugin-detail-panel/action-list.tsx index eb47ce3a3..2505b6d5a 100644 --- a/web/app/components/plugins/plugin-detail-panel/action-list.tsx +++ b/web/app/components/plugins/plugin-detail-panel/action-list.tsx @@ -78,7 +78,7 @@ const ActionList = ({ className='w-full' onClick={() => setShowSettingAuth(true)} disabled={!isCurrentWorkspaceManager} - >{t('tools.auth.unauthorized')} + >{t('workflow.nodes.tool.authorize')} )}
diff --git a/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx b/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx index f243d30af..7f5f22896 100644 --- a/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx +++ b/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx @@ -141,7 +141,7 @@ const MultipleToolSelector = ({ } panelShowState={panelShowState} onPanelShowStateChange={setPanelShowState} - + isEdit={false} /> {value.length === 0 && (
{t('plugin.detailPanel.toolSelector.empty')}
@@ -158,6 +158,7 @@ const MultipleToolSelector = ({ onSelect={item => handleConfigure(item, index)} onDelete={() => handleDelete(index)} supportEnableSwitch + isEdit />
))} diff --git a/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx b/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx index 577de1948..ca802414f 100644 --- a/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx +++ b/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx @@ -54,6 +54,7 @@ type Props = { scope?: string value?: ToolValue selectedTools?: ToolValue[] + isEdit?: boolean onSelect: (tool: { provider_name: string tool_name: string @@ -77,6 +78,7 @@ type Props = { const ToolSelector: FC = ({ value, selectedTools, + isEdit, disabled, placement = 'left', offset = 4, @@ -277,7 +279,7 @@ const ToolSelector: FC = ({
{!isShowSettingAuth && ( <> -
{t('plugin.detailPanel.toolSelector.title')}
+
{t(`plugin.detailPanel.toolSelector.${isEdit ? 'toolSetting' : 'title'}`)}
{/* base form */}
diff --git a/web/app/components/workflow/nodes/tool/panel.tsx b/web/app/components/workflow/nodes/tool/panel.tsx index 85966443d..393a11c1e 100644 --- a/web/app/components/workflow/nodes/tool/panel.tsx +++ b/web/app/components/workflow/nodes/tool/panel.tsx @@ -79,7 +79,7 @@ const Panel: FC> = ({ className='w-full' onClick={showSetAuthModal} > - {t(`${i18nPrefix}.toAuthorize`)} + {t(`${i18nPrefix}.authorize`)}
diff --git a/web/i18n/de-DE/tools.ts b/web/i18n/de-DE/tools.ts index 864ddef43..2f3c24b9d 100644 --- a/web/i18n/de-DE/tools.ts +++ b/web/i18n/de-DE/tools.ts @@ -14,7 +14,6 @@ const translation = { }, author: 'Von', auth: { - unauthorized: 'Zur Autorisierung', authorized: 'Autorisiert', setup: 'Autorisierung einrichten, um zu nutzen', setupModalTitle: 'Autorisierung einrichten', diff --git a/web/i18n/de-DE/workflow.ts b/web/i18n/de-DE/workflow.ts index 177467df7..a87e58f75 100644 --- a/web/i18n/de-DE/workflow.ts +++ b/web/i18n/de-DE/workflow.ts @@ -648,7 +648,6 @@ const translation = { 'assignedVarsDescription': 'Zugewiesene Variablen müssen beschreibbare Variablen sein, z. B. Konversationsvariablen.', }, tool: { - toAuthorize: 'Autorisieren', inputVars: 'Eingabevariablen', outputVars: { text: 'durch das Tool generierter Inhalt', diff --git a/web/i18n/en-US/plugin.ts b/web/i18n/en-US/plugin.ts index 51399d531..1eaa0cb0a 100644 --- a/web/i18n/en-US/plugin.ts +++ b/web/i18n/en-US/plugin.ts @@ -77,6 +77,7 @@ const translation = { modelNum: '{{num}} MODELS INCLUDED', toolSelector: { title: 'Add tool', + toolSetting: 'Tool Settings', toolLabel: 'Tool', descriptionLabel: 'Tool description', descriptionPlaceholder: 'Brief description of the tool\'s purpose, e.g., get the temperature for a specific location.', diff --git a/web/i18n/en-US/tools.ts b/web/i18n/en-US/tools.ts index f624fac94..433e98720 100644 --- a/web/i18n/en-US/tools.ts +++ b/web/i18n/en-US/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: 'By', auth: { - unauthorized: 'To Authorize', authorized: 'Authorized', setup: 'Set up authorization to use', setupModalTitle: 'Set Up Authorization', diff --git a/web/i18n/en-US/workflow.ts b/web/i18n/en-US/workflow.ts index f9a58d42e..57cb42a0b 100644 --- a/web/i18n/en-US/workflow.ts +++ b/web/i18n/en-US/workflow.ts @@ -651,7 +651,7 @@ const translation = { 'assignedVarsDescription': 'Assigned variables must be writable variables, such as conversation variables.', }, tool: { - toAuthorize: 'To authorize', + authorize: 'Authorize', inputVars: 'Input Variables', outputVars: { text: 'tool generated content', diff --git a/web/i18n/es-ES/tools.ts b/web/i18n/es-ES/tools.ts index 91bce677e..fd37eef5b 100644 --- a/web/i18n/es-ES/tools.ts +++ b/web/i18n/es-ES/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: 'Por', auth: { - unauthorized: 'Para Autorizar', authorized: 'Autorizado', setup: 'Configurar la autorización para usar', setupModalTitle: 'Configurar Autorización', diff --git a/web/i18n/es-ES/workflow.ts b/web/i18n/es-ES/workflow.ts index c7690f3ff..4f98b6ace 100644 --- a/web/i18n/es-ES/workflow.ts +++ b/web/i18n/es-ES/workflow.ts @@ -646,7 +646,6 @@ const translation = { 'assignedVarsDescription': 'Las variables asignadas deben ser variables grabables, como las variables de conversación.', }, tool: { - toAuthorize: 'Para autorizar', inputVars: 'Variables de entrada', outputVars: { text: 'Contenido generado por la herramienta', diff --git a/web/i18n/fa-IR/tools.ts b/web/i18n/fa-IR/tools.ts index dc6146d27..fddfd2d82 100644 --- a/web/i18n/fa-IR/tools.ts +++ b/web/i18n/fa-IR/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: 'توسط', auth: { - unauthorized: 'برای مجوز دادن', authorized: 'مجوز داده شده', setup: 'تنظیم مجوز برای استفاده', setupModalTitle: 'تنظیم مجوز', diff --git a/web/i18n/fa-IR/workflow.ts b/web/i18n/fa-IR/workflow.ts index 0f235012f..4fb6ad8f3 100644 --- a/web/i18n/fa-IR/workflow.ts +++ b/web/i18n/fa-IR/workflow.ts @@ -648,7 +648,6 @@ const translation = { 'varNotSet': 'متغیر NOT Set', }, tool: { - toAuthorize: 'برای مجوز دادن', inputVars: 'متغیرهای ورودی', outputVars: { text: 'محتوای تولید شده توسط ابزار', diff --git a/web/i18n/fr-FR/tools.ts b/web/i18n/fr-FR/tools.ts index faa5193a1..8f2362daf 100644 --- a/web/i18n/fr-FR/tools.ts +++ b/web/i18n/fr-FR/tools.ts @@ -14,7 +14,6 @@ const translation = { }, author: 'Par', auth: { - unauthorized: 'Pour Autoriser', authorized: 'Autorisé', setup: 'Mettez en place l\'autorisation à utiliser', setupModalTitle: 'Configurer l\'Autorisation', diff --git a/web/i18n/fr-FR/workflow.ts b/web/i18n/fr-FR/workflow.ts index ec360c235..12061705d 100644 --- a/web/i18n/fr-FR/workflow.ts +++ b/web/i18n/fr-FR/workflow.ts @@ -647,7 +647,6 @@ const translation = { 'selectAssignedVariable': 'Sélectionner la variable affectée...', }, tool: { - toAuthorize: 'Autoriser', inputVars: 'Variables de saisie', outputVars: { text: 'contenu généré par l\'outil', diff --git a/web/i18n/hi-IN/tools.ts b/web/i18n/hi-IN/tools.ts index e9b810786..105e7e5fa 100644 --- a/web/i18n/hi-IN/tools.ts +++ b/web/i18n/hi-IN/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: 'द्वारा', auth: { - unauthorized: 'अधिकृत करने के लिए', authorized: 'अधिकृत', setup: 'उपयोग करने के लिए अधिकृति सेटअप करें', setupModalTitle: 'अधिकृति सेटअप करें', diff --git a/web/i18n/hi-IN/workflow.ts b/web/i18n/hi-IN/workflow.ts index 6b764b33f..8d8c92915 100644 --- a/web/i18n/hi-IN/workflow.ts +++ b/web/i18n/hi-IN/workflow.ts @@ -664,7 +664,6 @@ const translation = { 'noAssignedVars': 'कोई उपलब्ध असाइन किए गए चर नहीं', }, tool: { - toAuthorize: 'अधिकृत करने के लिए', inputVars: 'इनपुट वेरिएबल्स', outputVars: { text: 'उपकरण द्वारा उत्पन्न सामग्री', diff --git a/web/i18n/it-IT/tools.ts b/web/i18n/it-IT/tools.ts index 65899e633..3c89d3a74 100644 --- a/web/i18n/it-IT/tools.ts +++ b/web/i18n/it-IT/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: 'Di', auth: { - unauthorized: 'Per Autorizzare', authorized: 'Autorizzato', setup: 'Configura l\'autorizzazione per utilizzare', setupModalTitle: 'Configura Autorizzazione', diff --git a/web/i18n/it-IT/workflow.ts b/web/i18n/it-IT/workflow.ts index 20f948888..532dbec3b 100644 --- a/web/i18n/it-IT/workflow.ts +++ b/web/i18n/it-IT/workflow.ts @@ -666,7 +666,6 @@ const translation = { 'noVarTip': 'Fare clic sul pulsante "+" per aggiungere variabili', }, tool: { - toAuthorize: 'Per autorizzare', inputVars: 'Variabili di Input', outputVars: { text: 'contenuto generato dallo strumento', diff --git a/web/i18n/ja-JP/tools.ts b/web/i18n/ja-JP/tools.ts index 57eab7e73..d8262a4a1 100644 --- a/web/i18n/ja-JP/tools.ts +++ b/web/i18n/ja-JP/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: '著者:', auth: { - unauthorized: '認証する', authorized: '認証済み', setup: '使用するための認証を設定する', setupModalTitle: '認証の設定', diff --git a/web/i18n/ja-JP/workflow.ts b/web/i18n/ja-JP/workflow.ts index 7dc317539..3c3e8342a 100644 --- a/web/i18n/ja-JP/workflow.ts +++ b/web/i18n/ja-JP/workflow.ts @@ -654,7 +654,6 @@ const translation = { 'assignedVarsDescription': '代入される変数は、会話変数などの書き込み可能な変数である必要があります。', }, tool: { - toAuthorize: '承認するには', inputVars: '入力変数', outputVars: { text: 'ツールが生成したコンテンツ', diff --git a/web/i18n/ko-KR/tools.ts b/web/i18n/ko-KR/tools.ts index 8727c6dfa..b526de6c0 100644 --- a/web/i18n/ko-KR/tools.ts +++ b/web/i18n/ko-KR/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: '저자', auth: { - unauthorized: '인증되지 않음', authorized: '인증됨', setup: '사용을 위한 인증 설정', setupModalTitle: '인증 설정', diff --git a/web/i18n/ko-KR/workflow.ts b/web/i18n/ko-KR/workflow.ts index 7e7c9b74e..b5183b37c 100644 --- a/web/i18n/ko-KR/workflow.ts +++ b/web/i18n/ko-KR/workflow.ts @@ -648,7 +648,6 @@ const translation = { 'varNotSet': '변수가 설정되지 않음', }, tool: { - toAuthorize: '승인하기', inputVars: '입력 변수', outputVars: { text: '도구가 생성한 내용', diff --git a/web/i18n/pl-PL/tools.ts b/web/i18n/pl-PL/tools.ts index 49e30c5ee..e9d92d150 100644 --- a/web/i18n/pl-PL/tools.ts +++ b/web/i18n/pl-PL/tools.ts @@ -14,7 +14,6 @@ const translation = { }, author: 'Przez', auth: { - unauthorized: 'Autoryzacja', authorized: 'Zautoryzowane', setup: 'Skonfiguruj autoryzację aby użyć', setupModalTitle: 'Konfiguruj autoryzację', diff --git a/web/i18n/pl-PL/workflow.ts b/web/i18n/pl-PL/workflow.ts index c518c1587..0b8b12aa2 100644 --- a/web/i18n/pl-PL/workflow.ts +++ b/web/i18n/pl-PL/workflow.ts @@ -648,7 +648,6 @@ const translation = { 'noVarTip': 'Kliknij przycisk "+", aby dodać zmienne', }, tool: { - toAuthorize: 'Do autoryzacji', inputVars: 'Zmienne wejściowe', outputVars: { text: 'treść generowana przez narzędzie', diff --git a/web/i18n/pt-BR/tools.ts b/web/i18n/pt-BR/tools.ts index f2eaa3697..dde7add80 100644 --- a/web/i18n/pt-BR/tools.ts +++ b/web/i18n/pt-BR/tools.ts @@ -14,7 +14,6 @@ const translation = { }, author: 'Por', auth: { - unauthorized: 'Para Autorizar', authorized: 'Autorizado', setup: 'Configurar autorização para usar', setupModalTitle: 'Configurar Autorização', diff --git a/web/i18n/pt-BR/workflow.ts b/web/i18n/pt-BR/workflow.ts index be8a8cd11..7724dfcf6 100644 --- a/web/i18n/pt-BR/workflow.ts +++ b/web/i18n/pt-BR/workflow.ts @@ -648,7 +648,6 @@ const translation = { 'variables': 'Variáveis', }, tool: { - toAuthorize: 'Autorizar', inputVars: 'Variáveis de entrada', outputVars: { text: 'conteúdo gerado pela ferramenta', diff --git a/web/i18n/ro-RO/tools.ts b/web/i18n/ro-RO/tools.ts index f5e33889d..44530754e 100644 --- a/web/i18n/ro-RO/tools.ts +++ b/web/i18n/ro-RO/tools.ts @@ -14,7 +14,6 @@ const translation = { }, author: 'De', auth: { - unauthorized: 'Pentru a Autoriza', authorized: 'Autorizat', setup: 'Configurează autorizarea pentru a utiliza', setupModalTitle: 'Configurează Autorizarea', diff --git a/web/i18n/ro-RO/workflow.ts b/web/i18n/ro-RO/workflow.ts index 176bbf9f9..a93b7fcd1 100644 --- a/web/i18n/ro-RO/workflow.ts +++ b/web/i18n/ro-RO/workflow.ts @@ -648,7 +648,6 @@ const translation = { 'variables': 'Variabile', }, tool: { - toAuthorize: 'Autorizați', inputVars: 'Variabile de intrare', outputVars: { text: 'conținut generat de instrument', diff --git a/web/i18n/ru-RU/tools.ts b/web/i18n/ru-RU/tools.ts index 02cf639fd..e1975ee53 100644 --- a/web/i18n/ru-RU/tools.ts +++ b/web/i18n/ru-RU/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: 'Автор', auth: { - unauthorized: 'Авторизовать', authorized: 'Авторизовано', setup: 'Настроить авторизацию для использования', setupModalTitle: 'Настроить авторизацию', diff --git a/web/i18n/ru-RU/workflow.ts b/web/i18n/ru-RU/workflow.ts index 05894568d..e170e64b8 100644 --- a/web/i18n/ru-RU/workflow.ts +++ b/web/i18n/ru-RU/workflow.ts @@ -648,7 +648,6 @@ const translation = { 'selectAssignedVariable': 'Выберите назначенную переменную...', }, tool: { - toAuthorize: 'Авторизовать', inputVars: 'Входные переменные', outputVars: { text: 'контент, сгенерированный инструментом', diff --git a/web/i18n/sl-SI/tools.ts b/web/i18n/sl-SI/tools.ts index 59989e975..e55772546 100644 --- a/web/i18n/sl-SI/tools.ts +++ b/web/i18n/sl-SI/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: 'Avtor', auth: { - unauthorized: 'Za avtorizacijo', authorized: 'Avtorizirano', setup: 'Nastavite avtorizacijo za uporabo', setupModalTitle: 'Nastavi avtorizacijo', diff --git a/web/i18n/sl-SI/workflow.ts b/web/i18n/sl-SI/workflow.ts index 0af5fa6b6..1aa639222 100644 --- a/web/i18n/sl-SI/workflow.ts +++ b/web/i18n/sl-SI/workflow.ts @@ -488,7 +488,6 @@ const translation = { 'variable': 'Spremenljivka', }, tool: { - toAuthorize: 'Za avtorizacijo', inputVars: 'Vhodne spremenljivke', outputVars: { text: 'orodje je ustvarilo vsebino', diff --git a/web/i18n/th-TH/tools.ts b/web/i18n/th-TH/tools.ts index 7770b3d92..14c9457c4 100644 --- a/web/i18n/th-TH/tools.ts +++ b/web/i18n/th-TH/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: 'โดย', auth: { - unauthorized: 'การอนุญาต', authorized: 'อนุญาต', setup: 'ตั้งค่าการให้สิทธิ์เพื่อใช้', setupModalTitle: 'ตั้งค่าการให้สิทธิ์', diff --git a/web/i18n/th-TH/workflow.ts b/web/i18n/th-TH/workflow.ts index 77e1eee79..d1f9084c8 100644 --- a/web/i18n/th-TH/workflow.ts +++ b/web/i18n/th-TH/workflow.ts @@ -647,7 +647,6 @@ const translation = { 'setParameter': 'ตั้งค่าพารามิเตอร์...', }, tool: { - toAuthorize: 'เพื่ออนุญาต', inputVars: 'ตัวแปรอินพุต', outputVars: { text: 'เนื้อหาที่สร้างขึ้นด้วยเครื่องมือ', diff --git a/web/i18n/tr-TR/tools.ts b/web/i18n/tr-TR/tools.ts index d4b672541..af9ddf182 100644 --- a/web/i18n/tr-TR/tools.ts +++ b/web/i18n/tr-TR/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: 'Tarafından', auth: { - unauthorized: 'Yetki Ver', authorized: 'Yetkilendirildi', setup: 'Kullanmak için yetkilendirmeyi ayarla', setupModalTitle: 'Yetkilendirmeyi Ayarla', diff --git a/web/i18n/tr-TR/workflow.ts b/web/i18n/tr-TR/workflow.ts index 313eae66d..36bd101cb 100644 --- a/web/i18n/tr-TR/workflow.ts +++ b/web/i18n/tr-TR/workflow.ts @@ -649,7 +649,6 @@ const translation = { 'noAssignedVars': 'Kullanılabilir atanmış değişken yok', }, tool: { - toAuthorize: 'Yetkilendirmek için', inputVars: 'Giriş Değişkenleri', outputVars: { text: 'araç tarafından oluşturulan içerik', diff --git a/web/i18n/uk-UA/tools.ts b/web/i18n/uk-UA/tools.ts index 528e683a5..d390b500d 100644 --- a/web/i18n/uk-UA/tools.ts +++ b/web/i18n/uk-UA/tools.ts @@ -14,7 +14,6 @@ const translation = { }, author: 'Автор', auth: { - unauthorized: 'Авторизуватися', authorized: 'Авторизовано', setup: 'Налаштувати авторизацію, щоб використовувати', setupModalTitle: 'Налаштування авторизації', diff --git a/web/i18n/uk-UA/workflow.ts b/web/i18n/uk-UA/workflow.ts index 3f2e24b23..ff6a75242 100644 --- a/web/i18n/uk-UA/workflow.ts +++ b/web/i18n/uk-UA/workflow.ts @@ -648,7 +648,6 @@ const translation = { 'setParameter': 'Встановити параметр...', }, tool: { - toAuthorize: 'Авторизувати', inputVars: 'Вхідні змінні', outputVars: { text: 'генерований вміст інструменту', diff --git a/web/i18n/vi-VN/tools.ts b/web/i18n/vi-VN/tools.ts index 75331b525..ec4665cbf 100644 --- a/web/i18n/vi-VN/tools.ts +++ b/web/i18n/vi-VN/tools.ts @@ -14,7 +14,6 @@ const translation = { }, author: 'Tác giả', auth: { - unauthorized: 'Chưa xác thực', authorized: 'Đã xác thực', setup: 'Thiết lập xác thực để sử dụng', setupModalTitle: 'Thiết lập xác thực', diff --git a/web/i18n/vi-VN/workflow.ts b/web/i18n/vi-VN/workflow.ts index 55efe7b3e..92e94ee5a 100644 --- a/web/i18n/vi-VN/workflow.ts +++ b/web/i18n/vi-VN/workflow.ts @@ -648,7 +648,6 @@ const translation = { 'variables': 'Biến', }, tool: { - toAuthorize: 'Ủy quyền', inputVars: 'Biến đầu vào', outputVars: { text: 'nội dung do công cụ tạo ra', diff --git a/web/i18n/zh-Hans/plugin.ts b/web/i18n/zh-Hans/plugin.ts index 9b059ac5f..6648e3b65 100644 --- a/web/i18n/zh-Hans/plugin.ts +++ b/web/i18n/zh-Hans/plugin.ts @@ -77,6 +77,7 @@ const translation = { modelNum: '{{num}} 模型已包含', toolSelector: { title: '添加工具', + toolSetting: '工具设置', toolLabel: '工具', descriptionLabel: '工具描述', descriptionPlaceholder: '简要描述工具目的,例如,获取特定位置的温度。', diff --git a/web/i18n/zh-Hans/tools.ts b/web/i18n/zh-Hans/tools.ts index 98e7b6e27..81be87076 100644 --- a/web/i18n/zh-Hans/tools.ts +++ b/web/i18n/zh-Hans/tools.ts @@ -15,7 +15,6 @@ const translation = { }, author: '作者', auth: { - unauthorized: '去授权', authorized: '已授权', setup: '要使用请先授权', setupModalTitle: '设置授权', diff --git a/web/i18n/zh-Hans/workflow.ts b/web/i18n/zh-Hans/workflow.ts index 612bd754a..b8257d822 100644 --- a/web/i18n/zh-Hans/workflow.ts +++ b/web/i18n/zh-Hans/workflow.ts @@ -652,7 +652,7 @@ const translation = { 'assignedVarsDescription': '赋值变量必须是可写入的变量,例如会话变量。', }, tool: { - toAuthorize: '授权', + authorize: '授权', inputVars: '输入变量', outputVars: { text: '工具生成的内容', diff --git a/web/i18n/zh-Hant/tools.ts b/web/i18n/zh-Hant/tools.ts index c4ffb4f83..5669e87cb 100644 --- a/web/i18n/zh-Hant/tools.ts +++ b/web/i18n/zh-Hant/tools.ts @@ -14,7 +14,6 @@ const translation = { }, author: '作者', auth: { - unauthorized: '去授權', authorized: '已授權', setup: '要使用請先授權', setupModalTitle: '設定授權', diff --git a/web/i18n/zh-Hant/workflow.ts b/web/i18n/zh-Hant/workflow.ts index cfa9e320e..e3d4d8360 100644 --- a/web/i18n/zh-Hant/workflow.ts +++ b/web/i18n/zh-Hant/workflow.ts @@ -648,7 +648,7 @@ const translation = { 'varNotSet': '未設置變數', }, tool: { - toAuthorize: '授權', + authorize: '授權', inputVars: '輸入變量', outputVars: { text: '工具生成的內容',