Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Fix typo: writeOpner -> writeOpener (#4060)

Shohei Tanabef68b6b0e5ef9
diff --git a/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx b/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx
index 6be76210da7..f7933ee396e 100644
--- a/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx
+++ b/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx
@@ -135,7 +135,7 @@ const OpeningStatement: FC<IOpeningStatementProps> = ({
<Button className='!h-8 !px-3 text-xs' onClick={handleConfirm} type="primary">{t('common.operation.save')}</Button>
</div>
) : (
- <OperationBtn type='edit' actionName={hasValue ? '' : t('appDebug.openingStatement.writeOpner') as string} onClick={handleEdit} />
+ <OperationBtn type='edit' actionName={hasValue ? '' : t('appDebug.openingStatement.writeOpener') as string} onClick={handleEdit} />
)
) : null
diff --git a/web/app/components/base/features/feature-panel/opening-statement/index.tsx b/web/app/components/base/features/feature-panel/opening-statement/index.tsx
index c8068c85be5..d9a9a408c92 100644
--- a/web/app/components/base/features/feature-panel/opening-statement/index.tsx
+++ b/web/app/components/base/features/feature-panel/opening-statement/index.tsx
@@ -172,7 +172,7 @@ const OpeningStatement: FC<OpeningStatementProps> = ({
<Button className='!h-8 !px-3 text-xs' onClick={handleConfirm} type="primary">{t('common.operation.save')}</Button>
</div>
) : (
- <OperationBtn type='edit' actionName={hasValue ? '' : t('appDebug.openingStatement.writeOpner') as string} onClick={handleEdit} />
+ <OperationBtn type='edit' actionName={hasValue ? '' : t('appDebug.openingStatement.writeOpener') as string} onClick={handleEdit} />
)
) : null
diff --git a/web/i18n/de-DE/app-debug.ts b/web/i18n/de-DE/app-debug.ts
index 95ebdabf050..0d998b00263 100644
--- a/web/i18n/de-DE/app-debug.ts
+++ b/web/i18n/de-DE/app-debug.ts
@@ -313,7 +313,7 @@ const translation = {
openingStatement: {
title: 'Gesprächseröffner',
add: 'Hinzufügen',
- writeOpner: 'Eröffnung schreiben',
+ writeOpener: 'Eröffnung schreiben',
placeholder: 'Schreiben Sie hier Ihre Eröffnungsnachricht, Sie können Variablen verwenden, versuchen Sie {{Variable}} zu tippen.',
openingQuestion: 'Eröffnungsfragen',
noDataPlaceHolder:
diff --git a/web/i18n/en-US/app-debug.ts b/web/i18n/en-US/app-debug.ts
index 7adf0d62e2d..bf5d1215062 100644
--- a/web/i18n/en-US/app-debug.ts
+++ b/web/i18n/en-US/app-debug.ts
@@ -327,7 +327,7 @@ const translation = {
openingStatement: {
title: 'Conversation Opener',
add: 'Add',
- writeOpner: 'Write opener',
+ writeOpener: 'Write opener',
placeholder: 'Write your opener message here, you can use variables, try type {{variable}}.',
openingQuestion: 'Opening Questions',
noDataPlaceHolder:
diff --git a/web/i18n/fr-FR/app-debug.ts b/web/i18n/fr-FR/app-debug.ts
index fd6e26996ce..5e5e8f9bada 100644
--- a/web/i18n/fr-FR/app-debug.ts
+++ b/web/i18n/fr-FR/app-debug.ts
@@ -327,7 +327,7 @@ const translation = {
openingStatement: {
title: 'Ouverture de Conversation',
add: 'Ajouter',
- writeOpner: 'Écrire l\'introduction',
+ writeOpener: 'Écrire l\'introduction',
placeholder: 'Rédigez votre message d\'ouverture ici, vous pouvez utiliser des variables, essayez de taper {{variable}}.',
openingQuestion: 'Questions d\'ouverture',
noDataPlaceHolder:
diff --git a/web/i18n/ja-JP/app-debug.ts b/web/i18n/ja-JP/app-debug.ts
index 90d58917699..af5c94bb9dc 100644
--- a/web/i18n/ja-JP/app-debug.ts
+++ b/web/i18n/ja-JP/app-debug.ts
@@ -324,7 +324,7 @@ const translation = {
openingStatement: {
title: '会話開始',
add: '追加',
- writeOpner: 'オープナーを書く',
+ writeOpener: 'オープナーを書く',
placeholder: 'ここにオープナーメッセージを書いてください。変数を使用できます。{{variable}} を入力してみてください。',
openingQuestion: '開始質問',
noDataPlaceHolder:
diff --git a/web/i18n/pt-BR/app-debug.ts b/web/i18n/pt-BR/app-debug.ts
index a9312fd21ae..1fae07a2232 100644
--- a/web/i18n/pt-BR/app-debug.ts
+++ b/web/i18n/pt-BR/app-debug.ts
@@ -327,7 +327,7 @@ const translation = {
openingStatement: {
title: 'Abertura da Conversa',
add: 'Adicionar',
- writeOpner: 'Escrever abertura',
+ writeOpener: 'Escrever abertura',
placeholder: 'Escreva sua mensagem de abertura aqui, você pode usar variáveis, tente digitar {{variável}}.',
openingQuestion: 'Perguntas de Abertura',
noDataPlaceHolder:
diff --git a/web/i18n/uk-UA/app-debug.ts b/web/i18n/uk-UA/app-debug.ts
index 0222eef3972..78798e7d53c 100644
--- a/web/i18n/uk-UA/app-debug.ts
+++ b/web/i18n/uk-UA/app-debug.ts
@@ -321,7 +321,7 @@ const translation = {
openingStatement: {
title: 'Вступ до розмови', // Conversation Opener
add: 'Додати', // Add
- writeOpner: 'Напишіть вступне повідомлення', // Write opener
+ writeOpener: 'Напишіть вступне повідомлення', // Write opener
placeholder: 'Напишіть тут своє вступне повідомлення, ви можете використовувати змінні, спробуйте ввести {{variable}}.', // Write your opener message here...
openingQuestion: 'Відкриваючі питання', // Opening Questions
noDataPlaceHolder: 'Початок розмови з користувачем може допомогти ШІ встановити більш тісний зв’язок з ним у розмовних застосунках.', // ... conversational applications.
diff --git a/web/i18n/vi-VN/app-debug.ts b/web/i18n/vi-VN/app-debug.ts
index b9a875422e4..19fbbae1fd2 100644
--- a/web/i18n/vi-VN/app-debug.ts
+++ b/web/i18n/vi-VN/app-debug.ts
@@ -327,7 +327,7 @@ const translation = {
openingStatement: {
title: 'Mở đầu Trò chuyện',
add: 'Thêm',
- writeOpner: 'Viết câu mở đầu',
+ writeOpener: 'Viết câu mở đầu',
placeholder: 'Viết thông điệp mở đầu của bạn ở đây, bạn có thể sử dụng biến, hãy thử nhập {{biến}}.',
openingQuestion: 'Câu Hỏi Mở đầu',
noDataPlaceHolder:
diff --git a/web/i18n/zh-Hans/app-debug.ts b/web/i18n/zh-Hans/app-debug.ts
index c9d39da81b7..400c5c613cb 100644
--- a/web/i18n/zh-Hans/app-debug.ts
+++ b/web/i18n/zh-Hans/app-debug.ts
@@ -323,7 +323,7 @@ const translation = {
openingStatement: {
title: '对话开场白',
add: '添加开场白',
- writeOpner: '编写开场白',
+ writeOpener: '编写开场白',
placeholder: '在这里写下你的开场白,你可以使用变量,尝试输入 {{variable}}。',
openingQuestion: '开场问题',
noDataPlaceHolder:
diff --git a/web/i18n/zh-Hant/app-debug.ts b/web/i18n/zh-Hant/app-debug.ts
index 99c6e9cecc0..18dee05a20b 100644
--- a/web/i18n/zh-Hant/app-debug.ts
+++ b/web/i18n/zh-Hant/app-debug.ts
@@ -323,7 +323,7 @@ const translation = {
openingStatement: {
title: '對話開場白',
add: '新增開場白',
- writeOpner: '編寫開場白',
+ writeOpener: '編寫開場白',
placeholder: '在這裡寫下你的開場白,你可以使用變數,嘗試輸入 {{variable}}。',
openingQuestion: '開場問題',
noDataPlaceHolder: