From 8bcfa97349b73b3c9759cad7b1678a02bc36e2f9 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 4 Sep 2018 21:06:02 +0900 Subject: [PATCH] wip --- locales/ja-JP.yml | 4 ++++ src/client/app/common/views/components/media-list.vue | 2 +- src/client/app/desktop/views/components/index.ts | 2 ++ src/client/app/desktop/views/components/media-audio.vue | 3 +-- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index a57f724a32..f04495ed95 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -583,6 +583,10 @@ desktop/views/components/media-video.vue: sensitive: "閲覧注意" click-to-show: "クリックして表示" +desktop/views/components/media-audio.vue: + sensitive: "閲覧注意" + click-to-show: "クリックして表示" + desktop/views/components/follow-button.vue: following: "フォロー中" follow: "フォロー" diff --git a/src/client/app/common/views/components/media-list.vue b/src/client/app/common/views/components/media-list.vue index c531f9ac91..4408ba2792 100644 --- a/src/client/app/common/views/components/media-list.vue +++ b/src/client/app/common/views/components/media-list.vue @@ -3,7 +3,7 @@
diff --git a/src/client/app/desktop/views/components/index.ts b/src/client/app/desktop/views/components/index.ts index 7b7a38afa2..159ead4983 100644 --- a/src/client/app/desktop/views/components/index.ts +++ b/src/client/app/desktop/views/components/index.ts @@ -13,6 +13,7 @@ import ellipsisIcon from './ellipsis-icon.vue'; import mediaImage from './media-image.vue'; import mediaImageDialog from './media-image-dialog.vue'; import mediaVideo from './media-video.vue'; +import mediaAudio from './media-audio.vue'; import notifications from './notifications.vue'; import noteForm from './post-form.vue'; import renoteForm from './renote-form.vue'; @@ -43,6 +44,7 @@ Vue.component('mk-ellipsis-icon', ellipsisIcon); Vue.component('mk-media-image', mediaImage); Vue.component('mk-media-image-dialog', mediaImageDialog); Vue.component('mk-media-video', mediaVideo); +Vue.component('mk-media-audio', mediaAudio); Vue.component('mk-notifications', notifications); Vue.component('mk-post-form', noteForm); Vue.component('mk-renote-form', renoteForm); diff --git a/src/client/app/desktop/views/components/media-audio.vue b/src/client/app/desktop/views/components/media-audio.vue index 4a0c26fb9e..5d41947b17 100644 --- a/src/client/app/desktop/views/components/media-audio.vue +++ b/src/client/app/desktop/views/components/media-audio.vue @@ -10,8 +10,7 @@ :src="audio.url" :title="audio.name" controls - ref="audio" - v-if="inlinePlayable" /> + ref="audio" />