Skip to content

Commit 5f04160

Browse files
committed
fix(speech): refine video section
1 parent 841aa78 commit 5f04160

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

i18n/conference/speeches.i18n.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ export default genI18nMessages({
6464
bio: 'Bio',
6565
note: 'Note',
6666
intro: 'Intro',
67+
talk: 'Talk',
6768
abstract: 'Abstract',
6869
description: 'Description',
70+
video: 'Video',
6971
},
7072
},
7173
'zh-hant': {
@@ -126,8 +128,10 @@ export default genI18nMessages({
126128
bio: '講者',
127129
note: '共筆',
128130
intro: '介紹',
131+
talk: '演講',
129132
abstract: '摘要',
130133
description: '說明',
134+
video: '影片',
131135
},
132136
},
133137
})

pages/conference/_eventType/_id.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,13 @@
8383
>Slides
8484
</ext-link>
8585
</div>
86-
<youtube
87-
v-if="!!data.youtube_id"
88-
:video-id="data.youtube_id"
89-
class="mt-4"
90-
>
91-
</youtube>
86+
87+
<div v-if="!!data.youtube_id" class="mt-4">
88+
<p class="speech__tabParagraphTitle">
89+
{{ $t('terms.video') }}
90+
</p>
91+
<youtube :video-id="data.youtube_id"></youtube>
92+
</div>
9293
</tab>
9394
<tab :title="$t('terms.bio')">
9495
<div

pages/conference/keynotes.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</div>
6565
</div>
6666
</tab>
67-
<tab :title="$t('terms.intro')">
67+
<tab :title="$t('terms.talk')">
6868
<div class="pb-4 whitespace-pre-line">
6969
{{ keynote.session[$makeKey(locale, 'description')] }}
7070
<div

0 commit comments

Comments
 (0)