mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 03:15:12 +00:00
Add locales for search bar
This commit is contained in:
parent
1c0b1cab4f
commit
b5a69c3aea
4 changed files with 8 additions and 1 deletions
|
@ -321,6 +321,7 @@ lightThemes: "Light themes"
|
|||
darkThemes: "Dark themes"
|
||||
syncDeviceDarkMode: "Sync Dark Mode with your device settings"
|
||||
drive: "Drive"
|
||||
driveSearchbarPlaceholder: "Search drive"
|
||||
fileName: "Filename"
|
||||
selectFile: "Select a file"
|
||||
selectFiles: "Select files"
|
||||
|
|
4
locales/index.d.ts
vendored
4
locales/index.d.ts
vendored
|
@ -1300,6 +1300,10 @@ export interface Locale extends ILocale {
|
|||
* ドライブ
|
||||
*/
|
||||
"drive": string;
|
||||
/**
|
||||
* 検索ドライブ
|
||||
*/
|
||||
"driveSearchbarPlaceholder": string;
|
||||
/**
|
||||
* ファイル名
|
||||
*/
|
||||
|
|
|
@ -321,6 +321,7 @@ lightThemes: "明るいテーマ"
|
|||
darkThemes: "暗いテーマ"
|
||||
syncDeviceDarkMode: "デバイスのダークモードと同期する"
|
||||
drive: "ドライブ"
|
||||
driveSearchbarPlaceholder: "検索ドライブ"
|
||||
fileName: "ファイル名"
|
||||
selectFile: "ファイルを選択"
|
||||
selectFiles: "ファイルを選択"
|
||||
|
|
|
@ -31,7 +31,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<span v-if="folder != null" :class="[$style.navPathItem, $style.navCurrent]">{{ folder.name }}</span>
|
||||
</div>
|
||||
<div :class="$style.navMenu">
|
||||
<MkInput v-model="searchQuery" :large="true" :autofocus="true" type="search" placeholder="Search drive via alt text or file names" @enter="search">
|
||||
<!-- "Search drive via alt text or file names" -->
|
||||
<MkInput v-model="searchQuery" :large="true" :autofocus="true" type="search" :placeholder="i18n.ts.driveSearchbarPlaceholder" @enter="search">
|
||||
<template #prefix><i class="ph-magnifying-glass ph-bold ph-lg"></i></template>
|
||||
</MkInput>
|
||||
|
||||
|
|
Loading…
Reference in a new issue