i18n(components): translate dropdown placeholders and modal labels
- Update Dropdown.svelte with search placeholder translation - Update DeviceDropdown.svelte with searchDevices placeholder - Update GenreFilterPopup.svelte with searchGenres placeholder - Update PlaylistModal.svelte with name and description labels - Add playlist.name and playlist.descriptionOptional keys cc
This commit is contained in:
1 parent
5b35851f41
commit
ef99d5f0ce
6 files changed
+16
-9
No files matched your search
@@ -1,5 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { ChevronDown, Search } from 'lucide-svelte';
|
||||
import { t } from '$lib/i18n';
|
||||
import {
|
||||
openMenu as openGlobalMenu,
|
||||
closeMenu as closeGlobalMenu,
|
||||
@@ -317,7 +318,7 @@
|
||||
bind:this={searchInputRef}
|
||||
type="text"
|
||||
class="search-input"
|
||||
placeholder="Search devices..."
|
||||
placeholder={$t('placeholders.searchDevices')}
|
||||
bind:value={searchQuery}
|
||||
onkeydown={handleKeyDown}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user