Skip to content

Commit 3c0fb2d

Browse files
committed
Change search notification messages and translation keys from warnings to information messages
1 parent 0258bb6 commit 3c0fb2d

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎apps/editor/src/commands/search-files-commands/search-files-commands.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ export const search_files_commands = (
117117
}
118118
) => {
119119
if (search_in_progress) {
120-
vscode.window.showWarningMessage(
121-
t('feature.search-files.warning.search-in-progress' as any)
120+
vscode.window.showInformationMessage(
121+
t('feature.search-files.info.search-in-progress')
122122
)
123123
return
124124
}
@@ -265,8 +265,8 @@ export const search_files_commands = (
265265

266266
const search_selected_files_handler = async (item?: any) => {
267267
if (search_in_progress) {
268-
vscode.window.showWarningMessage(
269-
t('feature.search-files.warning.search-in-progress' as any)
268+
vscode.window.showInformationMessage(
269+
t('feature.search-files.info.search-in-progress')
270270
)
271271
return
272272
}
@@ -276,7 +276,7 @@ export const search_files_commands = (
276276
const currently_checked = workspace_provider.get_checked_files()
277277
if (currently_checked.length === 0) {
278278
vscode.window.showInformationMessage(
279-
t('feature.search-files.info.no-files-selected' as any)
279+
t('feature.search-files.info.no-files-selected')
280280
)
281281
return
282282
}
@@ -293,7 +293,7 @@ export const search_files_commands = (
293293

294294
if (files_to_search.length == 0) {
295295
vscode.window.showInformationMessage(
296-
t('feature.search-files.info.no-files-selected-in-folder' as any)
296+
t('feature.search-files.info.no-files-selected-in-folder')
297297
)
298298
return
299299
}

‎apps/editor/src/i18n/translations/features/search-files.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ export const translations = {
12771277
hu: 'várakozás az ügynökre...',
12781278
bg: 'изчакване на агент...'
12791279
},
1280-
'feature.search-files.warning.search-in-progress': {
1280+
'feature.search-files.info.search-in-progress': {
12811281
en: 'Search is already in progress.',
12821282
pl: 'Wyszukiwanie jest już w toku.',
12831283
'zh-cn': '搜索已在进行中。',
@@ -1313,7 +1313,7 @@ export const translations = {
13131313
hu: 'Nincsenek keresendő fájlok kiválasztva.',
13141314
bg: 'Няма избрани файлове за търсене.'
13151315
},
1316-
'feature.search-files.warning.no-files-selected-in-folder': {
1316+
'feature.search-files.info.no-files-selected-in-folder': {
13171317
en: 'No selected files found in this folder.',
13181318
pl: 'Nie znaleziono wybranych plików w tym folderze.',
13191319
'zh-cn': '在此文件夹中未找到选定的文件。',

0 commit comments

Comments
 (0)