From 57ec04d9ecc51060225bb15867215c7475685f92 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 28 Jan 2022 11:39:49 +0900 Subject: refactor(client): i18n.locale -> i18n.ts --- packages/client/src/init.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/client/src/init.ts') diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index af70aec70a..81e41febd1 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -185,7 +185,7 @@ app.config.globalProperties = { $store: defaultStore, $instance: instance, $t: i18n.t, - $ts: i18n.locale, + $ts: i18n.ts, }; app.use(router); @@ -299,8 +299,8 @@ stream.on('_disconnected_', async () => { reloadDialogShowing = true; const { canceled } = await confirm({ type: 'warning', - title: i18n.locale.disconnectedFromServer, - text: i18n.locale.reloadConfirm, + title: i18n.ts.disconnectedFromServer, + text: i18n.ts.reloadConfirm, }); reloadDialogShowing = false; if (!canceled) { @@ -324,7 +324,7 @@ if ($i) { if ($i.isDeleted) { alert({ type: 'warning', - text: i18n.locale.accountDeletionInProgress, + text: i18n.ts.accountDeletionInProgress, }); } -- cgit v1.2.3-freya