Skip to content

Commit 4e970da

Browse files
committed
Replace generic missing configuration warning with specific missing-model and missing-chatbot messages
- instead of saying 'missing configuration', say 'missing chatbot' or 'missing model' - we have more translations of common.missing-model than usages
1 parent 5f7a5a1 commit 4e970da

5 files changed

Lines changed: 37 additions & 55 deletions

File tree

‎apps/editor/src/i18n/translations/common.ts‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -468,24 +468,6 @@ export const translations = {
468468
hu: 'Beállítások megnyitása',
469469
bg: 'Отвори настройките'
470470
},
471-
'common.missing-configuration': {
472-
en: 'Missing configuration.',
473-
pl: 'Brakująca konfiguracja.',
474-
'zh-cn': '缺少配置。',
475-
ja: '設定が不足しています。',
476-
'zh-tw': '缺少設定。',
477-
de: 'Fehlende Konfiguration.',
478-
es: 'Falta configuración.',
479-
fr: 'Configuration manquante.',
480-
'pt-br': 'Configuração ausente.',
481-
ru: 'Отсутствует конфигурация.',
482-
ko: '구성이 누락되었습니다.',
483-
it: 'Configurazione mancante.',
484-
tr: 'Yapılandırma eksik.',
485-
cs: 'Chybí konfigurace.',
486-
hu: 'Hiányzó konfiguráció.',
487-
bg: 'Липсваща конфигурация.'
488-
},
489471
'common.info.select-files-to-search': {
490472
en: 'Please select files to search.',
491473
pl: 'Proszę wybrać pliki do przeszukania.',

‎apps/editor/src/views/prompt/frontend/i18n/translations/common.ts‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
11
export const common = {
2-
'common.missing-configuration': {
3-
en: 'Missing configuration',
4-
pl: 'Brak konfiguracji',
5-
'zh-cn': '缺少配置',
6-
ja: '設定が不足しています',
7-
'zh-tw': '缺少設定',
8-
de: 'Fehlende Konfiguration',
9-
es: 'Configuración faltante',
10-
fr: 'Configuration manquante',
11-
'pt-br': 'Configuração ausente',
12-
ru: 'Отсутствует конфигурация',
13-
ko: '구성이 누락되었습니다',
14-
it: 'Configurazione mancante',
15-
tr: 'Eksik yapılandırma',
16-
cs: 'Chybějící konfigurace',
17-
hu: 'Hiányzó konfiguráció',
18-
bg: 'Липсваща конфигурация'
19-
},
202
'common.context-is-empty': {
213
en: 'Context is empty',
224
pl: 'Kontekst jest pusty',

‎apps/editor/src/views/settings/frontend/Home/sections/ApiSection.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export const ApiSection = forwardRef<HTMLDivElement, Props>((props, ref) => {
199199
</Button>
200200
}
201201
>
202-
{t('common.missing-configuration')}
202+
{t('common.missing-model')}
203203
</UiNotice>
204204
) : null
205205
}

‎apps/editor/src/views/settings/frontend/Home/sections/WebSection.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export const WebSection = forwardRef<HTMLDivElement, Props>((props, ref) => {
125125
</Button>
126126
}
127127
>
128-
{t('common.missing-configuration')}
128+
{t('common.missing-chatbot')}
129129
</UiNotice>
130130
) : null
131131
}

‎apps/editor/src/views/settings/frontend/i18n/translations/common.ts‎

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,40 @@ export const translations = {
3535
hu: 'Összecsukás',
3636
bg: 'Свиване'
3737
},
38-
'common.missing-configuration': {
39-
en: 'Missing configuration.',
40-
pl: 'Brak konfiguracji.',
41-
'zh-cn': '缺少配置。',
42-
ja: '設定が不足しています。',
43-
'zh-tw': '缺少設定。',
44-
de: 'Fehlende Konfiguration.',
45-
es: 'Configuración faltante.',
46-
fr: 'Configuration manquante.',
47-
'pt-br': 'Configuração ausente.',
48-
ru: 'Отсутствует конфигурация.',
49-
ko: '구성이 누락되었습니다.',
50-
it: 'Configurazione mancante.',
51-
tr: 'Eksik yapılandırma.',
52-
cs: 'Chybějící konfigurace.',
53-
hu: 'Hiányzó konfiguráció.',
54-
bg: 'Липсваща конфигурация.'
38+
'common.missing-model': {
39+
en: 'Missing model.',
40+
pl: 'Brak modelu.',
41+
'zh-cn': '缺少模型。',
42+
ja: 'モデルが不足しています。',
43+
'zh-tw': '缺少模型。',
44+
de: 'Fehlendes Modell.',
45+
es: 'Falta modelo.',
46+
fr: 'Modèle manquant.',
47+
'pt-br': 'Modelo ausente.',
48+
ru: 'Отсутствует модель.',
49+
ko: '모델이 누락되었습니다.',
50+
it: 'Modello mancante.',
51+
tr: 'Eksik model.',
52+
cs: 'Chybějící model.',
53+
hu: 'Hiányzó modell.',
54+
bg: 'Липсващ модел.'
55+
},
56+
'common.missing-chatbot': {
57+
en: 'Missing chatbot.',
58+
pl: 'Brak chatbota.',
59+
'zh-cn': '缺少聊天机器人。',
60+
ja: 'チャットボットが不足しています。',
61+
'zh-tw': '缺少聊天機器人。',
62+
de: 'Fehlender Chatbot.',
63+
es: 'Falta chatbot.',
64+
fr: 'Chatbot manquant.',
65+
'pt-br': 'Chatbot ausente.',
66+
ru: 'Отсутствует чат-бот.',
67+
ko: '챗봇이 누락되었습니다.',
68+
it: 'Chatbot mancante.',
69+
tr: 'Eksik chatbot.',
70+
cs: 'Chybějící chatbot.',
71+
hu: 'Hiányzó chatbot.',
72+
bg: 'Липсващ чатбот.'
5573
}
5674
} as const

0 commit comments

Comments
 (0)