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"
|
darkThemes: "Dark themes"
|
||||||
syncDeviceDarkMode: "Sync Dark Mode with your device settings"
|
syncDeviceDarkMode: "Sync Dark Mode with your device settings"
|
||||||
drive: "Drive"
|
drive: "Drive"
|
||||||
|
driveSearchbarPlaceholder: "Search drive"
|
||||||
fileName: "Filename"
|
fileName: "Filename"
|
||||||
selectFile: "Select a file"
|
selectFile: "Select a file"
|
||||||
selectFiles: "Select files"
|
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;
|
"drive": string;
|
||||||
|
/**
|
||||||
|
* 検索ドライブ
|
||||||
|
*/
|
||||||
|
"driveSearchbarPlaceholder": string;
|
||||||
/**
|
/**
|
||||||
* ファイル名
|
* ファイル名
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -321,6 +321,7 @@ lightThemes: "明るいテーマ"
|
||||||
darkThemes: "暗いテーマ"
|
darkThemes: "暗いテーマ"
|
||||||
syncDeviceDarkMode: "デバイスのダークモードと同期する"
|
syncDeviceDarkMode: "デバイスのダークモードと同期する"
|
||||||
drive: "ドライブ"
|
drive: "ドライブ"
|
||||||
|
driveSearchbarPlaceholder: "検索ドライブ"
|
||||||
fileName: "ファイル名"
|
fileName: "ファイル名"
|
||||||
selectFile: "ファイルを選択"
|
selectFile: "ファイルを選択"
|
||||||
selectFiles: "ファイルを選択"
|
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>
|
<span v-if="folder != null" :class="[$style.navPathItem, $style.navCurrent]">{{ folder.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div :class="$style.navMenu">
|
<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>
|
<template #prefix><i class="ph-magnifying-glass ph-bold ph-lg"></i></template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue