refactor(client): i18n.locale -> i18n.ts
This commit is contained in:
parent
6ebab5f577
commit
57ec04d9ec
74 changed files with 424 additions and 424 deletions
|
|
@ -4,7 +4,7 @@ import { router } from '@/router';
|
|||
|
||||
export async function search() {
|
||||
const { canceled, result: query } = await os.inputText({
|
||||
title: i18n.locale.search,
|
||||
title: i18n.ts.search,
|
||||
});
|
||||
if (canceled || query == null || query === '') return;
|
||||
|
||||
|
|
@ -46,7 +46,7 @@ export async function search() {
|
|||
uri: q
|
||||
});
|
||||
|
||||
os.promiseDialog(promise, null, null, i18n.locale.fetchingAsApObject);
|
||||
os.promiseDialog(promise, null, null, i18n.ts.fetchingAsApObject);
|
||||
|
||||
const res = await promise;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue