From 0e3a5b615d2b4f43b570d473c2e751ca0ee8fa6a Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 3 Dec 2024 14:18:56 +0800 Subject: [PATCH] fix: handle translate fail --- web/i18n/auto-gen-i18n.js | 14 +++++++++++--- web/i18n/de-DE/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/es-ES/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/fa-IR/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/fr-FR/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/hi-IN/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/it-IT/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/ja-JP/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/ko-KR/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/pl-PL/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/pt-BR/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/ro-RO/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/ru-RU/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/sl-SI/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/th-TH/app-log.ts | 1 + web/i18n/th-TH/share-app.ts | 1 + web/i18n/th-TH/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/tr-TR/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/uk-UA/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/vi-VN/workflow.ts | 27 +++++++++++++++++++++++++++ web/i18n/zh-Hant/workflow.ts | 27 +++++++++++++++++++++++++++ 21 files changed, 499 insertions(+), 3 deletions(-) diff --git a/web/i18n/auto-gen-i18n.js b/web/i18n/auto-gen-i18n.js index c51bc53af31dc8..6b9c5e52f77c90 100644 --- a/web/i18n/auto-gen-i18n.js +++ b/web/i18n/auto-gen-i18n.js @@ -29,9 +29,17 @@ async function translateMissingKeyDeeply(sourceObj, targetObject, toLanguage) { await translateMissingKeyDeeply(sourceObj[key], targetObject[key], toLanguage) } else { - const { translation } = await translate(sourceObj[key], null, languageKeyMap[toLanguage]) - targetObject[key] = translation - // console.log(translation) + try { + if (!sourceObj[key]) { + targetObject[key] = '' + return + } + const { translation } = await translate(sourceObj[key], null, languageKeyMap[toLanguage]) + targetObject[key] = translation + } + catch (e) { + console.error(`Error translating ${sourceObj[key]}(${key}) to ${toLanguage}`) + } } } else if (typeof sourceObj[key] === 'object') { diff --git a/web/i18n/de-DE/workflow.ts b/web/i18n/de-DE/workflow.ts index 01b6cc653f071a..55d758b7abb291 100644 --- a/web/i18n/de-DE/workflow.ts +++ b/web/i18n/de-DE/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': 'Löschen', 'setVariable': 'Variable setzen', 'variable': 'Variable', + 'operations': { + 'title': 'Operation', + 'clear': 'Klar', + 'over-write': 'Überschreiben', + 'set': 'Garnitur', + '-=': '-=', + '+=': '+=', + '/=': '/=', + 'append': 'Anfügen', + 'extend': 'Ausdehnen', + '*=': '*=', + 'overwrite': 'Überschreiben', + }, + 'setParameter': 'Parameter setzen...', + 'noVarTip': 'Klicken Sie auf die Schaltfläche "+", um Variablen hinzuzufügen', + 'variables': 'Variablen', + 'noAssignedVars': 'Keine verfügbaren zugewiesenen Variablen', + 'selectAssignedVariable': 'Zugewiesene Variable auswählen...', + 'varNotSet': 'Variable NICHT gesetzt', + 'assignedVarsDescription': 'Zugewiesene Variablen müssen beschreibbare Variablen sein, z. B. Konversationsvariablen.', }, tool: { toAuthorize: 'Autorisieren', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: 'Gestoppt von {{user}}', }, + variableReference: { + noAvailableVars: 'Keine verfügbaren Variablen', + conversationVars: 'Konversations-Variablen', + noAssignedVars: 'Keine verfügbaren zugewiesenen Variablen', + noVarsForOperation: 'Es stehen keine Variablen für die Zuweisung mit der ausgewählten Operation zur Verfügung.', + assignedVarsDescription: 'Zugewiesene Variablen müssen beschreibbare Variablen sein, z. B.', + }, } export default translation diff --git a/web/i18n/es-ES/workflow.ts b/web/i18n/es-ES/workflow.ts index 1772d4c2e81702..7f4eb724a8c163 100644 --- a/web/i18n/es-ES/workflow.ts +++ b/web/i18n/es-ES/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': 'Limpiar', 'setVariable': 'Establecer Variable', 'variable': 'Variable', + 'operations': { + 'clear': 'Claro', + '*=': '*=', + '-=': '-=', + 'title': 'Operación', + 'extend': 'Extender', + 'append': 'Añadir', + '+=': '+=', + 'over-write': 'Sobrescribir', + 'overwrite': 'Sobrescribir', + '/=': '/=', + 'set': 'Poner', + }, + 'variables': 'Variables', + 'setParameter': 'Establecer parámetro...', + 'noVarTip': 'Haga clic en el botón "+" para agregar variables', + 'varNotSet': 'Variable NO establecida', + 'noAssignedVars': 'No hay variables asignadas disponibles', + 'selectAssignedVariable': 'Seleccione la variable asignada...', + 'assignedVarsDescription': 'Las variables asignadas deben ser variables grabables, como las variables de conversación.', }, tool: { toAuthorize: 'Para autorizar', @@ -634,6 +654,13 @@ const translation = { tracing: { stopBy: 'Pásate por {{usuario}}', }, + variableReference: { + noAvailableVars: 'No hay variables disponibles', + assignedVarsDescription: 'Las variables asignadas deben ser variables grabables, como', + noVarsForOperation: 'No hay variables disponibles para la asignación con la operación seleccionada.', + noAssignedVars: 'No hay variables asignadas disponibles', + conversationVars: 'Variables de conversación', + }, } export default translation diff --git a/web/i18n/fa-IR/workflow.ts b/web/i18n/fa-IR/workflow.ts index 1ffb9c856c91c7..e44a0729f01f76 100644 --- a/web/i18n/fa-IR/workflow.ts +++ b/web/i18n/fa-IR/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': 'پاک کردن', 'setVariable': 'تنظیم متغیر', 'variable': 'متغیر', + 'operations': { + 'clear': 'روشن', + 'over-write': 'بازنویسی', + 'set': 'مجموعه', + '*=': '*=', + 'overwrite': 'بازنویسی', + '+=': '+=', + 'title': 'عملیات', + 'extend': 'گسترش', + '-=': '-=', + 'append': 'الحاق', + '/=': '/=', + }, + 'noVarTip': 'برای افزودن متغیرها روی دکمه "+" کلیک کنید', + 'selectAssignedVariable': 'متغیر اختصاص داده شده را انتخاب کنید...', + 'noAssignedVars': 'هیچ متغیر اختصاص داده شده در دسترس نیست', + 'setParameter': 'پارامتر را تنظیم کنید...', + 'assignedVarsDescription': 'متغیرهای اختصاص داده شده باید متغیرهای قابل نوشتن مانند متغیرهای مکالمه باشند.', + 'variables': 'متغیرهای', + 'varNotSet': 'متغیر NOT Set', }, tool: { toAuthorize: 'برای مجوز دادن', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: 'متوقف شده توسط {{user}}', }, + variableReference: { + noAvailableVars: 'هیچ متغیری در دسترس نیست', + conversationVars: 'متغیرهای مکالمه', + noVarsForOperation: 'هیچ متغیری برای تخصیص با عملیات انتخاب شده در دسترس نیست.', + assignedVarsDescription: 'متغیرهای اختصاص داده شده باید متغیرهای قابل نوشتن باشند، مانند', + noAssignedVars: 'هیچ متغیر اختصاص داده شده در دسترس نیست', + }, } export default translation diff --git a/web/i18n/fr-FR/workflow.ts b/web/i18n/fr-FR/workflow.ts index 85b0ad0db17076..eeed6cc4454c32 100644 --- a/web/i18n/fr-FR/workflow.ts +++ b/web/i18n/fr-FR/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': 'Effacer', 'setVariable': 'Définir Variable', 'variable': 'Variable', + 'operations': { + 'clear': 'Clair', + '*=': '*=', + '-=': '-=', + 'extend': 'Étendre', + '+=': '+=', + 'over-write': 'Écraser', + 'set': 'Poser', + 'append': 'Ajouter', + 'title': 'Opération', + '/=': '/=', + 'overwrite': 'Écraser', + }, + 'assignedVarsDescription': 'Les variables affectées doivent être accessibles en écriture, telles que des variables de conversation.', + 'noVarTip': 'Cliquez sur le bouton « + » pour ajouter des variables', + 'variables': 'Variables', + 'setParameter': 'Définir le paramètre...', + 'noAssignedVars': 'Aucune variable affectée disponible', + 'varNotSet': 'Variable NON définie', + 'selectAssignedVariable': 'Sélectionner la variable affectée...', }, tool: { toAuthorize: 'Autoriser', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: 'Arrêté par {{user}}', }, + variableReference: { + noAssignedVars: 'Aucune variable affectée disponible', + noVarsForOperation: 'Aucune variable n’est disponible pour l’affectation avec l’opération sélectionnée.', + noAvailableVars: 'Aucune variable disponible', + assignedVarsDescription: 'Les variables affectées doivent être des variables accessibles en écriture, telles que', + conversationVars: 'Variables de conversation', + }, } export default translation diff --git a/web/i18n/hi-IN/workflow.ts b/web/i18n/hi-IN/workflow.ts index cf4475e990596d..d8ceae2fe9e04c 100644 --- a/web/i18n/hi-IN/workflow.ts +++ b/web/i18n/hi-IN/workflow.ts @@ -516,6 +516,26 @@ const translation = { 'clear': 'साफ़ करें', 'setVariable': 'चर सेट करें', 'variable': 'चर', + 'operations': { + 'clear': 'स्पष्ट', + '/=': '/=', + '*=': '*=', + 'over-write': 'अधिलेखित', + 'title': 'परिचालन', + '+=': '+=', + 'overwrite': 'अधिलेखित', + 'set': 'अस्त हो', + 'extend': 'पसार', + '-=': '-=', + 'append': 'संलग्न', + }, + 'setParameter': 'पैरामीटर सेट करें...', + 'noVarTip': 'चर जोड़ने के लिए "+" बटन पर क्लिक करें', + 'variables': 'चर', + 'selectAssignedVariable': 'असाइन किए गए चर का चयन करें...', + 'varNotSet': 'चर सेट नहीं', + 'assignedVarsDescription': 'असाइन किए गए चर लिखने योग्य चर होने चाहिए, जैसे वार्तालाप चर।', + 'noAssignedVars': 'कोई उपलब्ध असाइन किए गए चर नहीं', }, tool: { toAuthorize: 'अधिकृत करने के लिए', @@ -651,6 +671,13 @@ const translation = { tracing: { stopBy: '{{user}} द्वारा रोका गया', }, + variableReference: { + conversationVars: 'बातचीत चर', + noAvailableVars: 'कोई उपलब्ध चर नहीं', + assignedVarsDescription: 'असाइन किए गए चर लिखने योग्य चर होने चाहिए, जैसे', + noVarsForOperation: 'चयनित कार्रवाई के साथ असाइनमेंट के लिए कोई चर उपलब्ध नहीं हैं.', + noAssignedVars: 'कोई उपलब्ध असाइन किए गए चर नहीं', + }, } export default translation diff --git a/web/i18n/it-IT/workflow.ts b/web/i18n/it-IT/workflow.ts index a142b5b348b9aa..9798b60cf1f9c2 100644 --- a/web/i18n/it-IT/workflow.ts +++ b/web/i18n/it-IT/workflow.ts @@ -520,6 +520,26 @@ const translation = { 'clear': 'Cancellare', 'setVariable': 'Imposta Variabile', 'variable': 'Variabile', + 'operations': { + '-=': '-=', + 'overwrite': 'Sovrascrivere', + '+=': '+=', + '*=': '*=', + 'append': 'Aggiungere', + 'set': 'Mettere', + 'title': 'Operazione', + '/=': '/=', + 'over-write': 'Sovrascrivere', + 'extend': 'Estendere', + 'clear': 'Chiaro', + }, + 'setParameter': 'Imposta parametro...', + 'variables': 'Variabili', + 'noAssignedVars': 'Nessuna variabile assegnata disponibile', + 'assignedVarsDescription': 'Le variabili assegnate devono essere variabili scrivibili, ad esempio variabili di conversazione.', + 'varNotSet': 'Variabile NON impostata', + 'selectAssignedVariable': 'Seleziona variabile assegnata...', + 'noVarTip': 'Fare clic sul pulsante "+" per aggiungere variabili', }, tool: { toAuthorize: 'Per autorizzare', @@ -658,6 +678,13 @@ const translation = { tracing: { stopBy: 'Interrotto da {{user}}', }, + variableReference: { + noAvailableVars: 'Nessuna variabile disponibile', + noAssignedVars: 'Nessuna variabile assegnata disponibile', + noVarsForOperation: 'Non ci sono variabili disponibili per l\'assegnazione con l\'operazione selezionata.', + assignedVarsDescription: 'Le variabili assegnate devono essere variabili scrivibili, ad esempio', + conversationVars: 'Variabili di conversazione', + }, } export default translation diff --git a/web/i18n/ja-JP/workflow.ts b/web/i18n/ja-JP/workflow.ts index 998b0b78294b18..df694810ff88c0 100644 --- a/web/i18n/ja-JP/workflow.ts +++ b/web/i18n/ja-JP/workflow.ts @@ -501,6 +501,26 @@ const translation = { 'clear': 'クリア', 'setVariable': '変数を設定する', 'variable': '変数', + 'operations': { + 'title': '操作', + 'set': 'セット', + 'clear': 'クリア', + 'overwrite': '上書き', + 'append': '追加', + '-=': '-=', + '/=': '/=', + '+=': '+=', + 'over-write': '上書き', + 'extend': '延ばす', + '*=': '*=', + }, + 'setParameter': 'パラメータを設定...', + 'selectAssignedVariable': '代入変数を選択...', + 'varNotSet': '変数が設定されていません', + 'variables': '変数', + 'noVarTip': '「+」ボタンをクリックして変数を追加します', + 'noAssignedVars': '使用可能な代入変数がありません', + 'assignedVarsDescription': '代入される変数は、会話変数などの書き込み可能な変数である必要があります。', }, tool: { toAuthorize: '承認するには', @@ -632,6 +652,13 @@ const translation = { tracing: { stopBy: '{{user}}によって停止', }, + variableReference: { + noVarsForOperation: '選択した操作で代入できる変数はありません。', + noAvailableVars: '使用可能な変数がありません', + noAssignedVars: '使用可能な代入変数がありません', + assignedVarsDescription: '代入変数は、次のような書き込み可能な変数である必要があります。', + conversationVars: '会話変数', + }, } export default translation diff --git a/web/i18n/ko-KR/workflow.ts b/web/i18n/ko-KR/workflow.ts index e5db1e4b3a5731..7287564601d947 100644 --- a/web/i18n/ko-KR/workflow.ts +++ b/web/i18n/ko-KR/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': '지우기', 'setVariable': '변수 설정', 'variable': '변수', + 'operations': { + '*=': '*=', + 'overwrite': '덮어쓸', + '-=': '-=', + 'append': '덧붙이다', + 'over-write': '덮어쓸', + '+=': '+=', + 'title': '수술', + 'extend': '뻗치다', + 'clear': '맑다', + '/=': '/=', + 'set': '집합', + }, + 'variables': '변수', + 'noAssignedVars': '사용 가능한 할당된 변수가 없습니다.', + 'noVarTip': '"+" 버튼을 클릭하여 변수를 추가합니다.', + 'setParameter': '매개 변수 설정...', + 'assignedVarsDescription': '할당된 변수는 대화 변수와 같은 쓰기 가능한 변수여야 합니다.', + 'selectAssignedVariable': '할당된 변수 선택...', + 'varNotSet': '변수가 설정되지 않음', }, tool: { toAuthorize: '승인하기', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: '{{user}}에 의해 중지됨', }, + variableReference: { + noAvailableVars: '사용 가능한 변수 없음', + conversationVars: '대화 변수', + noVarsForOperation: '선택한 작업에 할당할 수 있는 변수가 없습니다.', + noAssignedVars: '사용 가능한 할당된 변수가 없습니다.', + assignedVarsDescription: '할당된 변수는 다음과 같이 쓰기 가능한 변수여야 합니다.', + }, } export default translation diff --git a/web/i18n/pl-PL/workflow.ts b/web/i18n/pl-PL/workflow.ts index 086389c18027f1..760d45ad7a3b20 100644 --- a/web/i18n/pl-PL/workflow.ts +++ b/web/i18n/pl-PL/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': 'Wyczyść', 'setVariable': 'Ustaw Zmienną', 'variable': 'Zmienna', + 'operations': { + 'over-write': 'Zastąpić', + 'set': 'Zbiór', + 'title': 'Operacja', + 'overwrite': 'Zastąpić', + '*=': '*=', + '/=': '/=', + '-=': '-=', + 'extend': 'Rozszerzyć', + '+=': '+=', + 'clear': 'Jasny', + 'append': 'Dołączyć', + }, + 'variables': 'Zmiennych', + 'selectAssignedVariable': 'Wybierz przypisaną zmienną...', + 'varNotSet': 'Zmienna NIE jest ustawiona', + 'noAssignedVars': 'Brak dostępnych przypisanych zmiennych', + 'assignedVarsDescription': 'Przypisane zmienne muszą być zmiennymi zapisywalnymi, takimi jak zmienne konwersacji.', + 'setParameter': 'Ustaw parametr...', + 'noVarTip': 'Kliknij przycisk "+", aby dodać zmienne', }, tool: { toAuthorize: 'Do autoryzacji', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: 'Zatrzymane przez {{user}}', }, + variableReference: { + conversationVars: 'Zmienne konwersacji', + assignedVarsDescription: 'Przypisane zmienne muszą być zmiennymi zapisywalnymi, takimi jak', + noVarsForOperation: 'Nie ma dostępnych zmiennych do przypisania do wybranej operacji.', + noAssignedVars: 'Brak dostępnych przypisanych zmiennych', + noAvailableVars: 'Brak dostępnych zmiennych', + }, } export default translation diff --git a/web/i18n/pt-BR/workflow.ts b/web/i18n/pt-BR/workflow.ts index 51e4b4d5dac5d5..422c273fb78c11 100644 --- a/web/i18n/pt-BR/workflow.ts +++ b/web/i18n/pt-BR/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': 'Limpar', 'setVariable': 'Definir Variável', 'variable': 'Variável', + 'operations': { + 'clear': 'Claro', + 'title': 'Operação', + 'over-write': 'Sobrescrever', + '-=': '-=', + '/=': '/=', + '*=': '*=', + 'extend': 'Estender', + 'append': 'Acrescentar', + '+=': '+=', + 'set': 'Pôr', + 'overwrite': 'Sobrescrever', + }, + 'selectAssignedVariable': 'Selecione a variável atribuída...', + 'setParameter': 'Definir parâmetro...', + 'noVarTip': 'Clique no botão "+" para adicionar variáveis', + 'assignedVarsDescription': 'As variáveis atribuídas devem ser variáveis graváveis, como variáveis de conversação.', + 'varNotSet': 'Variável NÃO definida', + 'noAssignedVars': 'Nenhuma variável atribuída disponível', + 'variables': 'Variáveis', }, tool: { toAuthorize: 'Autorizar', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: 'Parado por {{user}}', }, + variableReference: { + noAssignedVars: 'Nenhuma variável atribuída disponível', + noVarsForOperation: 'Não há variáveis disponíveis para atribuição com a operação selecionada.', + conversationVars: 'variáveis de conversação', + assignedVarsDescription: 'As variáveis atribuídas devem ser variáveis graváveis, como', + noAvailableVars: 'Nenhuma variável disponível', + }, } export default translation diff --git a/web/i18n/ro-RO/workflow.ts b/web/i18n/ro-RO/workflow.ts index 73014df2a8cd0d..9a76e87ec2d71f 100644 --- a/web/i18n/ro-RO/workflow.ts +++ b/web/i18n/ro-RO/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': 'Șterge', 'setVariable': 'Setează Variabila', 'variable': 'Variabilă', + 'operations': { + 'append': 'Adăugaţi', + 'extend': 'Prelungi', + 'title': 'Operație', + '+=': '+=', + 'set': 'Apus', + '*=': '*=', + 'overwrite': 'Suprascrie', + 'clear': 'Clar', + 'over-write': 'Suprascrie', + '/=': '/=', + '-=': '-=', + }, + 'selectAssignedVariable': 'Selectați variabila atribuită...', + 'varNotSet': 'Variabila NU este setată', + 'noVarTip': 'Faceți clic pe butonul "+" pentru a adăuga variabile', + 'noAssignedVars': 'Nu există variabile atribuite disponibile', + 'setParameter': 'Setați parametrul...', + 'assignedVarsDescription': 'Variabilele atribuite trebuie să fie variabile inscripționabile, cum ar fi variabilele de conversație.', + 'variables': 'Variabile', }, tool: { toAuthorize: 'Autorizați', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: 'Oprit de {{user}}', }, + variableReference: { + noAvailableVars: 'Nu există variabile disponibile', + noVarsForOperation: 'Nu există variabile disponibile pentru atribuire cu operațiunea selectată.', + conversationVars: 'Variabile de conversație', + assignedVarsDescription: 'Variabilele atribuite trebuie să fie variabile inscripționabile, cum ar fi', + noAssignedVars: 'Nu există variabile atribuite disponibile', + }, } export default translation diff --git a/web/i18n/ru-RU/workflow.ts b/web/i18n/ru-RU/workflow.ts index e56be960be157c..ce2a5992e770fd 100644 --- a/web/i18n/ru-RU/workflow.ts +++ b/web/i18n/ru-RU/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': 'Очистить', 'setVariable': 'Установить переменную', 'variable': 'Переменная', + 'operations': { + '-=': '-=', + '+=': '+=', + 'clear': 'Ясный', + 'extend': 'Вытягивать', + 'set': 'Набор', + 'overwrite': 'Перезаписать', + '/=': '/=', + '*=': '*=', + 'title': 'Операция', + 'over-write': 'Перезаписать', + 'append': 'Прибавлять', + }, + 'variables': 'Переменные', + 'noAssignedVars': 'Нет доступных назначенных переменных', + 'noVarTip': 'Нажмите кнопку "+", чтобы добавить переменные', + 'setParameter': 'Установите параметр...', + 'assignedVarsDescription': 'Назначаемые переменные должны быть доступными для записи, например переменными беседы.', + 'varNotSet': 'Переменная НЕ установлена', + 'selectAssignedVariable': 'Выберите назначенную переменную...', }, tool: { toAuthorize: 'Авторизовать', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: 'Остановлено {{user}}', }, + variableReference: { + assignedVarsDescription: 'Назначаемые переменные должны быть доступными для записи, такими как', + noAssignedVars: 'Нет доступных назначенных переменных', + noVarsForOperation: 'Переменные для присвоения выбранной операции отсутствуют.', + conversationVars: 'Переменные беседы', + noAvailableVars: 'Нет доступных переменных', + }, } export default translation diff --git a/web/i18n/sl-SI/workflow.ts b/web/i18n/sl-SI/workflow.ts index b054e9b925aa78..4783fab8de4134 100644 --- a/web/i18n/sl-SI/workflow.ts +++ b/web/i18n/sl-SI/workflow.ts @@ -936,6 +936,26 @@ const translation = { 'setVariable': 'Nastavi spremenljivko', 'over-write': 'Prepisati', 'writeModeTip': 'Način dodajanja: Na voljo samo za spremenljivke polja.', + 'operations': { + '+=': '+=', + 'overwrite': 'Prepisati', + '*=': '*=', + 'extend': 'Razširiti', + 'append': 'Dodaj', + '-=': '-=', + 'title': 'Operacija', + '/=': '/=', + 'set': 'Nastaviti', + 'clear': 'Jasen', + 'over-write': 'Prepisati', + }, + 'variables': 'Spremenljivke', + 'selectAssignedVariable': 'Izberite dodeljeno spremenljivko ...', + 'assignedVarsDescription': 'Dodeljene spremenljivke morajo biti zapisljive, kot so spremenljivke pogovora.', + 'noVarTip': 'Kliknite gumb »+«, da dodate spremenljivke', + 'noAssignedVars': 'Ni razpoložljivih dodeljenih spremenljivk', + 'varNotSet': 'Spremenljivka NI nastavljena', + 'setParameter': 'Nastavi parameter ...', }, tool: { outputVars: { @@ -1064,6 +1084,13 @@ const translation = { filterConditionComparisonValue: 'Vrednost pogoja filtra', }, }, + variableReference: { + noVarsForOperation: 'Spremenljivk ni na voljo za dodelitev z izbrano operacijo.', + conversationVars: 'Spremenljivke pogovora', + noAssignedVars: 'Ni razpoložljivih dodeljenih spremenljivk', + noAvailableVars: 'Ni spremenljivk, ki so na voljo', + assignedVarsDescription: 'Dodeljene spremenljivke morajo biti zapisljive, kot so:', + }, } export default translation diff --git a/web/i18n/th-TH/app-log.ts b/web/i18n/th-TH/app-log.ts index fb7600f8bf1d7e..4cc6d8a8f6cc75 100644 --- a/web/i18n/th-TH/app-log.ts +++ b/web/i18n/th-TH/app-log.ts @@ -51,6 +51,7 @@ const translation = { }, variables: 'ตัว แปร', uploadImages: 'รูปภาพที่อัปโหลด', + timeConsuming: '', }, filter: { period: { diff --git a/web/i18n/th-TH/share-app.ts b/web/i18n/th-TH/share-app.ts index 97920a9165f1e7..290a8cc3f7ac59 100644 --- a/web/i18n/th-TH/share-app.ts +++ b/web/i18n/th-TH/share-app.ts @@ -2,6 +2,7 @@ const translation = { common: { appUnavailable: 'แอพไม่พร้อมใช้งาน', appUnknownError: 'แอพไม่พร้อมใช้งาน', + welcome: '', }, chat: { newChat: 'แชทใหม่', diff --git a/web/i18n/th-TH/workflow.ts b/web/i18n/th-TH/workflow.ts index 71d82b98e5df63..2971591e2e1135 100644 --- a/web/i18n/th-TH/workflow.ts +++ b/web/i18n/th-TH/workflow.ts @@ -499,6 +499,26 @@ const translation = { 'clear': 'ใส', 'setVariable': 'ตั้งค่าตัวแปร', 'variable': 'ตัวแปร', + 'operations': { + 'set': 'ชุด', + 'append': 'ผนวก', + '-=': '-=', + '*=': '*=', + 'overwrite': 'เขียน ทับ', + 'extend': 'ขยาย', + 'title': 'การผ่าตัด', + 'clear': 'ใส', + 'over-write': 'เขียน ทับ', + '+=': '+=', + '/=': '/=', + }, + 'noAssignedVars': 'ไม่มีตัวแปรที่กําหนด', + 'selectAssignedVariable': 'เลือกตัวแปรที่กําหนด...', + 'variables': 'ตัว แปร', + 'varNotSet': 'ตัวแปรไม่ได้ตั้งค่า', + 'assignedVarsDescription': 'ตัวแปรที่กําหนดต้องเป็นตัวแปรที่เขียนได้ เช่น ตัวแปรการสนทนา', + 'noVarTip': 'คลิกปุ่ม "+" เพื่อเพิ่มตัวแปร', + 'setParameter': 'ตั้งค่าพารามิเตอร์...', }, tool: { toAuthorize: 'เพื่ออนุญาต', @@ -630,6 +650,13 @@ const translation = { tracing: { stopBy: 'แวะที่ {{user}}', }, + variableReference: { + conversationVars: 'ตัวแปรการสนทนา', + noVarsForOperation: 'ไม่มีตัวแปรที่พร้อมใช้งานสําหรับการกําหนดด้วยการดําเนินการที่เลือก', + noAvailableVars: 'ไม่มีตัวแปรที่ใช้ได้', + assignedVarsDescription: 'ตัวแปรที่กําหนดต้องเป็นตัวแปรที่เขียนได้ เช่น', + noAssignedVars: 'ไม่มีตัวแปรที่กําหนด', + }, } export default translation diff --git a/web/i18n/tr-TR/workflow.ts b/web/i18n/tr-TR/workflow.ts index e01e8ed4eb2ea3..f34a1b73555fe1 100644 --- a/web/i18n/tr-TR/workflow.ts +++ b/web/i18n/tr-TR/workflow.ts @@ -501,6 +501,26 @@ const translation = { 'clear': 'Temizle', 'setVariable': 'Değişken Ayarla', 'variable': 'Değişken', + 'operations': { + 'extend': 'Uzatmak', + 'overwrite': 'Üzerine', + 'over-write': 'Üzerine', + 'title': 'İşlem', + '+=': '+=', + 'clear': 'Berrak', + 'append': 'Ekleme', + '/=': '/=', + '-=': '-=', + '*=': '*=', + 'set': 'Ayarlamak', + }, + 'variables': 'Değişken', + 'selectAssignedVariable': 'Atanan değişkeni seçin...', + 'setParameter': 'Parametreyi ayarla...', + 'varNotSet': 'Değişken NOT Set', + 'assignedVarsDescription': 'Atanan değişkenler, konuşma değişkenleri gibi yazılabilir değişkenler olmalıdır.', + 'noVarTip': 'Değişken eklemek için "+" düğmesini tıklayın', + 'noAssignedVars': 'Kullanılabilir atanmış değişken yok', }, tool: { toAuthorize: 'Yetkilendirmek için', @@ -632,6 +652,13 @@ const translation = { tracing: { stopBy: '{{user}} tarafından durduruldu', }, + variableReference: { + assignedVarsDescription: 'Atanan değişkenler, örneğin yazılabilir değişkenler olmalıdır', + noAvailableVars: 'Kullanılabilir değişken yok', + conversationVars: 'Konuşma değişkenleri', + noVarsForOperation: 'Seçilen işlemle atanabilecek değişken yok.', + noAssignedVars: 'Kullanılabilir atanmış değişken yok', + }, } export default translation diff --git a/web/i18n/uk-UA/workflow.ts b/web/i18n/uk-UA/workflow.ts index 4fc074c836c0c9..d0c9fcd7676cf7 100644 --- a/web/i18n/uk-UA/workflow.ts +++ b/web/i18n/uk-UA/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': 'Очистити', 'setVariable': 'Встановити Змінну', 'variable': 'Змінна', + 'operations': { + 'clear': 'Ясний', + 'set': 'Встановити', + 'title': 'Операція', + 'append': 'Додати', + '-=': '-=', + 'over-write': 'Перезаписати', + 'overwrite': 'Перезаписати', + '/=': '/=', + '+=': '+=', + '*=': '*=', + 'extend': 'Розширити', + }, + 'selectAssignedVariable': 'Виберіть призначену змінну...', + 'noAssignedVars': 'Немає доступних призначених змінних', + 'noVarTip': 'Натисніть кнопку «+», щоб додати змінні', + 'assignedVarsDescription': 'Призначені змінні мають бути доступними для запису, такими як змінні розмови.', + 'variables': 'Змінні', + 'varNotSet': 'Змінна НЕ встановлена', + 'setParameter': 'Встановити параметр...', }, tool: { toAuthorize: 'Авторизувати', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: 'Зупинено користувачем {{user}}', }, + variableReference: { + conversationVars: 'Змінні розмови', + noVarsForOperation: 'Немає доступних змінних для призначення з обраною операцією.', + assignedVarsDescription: 'Призначені змінні мають бути доступними для запису, такими як', + noAssignedVars: 'Немає доступних призначених змінних', + noAvailableVars: 'Немає доступних змінних', + }, } export default translation diff --git a/web/i18n/vi-VN/workflow.ts b/web/i18n/vi-VN/workflow.ts index f897910ab4fc43..19d33145ffd16a 100644 --- a/web/i18n/vi-VN/workflow.ts +++ b/web/i18n/vi-VN/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': 'Xóa', 'setVariable': 'Đặt Biến', 'variable': 'Biến', + 'operations': { + '-=': '-=', + 'over-write': 'Ghi đè lên', + 'clear': 'Trong', + 'append': 'Thêm', + 'title': 'Hoạt động', + '*=': '*=', + '/=': '/=', + 'extend': 'Mở rộng', + '+=': '+=', + 'set': 'Cài', + 'overwrite': 'Ghi đè lên', + }, + 'setParameter': 'Đặt tham số...', + 'selectAssignedVariable': 'Chọn biến được gán...', + 'noVarTip': 'Nhấp vào nút "+" để thêm biến', + 'assignedVarsDescription': 'Các biến được gán phải là các biến có thể ghi, chẳng hạn như các biến hội thoại.', + 'varNotSet': 'Biến KHÔNG được đặt', + 'noAssignedVars': 'Không có biến được gán sẵn có', + 'variables': 'Biến', }, tool: { toAuthorize: 'Ủy quyền', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: 'Dừng bởi {{user}}', }, + variableReference: { + noAssignedVars: 'Không có biến được gán sẵn có', + noAvailableVars: 'Không có biến khả dụng', + assignedVarsDescription: 'Các biến được gán phải là các biến có thể ghi, chẳng hạn như', + conversationVars: 'Biến cuộc trò chuyện', + noVarsForOperation: 'Không có biến nào có sẵn để gán với hoạt động đã chọn.', + }, } export default translation diff --git a/web/i18n/zh-Hant/workflow.ts b/web/i18n/zh-Hant/workflow.ts index 0598593eda5aad..4653e64258e528 100644 --- a/web/i18n/zh-Hant/workflow.ts +++ b/web/i18n/zh-Hant/workflow.ts @@ -500,6 +500,26 @@ const translation = { 'clear': '清除', 'setVariable': '設定變數', 'variable': '變數', + 'operations': { + 'overwrite': '改寫', + '/=': '/=', + 'title': '操作', + '*=': '*=', + 'extend': '擴展', + '+=': '+=', + 'set': '設置', + 'over-write': '改寫', + '-=': '-=', + 'append': '附加', + 'clear': '清楚', + }, + 'noAssignedVars': '沒有可用的已分配變數', + 'variables': '變數', + 'selectAssignedVariable': '選擇配置的變數...', + 'setParameter': '設定參數...', + 'noVarTip': '點擊 「+」 按鈕添加變數', + 'assignedVarsDescription': '分配的變數必須是可寫變數,例如對話變數。', + 'varNotSet': '未設置變數', }, tool: { toAuthorize: '授權', @@ -631,6 +651,13 @@ const translation = { tracing: { stopBy: '由{{user}}終止', }, + variableReference: { + noAvailableVars: '無可用變數', + noAssignedVars: '沒有可用的已分配變數', + noVarsForOperation: '所選操作沒有可用於賦值的變數。', + assignedVarsDescription: '分配的變數必須是可寫變數,例如', + conversationVars: '對話變數', + }, } export default translation