mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
refactor(frontend): update the not found message displayed when no repositories match the search query (#11187)
This commit is contained in:
parent
1e23017bb1
commit
d57462e8ca
@ -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"
|
||||
/>
|
||||
|
||||
@ -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",
|
||||
}
|
||||
|
||||
@ -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": "Не знайдено репозиторій для запуску розмови"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user