chore (client): searchByGoogle -> search

This commit is contained in:
naskya 2024-04-08 17:17:08 +09:00
parent 30619301d3
commit fcfbee4c1d
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
37 changed files with 7 additions and 41 deletions

View file

@ -822,7 +822,6 @@ auto: "تلقائي"
themeColor: "لون السمة" themeColor: "لون السمة"
size: "الحجم" size: "الحجم"
numberOfColumn: "عدد الأعمدة" numberOfColumn: "عدد الأعمدة"
searchByGoogle: "غوغل"
mutePeriod: "مدة الكتم" mutePeriod: "مدة الكتم"
indefinitely: "أبدًا" indefinitely: "أبدًا"
tenMinutes: "10 دقائق" tenMinutes: "10 دقائق"

View file

@ -34,7 +34,6 @@ searchWith: 'Търсене: {q}'
smtpUser: Потребителско име smtpUser: Потребителско име
notificationType: Тип известие notificationType: Тип известие
searchResult: Резултати от търсенето searchResult: Резултати от търсенето
searchByGoogle: Търсене
markAsReadAllNotifications: Маркиране на всички известия като прочетени markAsReadAllNotifications: Маркиране на всички известия като прочетени
settingGuide: Препоръчителни настройки settingGuide: Препоръчителни настройки
smtpPass: Парола smtpPass: Парола

View file

@ -894,7 +894,6 @@ auto: "স্বয়ংক্রিয়"
themeColor: "থিমের রং" themeColor: "থিমের রং"
size: "আকার" size: "আকার"
numberOfColumn: "কলামের সংখ্যা" numberOfColumn: "কলামের সংখ্যা"
searchByGoogle: "গুগল"
instanceDefaultLightTheme: "ইন্সট্যান্সের ডিফল্ট লাইট থিম" instanceDefaultLightTheme: "ইন্সট্যান্সের ডিফল্ট লাইট থিম"
instanceDefaultDarkTheme: "ইন্সট্যান্সের ডিফল্ট ডার্ক থিম" instanceDefaultDarkTheme: "ইন্সট্যান্সের ডিফল্ট ডার্ক থিম"
instanceDefaultThemeDescription: "অবজেক্ট ফরম্যাটে থিম কোড লিখুন" instanceDefaultThemeDescription: "অবজেক্ট ফরম্যাটে থিম কোড লিখুন"

View file

@ -135,7 +135,6 @@ userList: "Llistes"
smtpUser: "Nom d'usuari" smtpUser: "Nom d'usuari"
smtpPass: "Contrasenya" smtpPass: "Contrasenya"
user: "Usuari" user: "Usuari"
searchByGoogle: "Cerca"
file: "Fitxer" file: "Fitxer"
_email: _email:
_follow: _follow:

View file

@ -600,7 +600,6 @@ tablet: "Tablet"
auto: "Auto" auto: "Auto"
size: "Velikost" size: "Velikost"
numberOfColumn: "Počet sloupců" numberOfColumn: "Počet sloupců"
searchByGoogle: "Vyhledávání"
indefinitely: "Navždy" indefinitely: "Navždy"
tenMinutes: "10 minut" tenMinutes: "10 minut"
oneHour: "1 hodina" oneHour: "1 hodina"

View file

@ -923,7 +923,6 @@ auto: "Automatisch"
themeColor: "Farbe der Ticker-Laufschrift" themeColor: "Farbe der Ticker-Laufschrift"
size: "Größe" size: "Größe"
numberOfColumn: "Spaltenanzahl" numberOfColumn: "Spaltenanzahl"
searchByGoogle: "Suchen"
instanceDefaultLightTheme: "Standard-Farbkombination auf diesem Server: \"Hell\"" instanceDefaultLightTheme: "Standard-Farbkombination auf diesem Server: \"Hell\""
instanceDefaultDarkTheme: "Standard-Farbkombination auf diesem Server: \"Dunkel\"" instanceDefaultDarkTheme: "Standard-Farbkombination auf diesem Server: \"Dunkel\""
instanceDefaultThemeDescription: "Gib den Farbschemencode im Objektformat ein." instanceDefaultThemeDescription: "Gib den Farbschemencode im Objektformat ein."

View file

@ -295,7 +295,6 @@ searchResult: "Αποτελέσματα αναζήτησης"
learnMore: "Μάθετε περισσότερα" learnMore: "Μάθετε περισσότερα"
controlPanel: "Πίνακας ελέγχου" controlPanel: "Πίνακας ελέγχου"
manageAccounts: "Διαχείριση Λογαριασμών" manageAccounts: "Διαχείριση Λογαριασμών"
searchByGoogle: "Αναζήτηση"
file: "Αρχεία" file: "Αρχεία"
recommended: "Προτεινόμενα" recommended: "Προτεινόμενα"
cannotUploadBecauseNoFreeSpace: "Το ανέβασμα απέτυχε λόγω ανεπαρκούς Αποθηκευτικού cannotUploadBecauseNoFreeSpace: "Το ανέβασμα απέτυχε λόγω ανεπαρκούς Αποθηκευτικού

View file

@ -978,7 +978,6 @@ auto: "Auto"
themeColor: "Server Ticker Color" themeColor: "Server Ticker Color"
size: "Size" size: "Size"
numberOfColumn: "Number of columns" numberOfColumn: "Number of columns"
searchByGoogle: "Search"
instanceDefaultLightTheme: "Server-wide default light theme" instanceDefaultLightTheme: "Server-wide default light theme"
instanceDefaultDarkTheme: "Server-wide default dark theme" instanceDefaultDarkTheme: "Server-wide default dark theme"
instanceDefaultThemeDescription: "Enter the theme code in object format." instanceDefaultThemeDescription: "Enter the theme code in object format."

View file

@ -907,7 +907,6 @@ auto: "Automático"
themeColor: "Color de la marquesina del servidor" themeColor: "Color de la marquesina del servidor"
size: "Tamaño" size: "Tamaño"
numberOfColumn: "Cantidad de columnas" numberOfColumn: "Cantidad de columnas"
searchByGoogle: "Buscar"
instanceDefaultLightTheme: "Tema claro por defecto del servidor" instanceDefaultLightTheme: "Tema claro por defecto del servidor"
instanceDefaultDarkTheme: "Tema oscuro por defecto del servidor" instanceDefaultDarkTheme: "Tema oscuro por defecto del servidor"
instanceDefaultThemeDescription: "Ingrese el código del tema en formato objeto" instanceDefaultThemeDescription: "Ingrese el código del tema en formato objeto"

View file

@ -948,7 +948,6 @@ clickToFinishEmailVerification: Klikkaa [{ok}] viimeistelläksesi sähköpostiva
overridedDeviceKind: Laitetyyppi overridedDeviceKind: Laitetyyppi
tablet: Tabletti tablet: Tabletti
numberOfColumn: Sarakkeiden määrä numberOfColumn: Sarakkeiden määrä
searchByGoogle: Etsi
mutePeriod: Vaiennuksen kesto mutePeriod: Vaiennuksen kesto
indefinitely: Pysyvästi indefinitely: Pysyvästi
tenMinutes: 10 minuuttia tenMinutes: 10 minuuttia

View file

@ -910,7 +910,6 @@ auto: "Automatique"
themeColor: "Couleur du bandeau d'information du serveur" themeColor: "Couleur du bandeau d'information du serveur"
size: "Taille" size: "Taille"
numberOfColumn: "Nombre de colonnes" numberOfColumn: "Nombre de colonnes"
searchByGoogle: "Google"
instanceDefaultLightTheme: "Thème clair par défaut sur tout le serveur" instanceDefaultLightTheme: "Thème clair par défaut sur tout le serveur"
instanceDefaultDarkTheme: "Thème sombre par défaut sur tout le serveur" instanceDefaultDarkTheme: "Thème sombre par défaut sur tout le serveur"
instanceDefaultThemeDescription: "Saisissez le code du thème en format objet." instanceDefaultThemeDescription: "Saisissez le code du thème en format objet."

View file

@ -901,7 +901,6 @@ auto: "Otomatis"
themeColor: "Warna Jam Server" themeColor: "Warna Jam Server"
size: "Ukuran" size: "Ukuran"
numberOfColumn: "Jumlah per kolom" numberOfColumn: "Jumlah per kolom"
searchByGoogle: "Penelusuran"
instanceDefaultLightTheme: "Tema terang bawaan ranah server" instanceDefaultLightTheme: "Tema terang bawaan ranah server"
instanceDefaultDarkTheme: "Tema gelap bawaan ranah server" instanceDefaultDarkTheme: "Tema gelap bawaan ranah server"
instanceDefaultThemeDescription: "Masukkan kode tema di format obyek." instanceDefaultThemeDescription: "Masukkan kode tema di format obyek."

View file

@ -859,7 +859,6 @@ useDrawerReactionPickerForMobile: "Mostra sul drawer da dispositivo mobile"
welcomeBackWithName: "Ciao {name}" welcomeBackWithName: "Ciao {name}"
clickToFinishEmailVerification: "Fai click su [{ok}] per completare la verifica dell'indirizzo clickToFinishEmailVerification: "Fai click su [{ok}] per completare la verifica dell'indirizzo
email." email."
searchByGoogle: "Cerca"
indefinitely: "Senza scadenza" indefinitely: "Senza scadenza"
tenMinutes: "10 minuti" tenMinutes: "10 minuti"
oneHour: "1 ora" oneHour: "1 ora"

View file

@ -886,7 +886,6 @@ socialTimeline: "ソーシャルタイムライン"
themeColor: "テーマカラー" themeColor: "テーマカラー"
size: "サイズ" size: "サイズ"
numberOfColumn: "列の数" numberOfColumn: "列の数"
searchByGoogle: "検索"
instanceDefaultLightTheme: "サーバーの標準ライトテーマ" instanceDefaultLightTheme: "サーバーの標準ライトテーマ"
instanceDefaultDarkTheme: "サーバーの標準ダークテーマ" instanceDefaultDarkTheme: "サーバーの標準ダークテーマ"
instanceDefaultThemeDescription: "オブジェクト形式のテーマコードを記入します。" instanceDefaultThemeDescription: "オブジェクト形式のテーマコードを記入します。"

View file

@ -803,7 +803,6 @@ unresolved: "まだ解決してないで"
breakFollow: "フォロワーを解除するで" breakFollow: "フォロワーを解除するで"
itsOn: "オンになっとるよ" itsOn: "オンになっとるよ"
hide: "隠す" hide: "隠す"
searchByGoogle: "探す"
indefinitely: "無期限" indefinitely: "無期限"
file: "ファイル" file: "ファイル"
requireAdminForView: "これを見るには管理者アカウントでログインしとらなあかんで。" requireAdminForView: "これを見るには管理者アカウントでログインしとらなあかんで。"

View file

@ -54,7 +54,6 @@ accountInfo: "Talɣut n umiḍan"
emailNotification: "Ilɣa imayl" emailNotification: "Ilɣa imayl"
selectAccount: "Fren amiḍan" selectAccount: "Fren amiḍan"
accounts: "Imiḍan" accounts: "Imiḍan"
searchByGoogle: "Nadi"
file: "Ifuyla" file: "Ifuyla"
account: "Imiḍan" account: "Imiḍan"
_email: _email:

View file

@ -59,7 +59,6 @@ remove: "ಅಳಿಸು"
smtpUser: "ಬಳಕೆಹೆಸರು" smtpUser: "ಬಳಕೆಹೆಸರು"
smtpPass: "ಗುಪ್ತಪದ" smtpPass: "ಗುಪ್ತಪದ"
user: "ಬಳಕೆದಾರ" user: "ಬಳಕೆದಾರ"
searchByGoogle: "ಹುಡುಕು"
file: "ಕಡತಗಳು" file: "ಕಡತಗಳು"
_email: _email:
_follow: _follow:

View file

@ -851,7 +851,6 @@ auto: "자동"
themeColor: "테마 컬러" themeColor: "테마 컬러"
size: "크기" size: "크기"
numberOfColumn: "한 줄에 보일 리액션의 수" numberOfColumn: "한 줄에 보일 리액션의 수"
searchByGoogle: "검색"
instanceDefaultLightTheme: "서버 기본 라이트 테마" instanceDefaultLightTheme: "서버 기본 라이트 테마"
instanceDefaultDarkTheme: "서버 기본 다크 테마" instanceDefaultDarkTheme: "서버 기본 다크 테마"
instanceDefaultThemeDescription: "객체 형식의 테마 코드를 입력해 주세요." instanceDefaultThemeDescription: "객체 형식의 테마 코드를 입력해 주세요."

View file

@ -326,7 +326,6 @@ user: "Gebruikers"
muteThread: "Discussies dempen " muteThread: "Discussies dempen "
unmuteThread: "Dempen van discussie ongedaan maken" unmuteThread: "Dempen van discussie ongedaan maken"
hide: "Verbergen" hide: "Verbergen"
searchByGoogle: "Zoeken"
cropImage: "Afbeelding bijsnijden" cropImage: "Afbeelding bijsnijden"
cropImageAsk: "Bijsnijdengevraagd" cropImageAsk: "Bijsnijdengevraagd"
file: "Bestanden" file: "Bestanden"

View file

@ -902,7 +902,6 @@ swipeOnDesktop: Tillat mobil-lignende sveiping på skrivebords-PC
migration: Migrering migration: Migrering
useDrawerReactionPickerForMobile: Vis reaksjosnvelger som en skuff på mobil useDrawerReactionPickerForMobile: Vis reaksjosnvelger som en skuff på mobil
numberOfColumn: Antall kolonner numberOfColumn: Antall kolonner
searchByGoogle: Søk
oneWeek: En uke oneWeek: En uke
file: Fil file: Fil
recentNHours: Siste {n} timer recentNHours: Siste {n} timer

View file

@ -867,7 +867,6 @@ tablet: "Tablet"
auto: "Automatycznie" auto: "Automatycznie"
size: "Rozmiar" size: "Rozmiar"
numberOfColumn: "Liczba kolumn" numberOfColumn: "Liczba kolumn"
searchByGoogle: "Szukaj"
indefinitely: "Dożywotnio" indefinitely: "Dożywotnio"
file: "Pliki" file: "Pliki"
logoutConfirm: "Czy na pewno chcesz się wylogować?" logoutConfirm: "Czy na pewno chcesz się wylogować?"

View file

@ -497,7 +497,6 @@ smtpPass: "Senha"
clearCache: "Limpar memória transitória" clearCache: "Limpar memória transitória"
info: "Informações" info: "Informações"
user: "Usuários" user: "Usuários"
searchByGoogle: "Buscar"
file: "Ficheiros" file: "Ficheiros"
_email: _email:
_follow: _follow:

View file

@ -692,7 +692,6 @@ user: "Utilizatori"
administration: "Gestionare" administration: "Gestionare"
middle: "Mediu" middle: "Mediu"
sent: "Trimite" sent: "Trimite"
searchByGoogle: "Caută"
file: "Fișiere" file: "Fișiere"
_email: _email:
_follow: _follow:

View file

@ -894,7 +894,6 @@ auto: "Автоматически"
themeColor: "Цвет темы сервера" themeColor: "Цвет темы сервера"
size: "Размер" size: "Размер"
numberOfColumn: "Количество столбцов" numberOfColumn: "Количество столбцов"
searchByGoogle: "Поиск"
instanceDefaultLightTheme: "Светлая тема по умолчанию для всего сервера" instanceDefaultLightTheme: "Светлая тема по умолчанию для всего сервера"
instanceDefaultDarkTheme: "Темная тема по умолчанию для всего сервера" instanceDefaultDarkTheme: "Темная тема по умолчанию для всего сервера"
indefinitely: "вечно" indefinitely: "вечно"

View file

@ -886,7 +886,6 @@ auto: "Automaticky"
themeColor: "Farba témy" themeColor: "Farba témy"
size: "Veľkosť" size: "Veľkosť"
numberOfColumn: "Počet stĺpcov" numberOfColumn: "Počet stĺpcov"
searchByGoogle: "Hľadať cez Google"
instanceDefaultLightTheme: "Predvolená svetlá téma" instanceDefaultLightTheme: "Predvolená svetlá téma"
instanceDefaultDarkTheme: "Predvolená tmavá téma" instanceDefaultDarkTheme: "Predvolená tmavá téma"
instanceDefaultThemeDescription: "Vložte kód témy v objektovom formáte" instanceDefaultThemeDescription: "Vložte kód témy v objektovom formáte"

View file

@ -268,7 +268,6 @@ smtpUser: "Användarnamn"
smtpPass: "Lösenord" smtpPass: "Lösenord"
clearCache: "Rensa cache" clearCache: "Rensa cache"
user: "Användare" user: "Användare"
searchByGoogle: "Sök"
file: "Filer" file: "Filer"
_email: _email:
_follow: _follow:

View file

@ -873,7 +873,6 @@ auto: "อัตโนมัติ"
themeColor: "สีข้อความเลื่อนของเซิร์ฟเวอร์" themeColor: "สีข้อความเลื่อนของเซิร์ฟเวอร์"
size: "ขนาด" size: "ขนาด"
numberOfColumn: "จำนวนคอลัมน์" numberOfColumn: "จำนวนคอลัมน์"
searchByGoogle: "ค้นหา"
instanceDefaultLightTheme: "ธีมสว่างค่าเริ่มต้นของเซิร์ฟเวอร์" instanceDefaultLightTheme: "ธีมสว่างค่าเริ่มต้นของเซิร์ฟเวอร์"
instanceDefaultDarkTheme: "ธีมมืดค่าเริ่มต้นของเซิร์ฟเวอร์" instanceDefaultDarkTheme: "ธีมมืดค่าเริ่มต้นของเซิร์ฟเวอร์"
instanceDefaultThemeDescription: "ป้อนรหัสธีมในรูปแบบออบเจ็กต์" instanceDefaultThemeDescription: "ป้อนรหัสธีมในรูปแบบออบเจ็กต์"

View file

@ -48,7 +48,6 @@ remove: "Sil"
smtpUser: "Kullanıcı Adı" smtpUser: "Kullanıcı Adı"
smtpPass: "Şifre" smtpPass: "Şifre"
user: "Kullanıcı" user: "Kullanıcı"
searchByGoogle: "Arama"
_mfm: _mfm:
search: "Arama" search: "Arama"
play: MFM'i çal play: MFM'i çal

View file

@ -1,6 +1,5 @@
--- ---
_lang_: "ياپونچە" _lang_: "ياپونچە"
search: "ئىزدەش" search: "ئىزدەش"
searchByGoogle: "ئىزدەش"
_mfm: _mfm:
search: "ئىزدەش" search: "ئىزدەش"

View file

@ -788,7 +788,6 @@ global: "Глобальна"
sent: "Відправлене" sent: "Відправлене"
hashtags: "Хештеґ" hashtags: "Хештеґ"
hide: "Сховати" hide: "Сховати"
searchByGoogle: "Пошук"
indefinitely: "Ніколи" indefinitely: "Ніколи"
file: "Файли" file: "Файли"
reverse: "Переворот" reverse: "Переворот"

View file

@ -892,7 +892,6 @@ auto: "Tự động"
themeColor: "Màu theme" themeColor: "Màu theme"
size: "Kích thước" size: "Kích thước"
numberOfColumn: "Số lượng cột" numberOfColumn: "Số lượng cột"
searchByGoogle: "Google"
instanceDefaultLightTheme: "Theme máy chủ Sáng-Rộng" instanceDefaultLightTheme: "Theme máy chủ Sáng-Rộng"
instanceDefaultDarkTheme: "Theme máy chủ Tối-Rộng" instanceDefaultDarkTheme: "Theme máy chủ Tối-Rộng"
instanceDefaultThemeDescription: "Nhập mã theme trong định dạng đối tượng." instanceDefaultThemeDescription: "Nhập mã theme trong định dạng đối tượng."

View file

@ -851,7 +851,6 @@ auto: "自动"
themeColor: "服务器滚动条颜色" themeColor: "服务器滚动条颜色"
size: "大小" size: "大小"
numberOfColumn: "列数" numberOfColumn: "列数"
searchByGoogle: "搜索"
instanceDefaultLightTheme: "服务器默认浅色主题" instanceDefaultLightTheme: "服务器默认浅色主题"
instanceDefaultDarkTheme: "服务器默认深色主题" instanceDefaultDarkTheme: "服务器默认深色主题"
instanceDefaultThemeDescription: "以对象格式键入主题代码。" instanceDefaultThemeDescription: "以对象格式键入主题代码。"

View file

@ -847,7 +847,6 @@ auto: "自動"
themeColor: "主題顏色" themeColor: "主題顏色"
size: "大小" size: "大小"
numberOfColumn: "列數" numberOfColumn: "列數"
searchByGoogle: "搜尋"
instanceDefaultLightTheme: "伺服器預設的淺色主題" instanceDefaultLightTheme: "伺服器預設的淺色主題"
instanceDefaultDarkTheme: "伺服器預設的深色主題" instanceDefaultDarkTheme: "伺服器預設的深色主題"
instanceDefaultThemeDescription: "輸入物件形式的主題代碼。" instanceDefaultThemeDescription: "輸入物件形式的主題代碼。"

View file

@ -1,9 +1,9 @@
<template> <template>
<div class="mk-google" @click.stop> <div class="mk-search" @click.stop>
<input v-model="query" type="search" :placeholder="q" /> <input v-model="query" type="search" :placeholder="q" />
<button @click="search"> <button @click="search">
<i :class="icon('ph-magnifying-glass')"></i> <i :class="icon('ph-magnifying-glass')"></i>
{{ i18n.ts.searchByGoogle }} {{ i18n.ts.search }}
</button> </button>
</div> </div>
</template> </template>
@ -31,7 +31,7 @@ const search = () => {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.mk-google { .mk-search {
display: flex; display: flex;
margin: 8px 0; margin: 8px 0;

View file

@ -8,12 +8,11 @@ import MkEmoji from "@/components/global/MkEmoji.vue";
import { concat } from "@/scripts/array"; import { concat } from "@/scripts/array";
import MkFormula from "@/components/MkFormula.vue"; import MkFormula from "@/components/MkFormula.vue";
import MkCode from "@/components/MkCode.vue"; import MkCode from "@/components/MkCode.vue";
import MkGoogle from "@/components/MkGoogle.vue"; import MkSearchBar from "@/components/MkSearchBar.vue";
import MkSparkle from "@/components/MkSparkle.vue"; import MkSparkle from "@/components/MkSparkle.vue";
import MkA from "@/components/global/MkA.vue"; import MkA from "@/components/global/MkA.vue";
import { host } from "@/config"; import { host } from "@/config";
import { reducedMotion } from "@/scripts/reduced-motion"; import { reducedMotion } from "@/scripts/reduced-motion";
import { defaultStore } from "@/store";
import type { entities } from "firefish-js"; import type { entities } from "firefish-js";
export default defineComponent({ export default defineComponent({
@ -543,7 +542,7 @@ export default defineComponent({
} }
return [ return [
h(MkGoogle, { h(MkSearchBar, {
key: Math.random(), key: Math.random(),
q: token.props.query, q: token.props.query,
}), }),

View file

@ -1,7 +1,7 @@
import { i18n } from "@/i18n"; import { i18n } from "@/i18n";
import { api, popup, promiseDialog } from "@/os"; import { api, popup, promiseDialog } from "@/os";
import { mainRouter } from "@/router"; import { mainRouter } from "@/router";
import MkSearchBox from "@/components/MkSearchBox.vue"; import MkPostSearch from "@/components/MkPostSearch.vue";
export async function search() { export async function search() {
const { canceled, result } = await new Promise< const { canceled, result } = await new Promise<
@ -26,7 +26,7 @@ export async function search() {
} }
>((resolve, _) => { >((resolve, _) => {
popup( popup(
MkSearchBox, MkPostSearch,
{}, {},
{ {
done: (result) => { done: (result) => {