Skip to content

Commit

Permalink
search
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenrapp committed Sep 21, 2024
1 parent e3992d9 commit 24c9131
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ toolCard:
new: Neu
search:
label: Suche
placeholder: Tippe, um ein Tool oder einen Befehl zu suchen...
textareaCopyable:
copy: In die Zwischenablage kopieren
copied: Kopiert!
Expand Down
1 change: 1 addition & 0 deletions locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ toolCard:
new: New
search:
label: Search
placeholder: Type to search a tool or a command...
textareaCopyable:
copy: Copy to clipboard
copied: Copied!
Expand Down
2 changes: 1 addition & 1 deletion src/modules/command-palette/command-palette.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function activateOption(option: PaletteOption) {
</c-button>

<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 ml-3 mt-3 text-sm font-bold text-primary op-60>
Expand Down

0 comments on commit 24c9131

Please sign in to comment.