diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index a073d789a..ec767aafa 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -732,6 +732,7 @@ _widgets: activity: "アクティビティ" photos: "フォト" digitalClock: "デジタル時計" + federation: "連合" _cw: hide: "隠す" diff --git a/src/client/widgets/federation.vue b/src/client/widgets/federation.vue new file mode 100644 index 000000000..b99ef1b0a --- /dev/null +++ b/src/client/widgets/federation.vue @@ -0,0 +1,111 @@ + + + {{ $t('_widgets.federation') }} + + + + + + + #{{ instance.host }} + {{ instance.softwareName }} {{ instance.softwareVersion }} + + + + + + + + + + + diff --git a/src/client/widgets/index.ts b/src/client/widgets/index.ts index 2d27d27e5..743146193 100644 --- a/src/client/widgets/index.ts +++ b/src/client/widgets/index.ts @@ -11,6 +11,7 @@ Vue.component('mkw-clock', () => import('./clock.vue').then(m => m.default)); Vue.component('mkw-activity', () => import('./activity.vue').then(m => m.default)); Vue.component('mkw-photos', () => import('./photos.vue').then(m => m.default)); Vue.component('mkw-digitalClock', () => import('./digital-clock.vue').then(m => m.default)); +Vue.component('mkw-federation', () => import('./federation.vue').then(m => m.default)); export const widgets = [ 'memo', @@ -23,4 +24,5 @@ export const widgets = [ 'activity', 'photos', 'digitalClock', + 'federation', ];
{{ instance.softwareName }} {{ instance.softwareVersion }}