diff --git a/web/src/i18n/locales/es-ES.ts b/web/src/i18n/locales/es-ES.ts index 78a54287..4a296276 100644 --- a/web/src/i18n/locales/es-ES.ts +++ b/web/src/i18n/locales/es-ES.ts @@ -316,6 +316,39 @@ const esES = { routingConnection: 'Enrutamiento y conexión', routingConnectionDescription: 'Vincula el Pipeline que procesa los mensajes de este Bot', + routingRules: 'Reglas de enrutamiento condicional', + routingRulesDescription: + 'Las reglas se evalúan en orden; la primera coincidencia enruta a su pipeline. Si ninguna coincide, se usa el pipeline predeterminado.', + addRoutingRule: 'Agregar regla', + ruleTypeLauncherType: 'Tipo de sesión', + ruleTypeLauncherId: 'ID de sesión', + ruleTypeMessageContent: 'Contenido del mensaje', + operatorEq: 'Igual a', + operatorNeq: 'No igual a', + operatorContains: 'Contiene', + operatorNotContains: 'No contiene', + operatorStartsWith: 'Comienza con', + operatorRegex: 'Regex', + operatorHas: 'Tiene', + operatorNotHas: 'No tiene', + ruleTypeMessageHasElement: 'Elemento del mensaje', + ruleValueElementPlaceholder: 'Seleccionar tipo de elemento', + elementImage: 'Imagen', + elementVoice: 'Voz', + elementFile: 'Archivo', + elementForward: 'Reenvío', + elementFace: 'Emoji', + elementAt: '@Mención', + elementAtAll: '@Todos', + elementQuote: 'Cita', + ruleValuePlaceholder: 'Valor de coincidencia', + ruleValueLauncherIdPlaceholder: 'ID de grupo o usuario', + ruleValueMessagePlaceholder: 'Texto del mensaje', + ruleValuePrefixPlaceholder: 'ej. !draw', + ruleValueRegexpPlaceholder: 'ej. ^/help', + pipelineDiscard: 'Descartar mensaje', + sessionTypePerson: 'Chat privado', + sessionTypeGroup: 'Chat grupal', adapterConfigDescription: 'Configura el adaptador de plataforma seleccionado', dangerZone: 'Zona de peligro', @@ -365,6 +398,9 @@ const esES = { refresh: 'Actualizar', active: 'Activo', inactive: 'Inactivo', + discarded: 'Descartado', + userMessage: 'Usuario', + botMessage: 'Asistente', }, }, plugins: { diff --git a/web/src/i18n/locales/ja-JP.ts b/web/src/i18n/locales/ja-JP.ts index fa544aee..7153379b 100644 --- a/web/src/i18n/locales/ja-JP.ts +++ b/web/src/i18n/locales/ja-JP.ts @@ -312,6 +312,39 @@ routingConnection: 'ルーティングと接続', routingConnectionDescription: 'このボットのメッセージを処理するパイプラインを紐付け', + routingRules: '条件付きルーティングルール', + routingRulesDescription: + 'ルールは順番に評価され、最初に一致したルールのパイプラインにルーティングされます。一致しない場合はデフォルトパイプラインが使用されます。', + addRoutingRule: 'ルールを追加', + ruleTypeLauncherType: 'セッションタイプ', + ruleTypeLauncherId: 'セッション ID', + ruleTypeMessageContent: 'メッセージ内容', + operatorEq: '等しい', + operatorNeq: '等しくない', + operatorContains: '含む', + operatorNotContains: '含まない', + operatorStartsWith: '前方一致', + operatorRegex: '正規表現', + operatorHas: '含む', + operatorNotHas: '含まない', + ruleTypeMessageHasElement: 'メッセージ要素', + ruleValueElementPlaceholder: '要素タイプを選択', + elementImage: '画像', + elementVoice: '音声', + elementFile: 'ファイル', + elementForward: '転送', + elementFace: '絵文字', + elementAt: '@メンション', + elementAtAll: '@全員', + elementQuote: '引用', + ruleValuePlaceholder: '一致値', + ruleValueLauncherIdPlaceholder: 'グループまたはユーザー ID', + ruleValueMessagePlaceholder: 'メッセージテキスト', + ruleValuePrefixPlaceholder: '例: !draw', + ruleValueRegexpPlaceholder: '例: ^/help', + pipelineDiscard: 'メッセージを破棄', + sessionTypePerson: 'プライベートチャット', + sessionTypeGroup: 'グループチャット', adapterConfigDescription: '選択したプラットフォームアダプターを設定', dangerZone: '危険ゾーン', dangerZoneDescription: '元に戻せない操作', @@ -356,6 +389,9 @@ refresh: '更新', active: 'アクティブ', inactive: '非アクティブ', + discarded: '破棄済み', + userMessage: 'ユーザー', + botMessage: 'アシスタント', }, }, plugins: { diff --git a/web/src/i18n/locales/th-TH.ts b/web/src/i18n/locales/th-TH.ts index 3d35159b..361facab 100644 --- a/web/src/i18n/locales/th-TH.ts +++ b/web/src/i18n/locales/th-TH.ts @@ -302,6 +302,39 @@ const thTH = { routingConnection: 'การกำหนดเส้นทางและการเชื่อมต่อ', routingConnectionDescription: 'ผูก Pipeline ที่ประมวลผลข้อความสำหรับ Bot นี้', + routingRules: 'กฎการกำหนดเส้นทางตามเงื่อนไข', + routingRulesDescription: + 'กฎจะถูกประเมินตามลำดับ การจับคู่แรกจะกำหนดเส้นทางไปยัง Pipeline ที่เกี่ยวข้อง หากไม่ตรงกันจะใช้ Pipeline เริ่มต้นด้านบน', + addRoutingRule: 'เพิ่มกฎ', + ruleTypeLauncherType: 'ประเภทเซสชัน', + ruleTypeLauncherId: 'ID เซสชัน', + ruleTypeMessageContent: 'เนื้อหาข้อความ', + operatorEq: 'เท่ากับ', + operatorNeq: 'ไม่เท่ากับ', + operatorContains: 'ประกอบด้วย', + operatorNotContains: 'ไม่ประกอบด้วย', + operatorStartsWith: 'เริ่มต้นด้วย', + operatorRegex: 'นิพจน์ปกติ', + operatorHas: 'มี', + operatorNotHas: 'ไม่มี', + ruleTypeMessageHasElement: 'องค์ประกอบข้อความ', + ruleValueElementPlaceholder: 'เลือกประเภทองค์ประกอบ', + elementImage: 'รูปภาพ', + elementVoice: 'เสียง', + elementFile: 'ไฟล์', + elementForward: 'ส่งต่อ', + elementFace: 'อีโมจิ', + elementAt: '@กล่าวถึง', + elementAtAll: '@ทั้งหมด', + elementQuote: 'อ้างอิง', + ruleValuePlaceholder: 'ค่าที่ตรงกัน', + ruleValueLauncherIdPlaceholder: 'ID กลุ่มหรือผู้ใช้', + ruleValueMessagePlaceholder: 'ข้อความ', + ruleValuePrefixPlaceholder: 'เช่น !draw', + ruleValueRegexpPlaceholder: 'เช่น ^/help', + pipelineDiscard: 'ละทิ้งข้อความ', + sessionTypePerson: 'แชทส่วนตัว', + sessionTypeGroup: 'แชทกลุ่ม', adapterConfigDescription: 'กำหนดค่าอะแดปเตอร์แพลตฟอร์มที่เลือก', dangerZone: 'โซนอันตราย', dangerZoneDescription: 'การดำเนินการที่ย้อนกลับไม่ได้และเป็นอันตราย', @@ -350,6 +383,9 @@ const thTH = { refresh: 'รีเฟรช', active: 'ใช้งานอยู่', inactive: 'ไม่ได้ใช้งาน', + discarded: 'ถูกละทิ้ง', + userMessage: 'ผู้ใช้', + botMessage: 'ผู้ช่วย', }, }, plugins: { diff --git a/web/src/i18n/locales/vi-VN.ts b/web/src/i18n/locales/vi-VN.ts index 8348e7d0..22bff3e4 100644 --- a/web/src/i18n/locales/vi-VN.ts +++ b/web/src/i18n/locales/vi-VN.ts @@ -311,6 +311,39 @@ const viVN = { routingConnection: 'Định tuyến & Kết nối', routingConnectionDescription: 'Liên kết Pipeline xử lý tin nhắn cho Bot này', + routingRules: 'Quy tắc định tuyến có điều kiện', + routingRulesDescription: + 'Các quy tắc được đánh giá theo thứ tự; kết quả khớp đầu tiên sẽ định tuyến đến pipeline tương ứng. Nếu không khớp, pipeline mặc định ở trên sẽ được sử dụng.', + addRoutingRule: 'Thêm quy tắc', + ruleTypeLauncherType: 'Loại phiên', + ruleTypeLauncherId: 'ID phiên', + ruleTypeMessageContent: 'Nội dung tin nhắn', + operatorEq: 'Bằng', + operatorNeq: 'Không bằng', + operatorContains: 'Chứa', + operatorNotContains: 'Không chứa', + operatorStartsWith: 'Bắt đầu bằng', + operatorRegex: 'Regex', + operatorHas: 'Có', + operatorNotHas: 'Không có', + ruleTypeMessageHasElement: 'Phần tử tin nhắn', + ruleValueElementPlaceholder: 'Chọn loại phần tử', + elementImage: 'Hình ảnh', + elementVoice: 'Giọng nói', + elementFile: 'Tập tin', + elementForward: 'Chuyển tiếp', + elementFace: 'Biểu tượng cảm xúc', + elementAt: '@Đề cập', + elementAtAll: '@Tất cả', + elementQuote: 'Trích dẫn', + ruleValuePlaceholder: 'Giá trị khớp', + ruleValueLauncherIdPlaceholder: 'ID nhóm hoặc người dùng', + ruleValueMessagePlaceholder: 'Nội dung tin nhắn', + ruleValuePrefixPlaceholder: 'vd. !draw', + ruleValueRegexpPlaceholder: 'vd. ^/help', + pipelineDiscard: 'Loại bỏ tin nhắn', + sessionTypePerson: 'Trò chuyện riêng', + sessionTypeGroup: 'Trò chuyện nhóm', adapterConfigDescription: 'Cấu hình Adapter nền tảng đã chọn', dangerZone: 'Vùng nguy hiểm', dangerZoneDescription: 'Các hành động không thể đảo ngược và phá hủy', @@ -359,6 +392,9 @@ const viVN = { refresh: 'Làm mới', active: 'Đang hoạt động', inactive: 'Không hoạt động', + discarded: 'Đã loại bỏ', + userMessage: 'Người dùng', + botMessage: 'Trợ lý', }, }, plugins: { diff --git a/web/src/i18n/locales/zh-Hant.ts b/web/src/i18n/locales/zh-Hant.ts index f073bc68..e100dbd1 100644 --- a/web/src/i18n/locales/zh-Hant.ts +++ b/web/src/i18n/locales/zh-Hant.ts @@ -293,6 +293,39 @@ const zhHant = { basicInfoDescription: '設定機器人名稱和描述', routingConnection: '路由與連接', routingConnectionDescription: '綁定處理此機器人訊息的流程線', + routingRules: '條件路由規則', + routingRulesDescription: + '按順序匹配,命中第一條規則後路由到對應流程線;都不匹配時使用上方預設流程線', + addRoutingRule: '新增規則', + ruleTypeLauncherType: '會話類型', + ruleTypeLauncherId: '會話 ID', + ruleTypeMessageContent: '訊息內容', + operatorEq: '等於', + operatorNeq: '不等於', + operatorContains: '包含', + operatorNotContains: '不包含', + operatorStartsWith: '前綴匹配', + operatorRegex: '正規表達式', + operatorHas: '包含', + operatorNotHas: '不包含', + ruleTypeMessageHasElement: '訊息元素類型', + ruleValueElementPlaceholder: '選擇元素類型', + elementImage: '圖片', + elementVoice: '語音', + elementFile: '檔案', + elementForward: '轉發', + elementFace: '表情', + elementAt: '@某人', + elementAtAll: '@全體', + elementQuote: '引用', + ruleValuePlaceholder: '匹配值', + ruleValueLauncherIdPlaceholder: '群組或使用者 ID', + ruleValueMessagePlaceholder: '訊息內容', + ruleValuePrefixPlaceholder: '如: !draw', + ruleValueRegexpPlaceholder: '如: ^/help', + pipelineDiscard: '丟棄訊息', + sessionTypePerson: '私聊', + sessionTypeGroup: '群聊', adapterConfigDescription: '設定所選平台適配器', dangerZone: '危險區域', dangerZoneDescription: '不可逆的操作', @@ -335,6 +368,9 @@ const zhHant = { refresh: '重新整理', active: '活躍', inactive: '不活躍', + discarded: '已丟棄', + userMessage: '使用者', + botMessage: '助手', }, }, plugins: {