summaryrefslogtreecommitdiff
path: root/packages/client/src/init.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/client/src/init.ts')
-rw-r--r--packages/client/src/init.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts
index bdd07b63a7..9b670b4300 100644
--- a/packages/client/src/init.ts
+++ b/packages/client/src/init.ts
@@ -188,7 +188,7 @@ app.config.globalProperties = {
$store: defaultStore,
$instance: instance,
$t: i18n.t,
- $ts: i18n.locale,
+ $ts: i18n.ts,
};
app.use(router);
@@ -305,8 +305,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) {
@@ -330,7 +330,7 @@ if ($i) {
if ($i.isDeleted) {
alert({
type: 'warning',
- text: i18n.locale.accountDeletionInProgress,
+ text: i18n.ts.accountDeletionInProgress,
});
}