diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 013a85dff9..aa8e2bd160 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -995,6 +995,7 @@ _widgets: digitalClock: "デジタル時計" federation: "連合" postForm: "投稿フォーム" + slideshow: "スライドショー" _cw: hide: "隠す" diff --git a/src/client/widgets/index.ts b/src/client/widgets/index.ts index ee76bd97d2..c8bee90e4f 100644 --- a/src/client/widgets/index.ts +++ b/src/client/widgets/index.ts @@ -13,6 +13,7 @@ export default function(app: App) { app.component('MkwDigitalClock', defineAsyncComponent(() => import('./digital-clock.vue'))); app.component('MkwFederation', defineAsyncComponent(() => import('./federation.vue'))); app.component('MkwPostForm', defineAsyncComponent(() => import('./post-form.vue'))); + app.component('MkwSlideshow', defineAsyncComponent(() => import('./slideshow.vue'))); } export const widgets = [ @@ -28,4 +29,5 @@ export const widgets = [ 'digitalClock', 'federation', 'postForm', + 'slideshow', ]; diff --git a/src/client/widgets/slideshow.vue b/src/client/widgets/slideshow.vue new file mode 100644 index 0000000000..0c1a2dc863 --- /dev/null +++ b/src/client/widgets/slideshow.vue @@ -0,0 +1,168 @@ + + + + + {{ $t('folder-customize-mode') }} + {{ $t('folder') }} + + {{ $t('no-image') }} + + + + + + + + +
+ {{ $t('folder-customize-mode') }} + {{ $t('folder') }} +
{{ $t('no-image') }}