summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkGoogle.vue
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/components/MkGoogle.vue')
-rw-r--r--packages/frontend/src/components/MkGoogle.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkGoogle.vue b/packages/frontend/src/components/MkGoogle.vue
index 007728176e..227054d963 100644
--- a/packages/frontend/src/components/MkGoogle.vue
+++ b/packages/frontend/src/components/MkGoogle.vue
@@ -1,12 +1,13 @@
<template>
<div :class="$style.root">
<input v-model="query" :class="$style.input" type="search" :placeholder="q">
- <button :class="$style.button" @click="search"><i class="ti ti-search"></i> {{ $ts.searchByGoogle }}</button>
+ <button :class="$style.button" @click="search"><i class="ti ti-search"></i> {{ i18n.ts.searchByGoogle }}</button>
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
+import { i18n } from '@/i18n';
const props = defineProps<{
q: string;