Skip to content

Commit 72259a2

Browse files
committed
Update empty configuration and template notification messages to use plural forms
- use prural form - change to 'no templates created yet.' (and translations)
1 parent 6fba6ca commit 72259a2

4 files changed

Lines changed: 59 additions & 57 deletions

File tree

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
export const translations = {
22
'utils.show-missing-configuration-notification.no-model-configurations-created-yet':
33
{
4-
en: 'No model configured yet.',
5-
pl: 'Nie skonfigurowano jeszcze żadnego modelu.',
4+
en: 'No models configured yet.',
5+
pl: 'Nie skonfigurowano jeszcze żadnych modeli.',
66
'zh-cn': '尚未配置任何模型。',
77
ja: 'モデルがまだ設定されていません。',
88
'zh-tw': '尚未設定任何模型。',
9-
de: 'Noch kein Modell konfiguriert.',
10-
es: 'Aún no se ha configurado ningún modelo.',
11-
fr: 'Aucun modèle configuré pour le moment.',
12-
'pt-br': 'Nenhum modelo configurado ainda.',
13-
ru: 'Модель еще не настроена.',
9+
de: 'Noch keine Modelle konfiguriert.',
10+
es: 'Aún no se han configurado modelos.',
11+
fr: 'Pas encore de modèles configurés pour le moment.',
12+
'pt-br': 'Não há modelos configurados ainda.',
13+
ru: 'Модели еще не настроены.',
1414
ko: '아직 구성된 모델이 없습니다.',
15-
it: 'Nessun modello ancora configurato.',
16-
tr: 'Henüz bir model yapılandırılmadı.',
17-
cs: 'Zatím nebyl nakonfigurován žádný model.',
18-
hu: 'Még nincs modell konfigurálva.',
19-
bg: 'Все още няма конфигуриран модел.'
15+
it: 'Non ci sono ancora modelli configurati.',
16+
tr: 'Henüz hiçbir model yapılandırılmadı.',
17+
cs: 'Zatím nebyly nakonfigurovány žádné modely.',
18+
hu: 'Még nincsenek modellek konfigurálva.',
19+
bg: 'Все още няма конфигурирани модели.'
2020
},
2121
'utils.show-missing-configuration-notification.no-chatbot-configurations-created-yet':
2222
{
23-
en: 'No chatbot configured yet.',
24-
pl: 'Nie skonfigurowano jeszcze żadnego chatbota.',
23+
en: 'No chatbots configured yet.',
24+
pl: 'Nie skonfigurowano jeszcze żadnych chatbotów.',
2525
'zh-cn': '尚未配置任何聊天机器人。',
2626
ja: 'チャットボットがまだ設定されていません。',
2727
'zh-tw': '尚未設定任何聊天機器人。',
28-
de: 'Noch kein Chatbot konfiguriert.',
29-
es: 'Aún no se ha configurado ningún chatbot.',
30-
fr: 'Aucun chatbot configuré pour le moment.',
31-
'pt-br': 'Nenhum chatbot configurado ainda.',
32-
ru: 'Чат-бот еще не настроен.',
28+
de: 'Noch keine Chatbots konfiguriert.',
29+
es: 'Aún no se han configurado chatbots.',
30+
fr: 'Pas encore de chatbots configurés pour le moment.',
31+
'pt-br': 'Não há chatbots configurados ainda.',
32+
ru: 'Чат-боты еще не настроены.',
3333
ko: '아직 구성된 챗봇이 없습니다.',
34-
it: 'Nessun chatbot ancora configurato.',
35-
tr: 'Henüz bir sohbet robotu yapılandırılmadı.',
36-
cs: 'Zatím nebyl nakonfigurován žádný chatbot.',
37-
hu: 'Még nincs chatbot konfigurálva.',
38-
bg: 'Все още няма конфигуриран чатбот.'
34+
it: 'Non ci sono ancora chatbot configurati.',
35+
tr: 'Henüz hiçbir sohbet robotu yapılandırılmadı.',
36+
cs: 'Zatím nebyli nakonfigurováni žádní chatboti.',
37+
hu: 'Még nincsenek chatbotok konfigurálva.',
38+
bg: 'Все още няма конфигурирани чатботове.'
3939
}
4040
} as const

‎apps/editor/src/i18n/translations/views/prompt/handlers/handle-template-quick-pick.ts‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
export const translations = {
2-
'views.prompt.handlers.handle-template-quick-pick.no-templates-found': {
3-
en: 'No templates found.',
4-
pl: 'Nie znaleziono szablonów.',
5-
'zh-cn': '未找到模板。',
6-
ja: 'テンプレートが見つかりません。',
7-
'zh-tw': '未找到範本。',
8-
de: 'Keine Vorlagen gefunden.',
9-
es: 'No se encontraron plantillas.',
10-
fr: 'Aucun modèle trouvé.',
11-
'pt-br': 'Nenhum modelo encontrado.',
12-
ru: 'Шаблоны не найдены.',
13-
ko: '템플릿을 찾을 수 없습니다.',
14-
it: 'Nessun modello trovato.',
15-
tr: 'Şablon bulunamadı.',
16-
cs: 'Nebyly nalezeny žádné šablony.',
17-
hu: 'Nem találhatók sablonok.',
18-
bg: 'Не са намерени шаблони.'
2+
'views.prompt.handlers.handle-template-quick-pick.no-templates-created-yet': {
3+
en: 'No templates created yet.',
4+
pl: 'Nie utworzono jeszcze szablonów.',
5+
'zh-cn': '尚未创建模板。',
6+
ja: 'テンプレートはまだ作成されていません。',
7+
'zh-tw': '尚未建立範本。',
8+
de: 'Noch keine Vorlagen erstellt.',
9+
es: 'Aún no se han creado plantillas.',
10+
fr: 'Aucun modèle créé pour le moment.',
11+
'pt-br': 'Nenhum modelo criado ainda.',
12+
ru: 'Шаблоны еще не созданы.',
13+
ko: '아직 생성된 템플릿이 없습니다.',
14+
it: 'Nessun modello ancora creato.',
15+
tr: 'Henüz şablon oluşturulmadı.',
16+
cs: 'Zatím nebyly vytvořeny žádné šablony.',
17+
hu: 'Még nincsenek sablonok létrehozva.',
18+
bg: 'Все още няма създадени шаблони.'
1919
},
2020
'views.prompt.handlers.handle-template-quick-pick.open-settings': {
2121
en: 'Open settings',

‎apps/editor/src/views/prompt/backend/message-handlers/handle-template-quick-pick.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export const handle_template_quick_pick = async (
4141
if (!templates.length) {
4242
prompt_view_provider.send_message({ command: 'FOCUS_PROMPT_FIELD' })
4343
const selection = await vscode.window.showInformationMessage(
44-
t('views.prompt.handlers.handle-template-quick-pick.no-templates-found'),
44+
t(
45+
'views.prompt.handlers.handle-template-quick-pick.no-templates-created-yet'
46+
),
4547
t('views.prompt.handlers.handle-template-quick-pick.open-settings')
4648
)
4749
if (

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,22 @@ export const configurations = {
3636
bg: 'Липсващ модел'
3737
},
3838
'configurations.empty': {
39-
en: 'No model configured yet',
40-
pl: 'Nie ustawiono jeszcze żadnego modelu',
41-
'zh-cn': '尚未配置模型',
42-
ja: 'モデルはまだ設定されていません',
43-
'zh-tw': '尚未配置模型',
44-
de: 'Noch kein Modell konfiguriert',
45-
es: 'Aún no se ha configurado ningún modelo',
46-
fr: 'Aucun modèle configuré pour le moment',
47-
'pt-br': 'Nenhum modelo configurado ainda',
48-
ru: 'Модель еще не настроена',
39+
en: 'No models configured yet',
40+
pl: 'Nie skonfigurowano jeszcze żadnych modeli',
41+
'zh-cn': '尚未配置任何模型',
42+
ja: 'モデルがまだ設定されていません',
43+
'zh-tw': '尚未設定任何模型',
44+
de: 'Noch keine Modelle konfiguriert',
45+
es: 'Aún no se han configurado modelos',
46+
fr: 'Pas encore de modèles configurés pour le moment',
47+
'pt-br': 'Não há modelos configurados ainda',
48+
ru: 'Модели еще не настроены',
4949
ko: '아직 구성된 모델이 없습니다',
50-
it: 'Nessun modello ancora configurato',
51-
tr: 'Henüz yapılandırılmış model yok',
52-
cs: 'Zatím není nakonfigurován žádný model',
53-
hu: 'Még nincs modell konfigurálva',
54-
bg: 'Все още няма конфигуриран модел'
50+
it: 'Non ci sono ancora modelli configurati',
51+
tr: 'Henüz hiçbir model yapılandırılmadı',
52+
cs: 'Zatím nebyly nakonfigurovány žádné modely',
53+
hu: 'Még nincsenek modellek konfigurálva',
54+
bg: 'Все още няма конфигурирани модели'
5555
},
5656
'chatbots.empty': {
5757
en: 'No chatbot configured yet',

0 commit comments

Comments
 (0)