This commit is contained in:
VolgaIgor 2025-10-10 23:12:50 +02:00 committed by GitHub
commit ce46e7ea12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ toolCard:
new: New new: New
search: search:
label: Search label: Search
placeholder: Type to search a tool or a command...
tools: tools:
categories: categories:
favorite-tools: 'Your favorite tools' favorite-tools: 'Your favorite tools'

View File

@ -125,7 +125,7 @@ function activateOption(option: PaletteOption) {
</c-button> </c-button>
<c-modal v-model:open="isModalOpen" class="palette-modal" shadow-xl important:max-w-650px important:pa-12px @keydown="handleKeydown"> <c-modal v-model:open="isModalOpen" class="palette-modal" shadow-xl important:max-w-650px important:pa-12px @keydown="handleKeydown">
<c-input-text ref="inputRef" v-model:value="searchPrompt" raw-text placeholder="Type to search a tool or a command..." autofocus clearable /> <c-input-text ref="inputRef" v-model:value="searchPrompt" raw-text :placeholder="$t('search.placeholder')" autofocus clearable />
<div v-for="(options, category) in filteredSearchResult" :key="category"> <div v-for="(options, category) in filteredSearchResult" :key="category">
<div ml-3 mt-3 text-sm font-bold text-primary op-60> <div ml-3 mt-3 text-sm font-bold text-primary op-60>