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 * as os from '@/os';
|
|||
|
||||
export async function lookupUser() {
|
||||
const { canceled, result } = await os.inputText({
|
||||
title: i18n.locale.usernameOrUserId,
|
||||
title: i18n.ts.usernameOrUserId,
|
||||
});
|
||||
if (canceled) return;
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ export async function lookupUser() {
|
|||
if (_notFound) {
|
||||
os.alert({
|
||||
type: 'error',
|
||||
text: i18n.locale.noSuchUser
|
||||
text: i18n.ts.noSuchUser
|
||||
});
|
||||
} else {
|
||||
_notFound = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue