From d57462e8ca5a48cacab9c54aa8b82d93f2437c6a Mon Sep 17 00:00:00 2001 From: Hiep Le <69354317+hieptl@users.noreply.github.com> Date: Tue, 30 Sep 2025 19:55:52 +0700 Subject: [PATCH] refactor(frontend): update the not found message displayed when no repositories match the search query (#11187) --- .../home/git-repo-dropdown/git-repo-dropdown.tsx | 2 +- frontend/src/i18n/declaration.ts | 1 + frontend/src/i18n/translation.json | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/features/home/git-repo-dropdown/git-repo-dropdown.tsx b/frontend/src/components/features/home/git-repo-dropdown/git-repo-dropdown.tsx index 00f6c465fc..af480ce7ab 100644 --- a/frontend/src/components/features/home/git-repo-dropdown/git-repo-dropdown.tsx +++ b/frontend/src/components/features/home/git-repo-dropdown/git-repo-dropdown.tsx @@ -251,7 +251,7 @@ export function GitRepoDropdown({ const renderEmptyState = (emptyInputValue: string) => ( diff --git a/frontend/src/i18n/declaration.ts b/frontend/src/i18n/declaration.ts index 604157079f..345216b5a7 100644 --- a/frontend/src/i18n/declaration.ts +++ b/frontend/src/i18n/declaration.ts @@ -916,4 +916,5 @@ export enum I18nKey { COMMON$START_RUNTIME = "COMMON$START_RUNTIME", COMMON$JUPYTER_EMPTY_MESSAGE = "COMMON$JUPYTER_EMPTY_MESSAGE", COMMON$CONFIRMATION_MODE_ENABLED = "COMMON$CONFIRMATION_MODE_ENABLED", + HOME$NO_REPOSITORY_FOUND = "HOME$NO_REPOSITORY_FOUND", } diff --git a/frontend/src/i18n/translation.json b/frontend/src/i18n/translation.json index d11dbf4ae4..76e5538117 100644 --- a/frontend/src/i18n/translation.json +++ b/frontend/src/i18n/translation.json @@ -14654,5 +14654,21 @@ "tr": "Onay modu etkinleştirildi", "de": "Bestätigungsmodus aktiviert", "uk": "Режим підтвердження увімкнено" + }, + "HOME$NO_REPOSITORY_FOUND": { + "en": "No repository found to launch conversation", + "ja": "会話を開始するためのリポジトリが見つかりません", + "zh-CN": "未找到用于启动会话的存储库", + "zh-TW": "未找到用於啟動對話的存儲庫", + "ko-KR": "대화를 시작할 저장소를 찾을 수 없습니다", + "no": "Ingen repository funnet for å starte samtale", + "it": "Nessun repository trovato per avviare la conversazione", + "pt": "Nenhum repositório encontrado para iniciar a conversa", + "es": "No se encontró ningún repositorio para iniciar la conversación", + "ar": "لم يتم العثور على مستودع لبدء المحادثة", + "fr": "Aucun dépôt trouvé pour lancer la conversation", + "tr": "Konuşma başlatmak için depo bulunamadı", + "de": "Kein Repository gefunden, um das Gespräch zu starten", + "uk": "Не знайдено репозиторій для запуску розмови" } }