summaryrefslogtreecommitdiff
path: root/packages/client/src/account.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-01-28 11:39:49 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-01-28 11:39:49 +0900
commit57ec04d9ecc51060225bb15867215c7475685f92 (patch)
treef2874f44108201de10ffef4076edfa1c137ab809 /packages/client/src/account.ts
parentchore(client): improve chart rendering (diff)
downloadmisskey-57ec04d9ecc51060225bb15867215c7475685f92.tar.gz
misskey-57ec04d9ecc51060225bb15867215c7475685f92.tar.bz2
misskey-57ec04d9ecc51060225bb15867215c7475685f92.zip
refactor(client): i18n.locale -> i18n.ts
Diffstat (limited to 'packages/client/src/account.ts')
-rw-r--r--packages/client/src/account.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/client/src/account.ts b/packages/client/src/account.ts
index 5a935e1dc7..a04d0378c8 100644
--- a/packages/client/src/account.ts
+++ b/packages/client/src/account.ts
@@ -192,25 +192,25 @@ export async function openAccountMenu(opts: {
if (opts.withExtraOperation) {
popupMenu([...[{
type: 'link',
- text: i18n.locale.profile,
+ text: i18n.ts.profile,
to: `/@${ $i.username }`,
avatar: $i,
}, null, ...(opts.includeCurrentAccount ? [createItem($i)] : []), ...accountItemPromises, {
icon: 'fas fa-plus',
- text: i18n.locale.addAccount,
+ text: i18n.ts.addAccount,
action: () => {
popupMenu([{
- text: i18n.locale.existingAccount,
+ text: i18n.ts.existingAccount,
action: () => { showSigninDialog(); },
}, {
- text: i18n.locale.createAccount,
+ text: i18n.ts.createAccount,
action: () => { createAccount(); },
}], ev.currentTarget || ev.target);
},
}, {
type: 'link',
icon: 'fas fa-users',
- text: i18n.locale.manageAccounts,
+ text: i18n.ts.manageAccounts,
to: `/settings/accounts`,
}]], ev.currentTarget || ev.target, {
align: 'left'