Skip to content

Commit 8ca4fd3

Browse files
committed
Use common translation key for empty context message
1 parent 5919341 commit 8ca4fd3

2 files changed

Lines changed: 1 addition & 19 deletions

File tree

‎apps/editor/src/i18n/translations/views/prompt/handlers/handle-autofill.ts‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,5 @@ export const translations = {
1616
cs: 'Prohlížeč není připojen.',
1717
hu: 'A böngésző nincs csatlakoztatva.',
1818
bg: 'Браузърът не е свързан.'
19-
},
20-
'views.prompt.handlers.handle-autofill.context-cannot-be-empty': {
21-
en: 'Context cannot be empty.',
22-
pl: 'Kontekst nie może być pusty.',
23-
'zh-cn': '上下文不能为空。',
24-
ja: 'コンテキストを空にすることはできません。',
25-
'zh-tw': '上下文不能為空。',
26-
de: 'Kontext darf nicht leer sein.',
27-
es: 'El contexto no puede estar vacío.',
28-
fr: 'Le contexte ne peut pas être vide.',
29-
'pt-br': 'O contexto não pode estar vazio.',
30-
ru: 'Контекст не может быть пустым.',
31-
ko: '컨텍스트는 비워 둘 수 없습니다.',
32-
it: 'Il contesto non può essere vuoto.',
33-
tr: 'Bağlam boş olamaz.',
34-
cs: 'Kontext nemůže být prázdný.',
35-
hu: 'A kontextus nem lehet üres.',
36-
bg: 'Контекстът не може да бъде празен.'
3719
}
3820
} as const

‎apps/editor/src/views/prompt/backend/message-handlers/handle-autofill.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const handle_autofill = async (params: {
7373
!collected_files
7474
) {
7575
vscode.window.showInformationMessage(
76-
t('views.prompt.handlers.handle-autofill.context-cannot-be-empty')
76+
t('views.common.handlers.common.context-cannot-be-empty')
7777
)
7878
return
7979
}

0 commit comments

Comments
 (0)