From 5a8cc7851b4af9ae4a0d7efc5b66b224bbe9b4c8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 26 Dec 2020 10:47:36 +0900 Subject: wip --- src/client/pages/instance/instance.vue | 74 +++++++++++++++++----------------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'src/client/pages/instance/instance.vue') diff --git a/src/client/pages/instance/instance.vue b/src/client/pages/instance/instance.vue index 6e626cb178..bcf18cfff0 100644 --- a/src/client/pages/instance/instance.vue +++ b/src/client/pages/instance/instance.vue @@ -10,11 +10,11 @@
-
{{ $t('software') }}
+
{{ $ts.software }}
{{ instance.softwareName || '?' }}
-
{{ $t('version') }}
+
{{ $ts.version }}
{{ instance.softwareVersion || '?' }}
@@ -22,77 +22,77 @@
-
{{ $t('registeredAt') }}
+
{{ $ts.registeredAt }}
{{ new Date(instance.caughtAt).toLocaleString() }} ()
-
{{ $t('following') }}
+
{{ $ts.following }}
-
{{ $t('followers') }}
+
{{ $ts.followers }}
-
{{ $t('users') }}
+
{{ $ts.users }}
-
{{ $t('notes') }}
+
{{ $ts.notes }}
{{ number(instance.notesCount) }}
-
{{ $t('files') }}
+
{{ $ts.files }}
{{ number(instance.driveFiles) }}
-
{{ $t('storageUsage') }}
+
{{ $ts.storageUsage }}
{{ bytes(instance.driveUsage) }}
-
{{ $t('latestRequestSentAt') }}
+
{{ $ts.latestRequestSentAt }}
N/A
-
{{ $t('latestStatus') }}
+
{{ $ts.latestStatus }}
{{ instance.latestStatus ? instance.latestStatus : 'N/A' }}
-
{{ $t('latestRequestReceivedAt') }}
+
{{ $ts.latestRequestReceivedAt }}
N/A
- {{ $t('charts') }} + {{ $ts.charts }}
- - - - - - - - - - - + + + + + + + + + + + - - + +
@@ -101,21 +101,21 @@
- {{ $t('operations') }} - {{ $t('stopActivityDelivery') }} - {{ $t('blockThisInstance') }} + {{ $ts.operations }} + {{ $ts.stopActivityDelivery }} + {{ $ts.blockThisInstance }}
- {{ $t('deleteAllFiles') }} - {{ $t('deleteAllFiles') }} + {{ $ts.deleteAllFiles }} + {{ $ts.deleteAllFiles }}
- {{ $t('removeAllFollowing') }} - {{ $t('removeAllFollowing') }} + {{ $ts.removeAllFollowing }} + {{ $ts.removeAllFollowing }} {{ $t('removeAllFollowingDescription', { host: instance.host }) }}
- {{ $t('metadata') }} + {{ $ts.metadata }}
{{ JSON.stringify(instance, null, 2) }}
@@ -442,7 +442,7 @@ export default defineComponent({ showFollowing() { os.modal(MkUsersDialog, { - title: this.$t('instanceFollowing'), + title: this.$ts.instanceFollowing, pagination: { endpoint: 'federation/following', limit: 10, @@ -456,7 +456,7 @@ export default defineComponent({ showFollowers() { os.modal(MkUsersDialog, { - title: this.$t('instanceFollowers'), + title: this.$ts.instanceFollowers, pagination: { endpoint: 'federation/followers', limit: 10, @@ -470,7 +470,7 @@ export default defineComponent({ showUsers() { os.modal(MkUsersDialog, { - title: this.$t('instanceUsers'), + title: this.$ts.instanceUsers, pagination: { endpoint: 'federation/users', limit: 10, -- cgit v1.2.3-freya