-
+
{{ app.description }}
-
{{ $ts._auth.permissionAsk }}
+
{{ i18n.ts._auth.permissionAsk }}
- {{ $t(`_permissions.${p}`) }}
@@ -23,6 +23,7 @@
import { defineComponent } from 'vue';
import MkButton from '@/components/MkButton.vue';
import * as os from '@/os';
+import { i18n } from '@/i18n';
const emit = defineEmits<{
(ev: 'denied'): void;
diff --git a/packages/client/src/pages/auth.vue b/packages/client/src/pages/auth.vue
index bb55881a22..70c2c9622b 100644
--- a/packages/client/src/pages/auth.vue
+++ b/packages/client/src/pages/auth.vue
@@ -12,15 +12,15 @@
@accepted="accepted"
/>
-
{{ $ts._auth.denied }}
+ {{ i18n.ts._auth.denied }}
-
{{ session.app.isAuthorized ? $t('already-authorized') : $ts.allowed }}
-
{{ $ts._auth.callback }}
-
{{ $ts._auth.pleaseGoBack }}
+
{{ session.app.isAuthorized ? $t('already-authorized') : i18n.ts.allowed }}
+
{{ i18n.ts._auth.callback }}
+
{{ i18n.ts._auth.pleaseGoBack }}
-
{{ $ts.somethingHappened }}
+
{{ i18n.ts.somethingHappened }}
@@ -34,6 +34,7 @@ import XForm from './auth.form.vue';
import MkSignin from '@/components/MkSignin.vue';
import * as os from '@/os';
import { login } from '@/account';
+import { i18n } from '@/i18n';
export default defineComponent({
components: {
diff --git a/packages/client/src/pages/explore.users.vue b/packages/client/src/pages/explore.users.vue
index b97825e2a9..0536b2f416 100644
--- a/packages/client/src/pages/explore.users.vue
+++ b/packages/client/src/pages/explore.users.vue
@@ -10,15 +10,15 @@
{{ i18n.ts.pinnedUsers }}
-
+
{{ i18n.ts.popularUsers }}
-
+
{{ i18n.ts.recentlyUpdatedUsers }}
-
+
{{ i18n.ts.recentlyRegisteredUsers }}
@@ -65,6 +65,7 @@ import MkTab from '@/components/MkTab.vue';
import number from '@/filters/number';
import * as os from '@/os';
import { i18n } from '@/i18n';
+import { $i } from '@/account';
import { instance } from '@/instance';
const props = defineProps<{
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.button.vue b/packages/client/src/pages/page-editor/els/page-editor.el.button.vue
index da6f1e549d..20e6a08758 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.button.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.button.vue
@@ -1,38 +1,38 @@
$emit('remove')">
- {{ $ts._pages.blocks.button }}
+ {{ i18n.ts._pages.blocks.button }}
- {{ $ts._pages.blocks._button.text }}
- {{ $ts._pages.blocks._button.colored }}
+ {{ i18n.ts._pages.blocks._button.text }}
+ {{ i18n.ts._pages.blocks._button.colored }}
- {{ $ts._pages.blocks._button.action }}
-
-
-
-
+ {{ i18n.ts._pages.blocks._button.action }}
+
+
+
+
- {{ $ts._pages.blocks._button._action._dialog.content }}
+ {{ i18n.ts._pages.blocks._button._action._dialog.content }}
- {{ $ts._pages.blocks._button._action._pushEvent.event }}
- {{ $ts._pages.blocks._button._action._pushEvent.message }}
+ {{ i18n.ts._pages.blocks._button._action._pushEvent.event }}
+ {{ i18n.ts._pages.blocks._button._action._pushEvent.message }}
- {{ $ts._pages.blocks._button._action._pushEvent.variable }}
+ {{ i18n.ts._pages.blocks._button._action._pushEvent.variable }}
-
- {{ $ts._pages.blocks._button._action._callAiScript.functionName }}
+ {{ i18n.ts._pages.blocks._button._action._callAiScript.functionName }}
@@ -45,6 +45,7 @@ import XContainer from '../page-editor.container.vue';
import MkSelect from '@/components/form/select.vue';
import MkInput from '@/components/form/input.vue';
import MkSwitch from '@/components/form/switch.vue';
+import { i18n } from '@/i18n';
withDefaults(defineProps<{
value: any,
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.canvas.vue b/packages/client/src/pages/page-editor/els/page-editor.el.canvas.vue
index ab89e05557..4dcb229a2a 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.canvas.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.canvas.vue
@@ -1,19 +1,19 @@
$emit('remove')">
- {{ $ts._pages.blocks.canvas }}
+ {{ i18n.ts._pages.blocks.canvas }}
- {{ $ts._pages.blocks._canvas.id }}
+ {{ i18n.ts._pages.blocks._canvas.id }}
- {{ $ts._pages.blocks._canvas.width }}
+ {{ i18n.ts._pages.blocks._canvas.width }}
px
- {{ $ts._pages.blocks._canvas.height }}
+ {{ i18n.ts._pages.blocks._canvas.height }}
px
@@ -25,6 +25,7 @@
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
import MkInput from '@/components/form/input.vue';
+import { i18n } from '@/i18n';
withDefaults(defineProps<{
value: any
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.counter.vue b/packages/client/src/pages/page-editor/els/page-editor.el.counter.vue
index 6cc661ad15..a58770a79b 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.counter.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.counter.vue
@@ -1,18 +1,18 @@
$emit('remove')">
- {{ $ts._pages.blocks.counter }}
+ {{ i18n.ts._pages.blocks.counter }}
- {{ $ts._pages.blocks._counter.name }}
+ {{ i18n.ts._pages.blocks._counter.name }}
- {{ $ts._pages.blocks._counter.text }}
+ {{ i18n.ts._pages.blocks._counter.text }}
- {{ $ts._pages.blocks._counter.inc }}
+ {{ i18n.ts._pages.blocks._counter.inc }}
@@ -23,6 +23,7 @@
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
import MkInput from '@/components/form/input.vue';
+import { i18n } from '@/i18n';
withDefaults(defineProps<{
value: any
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.if.vue b/packages/client/src/pages/page-editor/els/page-editor.el.if.vue
index 9b46fef72c..1149c7cc21 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.if.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.if.vue
@@ -1,7 +1,7 @@
$emit('remove')">
- {{ $ts._pages.blocks.if }}
+ {{ i18n.ts._pages.blocks.if }}