Skip to content

Commit fd4bc1c

Browse files
committed
Simplify quick pick title by replacing dynamic file count with static "Search Results" text
- command.context.check-references.found-files -> 'search-results' - "Search Results" in english
1 parent f3f3d4d commit fd4bc1c

2 files changed

Lines changed: 18 additions & 20 deletions

File tree

‎apps/editor/src/commands/check-referencing-files-for-context-command.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ export const check_referencing_files_for_context_command = (
9292
quick_pick.placeholder = t(
9393
'command.context.check-references.select-files'
9494
)
95-
quick_pick.title = t('command.context.check-references.found-files', {
96-
count: matched_files.length
97-
})
95+
quick_pick.title = t('command.context.check-references.search-results')
9896
quick_pick.ignoreFocusOut = true
9997

10098
const close_button = {

‎apps/editor/src/i18n/translations/commands/check-referencing-files-for-context.ts‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,23 @@ export const check_referencing_files_for_context = {
5353
hu: 'Válassza ki a kontextushoz ellenőrizendő fájlokat',
5454
bg: 'Изберете файлове за проверка в контекста'
5555
},
56-
'command.context.check-references.found-files': {
57-
en: 'Found {count} file(s)',
58-
pl: 'Znaleziono {count} plik(ów)',
59-
'zh-cn': '找到 {count} 个文件',
60-
ja: '{count} 個のファイルが見つかりました',
61-
'zh-tw': '找到 {count} 個檔案',
62-
de: '{count} Datei(en) gefunden',
63-
es: 'Se encontraron {count} archivo(s)',
64-
fr: '{count} fichier(s) trouvé(s)',
65-
'pt-br': '{count} arquivo(s) encontrado(s)',
66-
ru: 'Найдено {count} файл(ов)',
67-
ko: '{count}개의 파일을 찾았습니다',
68-
it: 'Trovato/i {count} file',
69-
tr: '{count} dosya bulundu',
70-
cs: 'Nalezeno {count} soubor(ů)',
71-
hu: '{count} fájl található',
72-
bg: 'Намерени са {count} файл(а)'
56+
'command.context.check-references.search-results': {
57+
en: 'Search Results',
58+
pl: 'Wyniki wyszukiwania',
59+
'zh-cn': '搜索结果',
60+
ja: '検索結果',
61+
'zh-tw': '搜尋結果',
62+
de: 'Suchergebnisse',
63+
es: 'Resultados de búsqueda',
64+
fr: 'Résultats de la recherche',
65+
'pt-br': 'Resultados da pesquisa',
66+
ru: 'Результаты поиска',
67+
ko: '검색 결과',
68+
it: 'Risultati della ricerca',
69+
tr: 'Arama Sonuçları',
70+
cs: 'Výsledky hledání',
71+
hu: 'Keresési eredmények',
72+
bg: 'Резултати от търсенето'
7373
},
7474
'command.context.check-references.context-updated': {
7575
en: 'Context updated.',

0 commit comments

Comments
 (0)