summaryrefslogtreecommitdiff
path: root/src/client/scripts/search.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-12-26 10:51:00 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-12-26 10:51:00 +0900
commit00f3a1e1ec776168adfdf87fbfcc59e2034eb2b1 (patch)
tree360b7b4607d7a6429d77f89d7b9c2c83374f51fa /src/client/scripts/search.ts
parentwip (diff)
downloadsharkey-00f3a1e1ec776168adfdf87fbfcc59e2034eb2b1.tar.gz
sharkey-00f3a1e1ec776168adfdf87fbfcc59e2034eb2b1.tar.bz2
sharkey-00f3a1e1ec776168adfdf87fbfcc59e2034eb2b1.zip
wip
Diffstat (limited to 'src/client/scripts/search.ts')
-rw-r--r--src/client/scripts/search.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/scripts/search.ts b/src/client/scripts/search.ts
index 540aba2a92..9607003715 100644
--- a/src/client/scripts/search.ts
+++ b/src/client/scripts/search.ts
@@ -6,7 +6,7 @@ import { router } from '@/router';
export async function search(q?: string | null | undefined) {
if (q == null) {
const { canceled, result: query } = await os.dialog({
- title: i18n.global.t('search'),
+ title: i18n.locale.search,
input: true
});
@@ -52,7 +52,7 @@ export async function search(q?: string | null | undefined) {
uri: q
});
- os.promiseDialog(promise, null, null, i18n.global.t('fetchingAsApObject'));
+ os.promiseDialog(promise, null, null, i18n.locale.fetchingAsApObject);
const res = await promise;