refactor(frontend): update the not found message displayed when no repositories match the search query (#11187)

This commit is contained in:
Hiep Le 2025-09-30 19:55:52 +07:00 committed by GitHub
parent 1e23017bb1
commit d57462e8ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 1 deletions

View File

@ -251,7 +251,7 @@ export function GitRepoDropdown({
const renderEmptyState = (emptyInputValue: string) => (
<EmptyState
inputValue={emptyInputValue}
searchMessage={t(I18nKey.MICROAGENT$NO_REPOSITORY_FOUND)}
searchMessage={t(I18nKey.HOME$NO_REPOSITORY_FOUND)}
emptyMessage={t(I18nKey.COMMON$NO_REPOSITORY)}
testId="git-repo-dropdown-empty"
/>

View File

@ -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",
}

View File

@ -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": "Не знайдено репозиторій для запуску розмови"
}
}