This commit is contained in:
steffenrapp 2024-09-21 09:40:54 +00:00
parent e3992d9187
commit 24c9131f80
3 changed files with 3 additions and 1 deletions

View file

@ -78,6 +78,7 @@ toolCard:
new: Neu new: Neu
search: search:
label: Suche label: Suche
placeholder: Tippe, um ein Tool oder einen Befehl zu suchen...
textareaCopyable: textareaCopyable:
copy: In die Zwischenablage kopieren copy: In die Zwischenablage kopieren
copied: Kopiert! copied: Kopiert!

View file

@ -72,6 +72,7 @@ toolCard:
new: New new: New
search: search:
label: Search label: Search
placeholder: Type to search a tool or a command...
textareaCopyable: textareaCopyable:
copy: Copy to clipboard copy: Copy to clipboard
copied: Copied! copied: Copied!

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>