Skip to content

Commit

Permalink
fix: emphasis the host time
Browse files Browse the repository at this point in the history
  • Loading branch information
Ritabear committed Aug 13, 2024
1 parent 1f7d564 commit 272ae1f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
8 changes: 4 additions & 4 deletions i18n/events/open-spaces.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export default genI18nMessages({
},
time: {
title: 'Time',
emphasis: 'Main Session: Day 2, 14:40–15:40',
description:
'Main Session: Day 2, 14:40–15:40{br}' +
'Feel free to visit the service desk at any time to obtain a whiteboard, ' +
'write down a topic, and initiate a discussion. ' +
'Enjoy ‌lively and engaging conversations in the open space!',
Expand Down Expand Up @@ -105,9 +105,9 @@ export default genI18nMessages({
},
time: {
title: '活動時間',
emphasis: '主要時段:第二天 14:40–15:40',
description:
'主要時段:第二天 14:40–15:40 {br}' +
'其餘時段也歡迎大家隨時到服務台拿取白板,填寫主題後便可以開啟討論。請盡情享受開放空間中自由熱情的交流和討論!',
'{br}其餘時段也歡迎大家隨時到服務台拿取白板,填寫主題後便可以開啟討論。請盡情享受開放空間中自由熱情的交流和討論!',
},
subjects: {
title: '活動主題',
Expand All @@ -126,7 +126,7 @@ export default genI18nMessages({
'其他時段也可以隨時發起 Open Space,只要在服務台拿取小白板書寫題目,找個 Open Space 桌子就可以自己開始話題。',
},
ideas: {
title: '開放空間{br}好主意',
title: '開放空間好主意',
description:
'以下有幾個可以作為開放空間的點子,提供您參考:{br}{examples}',
examples: [
Expand Down
18 changes: 14 additions & 4 deletions pages/events/open-spaces.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@
require(`~/static/img/events/overview/open-space-location.png`)
"
/>
<div v-if="openSpace.isEmphasis">
<strong>
<i18n
:path="`openSpaceInfo.${openSpace.tag}.emphasis`"
>
<template #br><br /></template>
</i18n>
</strong>
</div>
<i18n
:key="`openspace_descriptions_${openSpace.tag}`"
:path="`openSpaceInfo.${openSpace.tag}.description`"
Expand Down Expand Up @@ -57,7 +66,7 @@
</i18n>
<div v-if="openSpace.hasExamples">
<i18n
v-for="(description, index) in $t(
v-for="(_, index) in $t(
`openSpaceInfo.${openSpace.tag}.examples`,
)"
:key="`openSpaceInfo.${openSpace.tag}.examples.${index}`"
Expand All @@ -79,12 +88,12 @@
</template>

<script>
import i18n from '@/i18n/events/open-spaces.i18n'
import I18nPageWrapper from '@/components/core/i18n/PageWrapper'
import CoreH1 from '@/components/core/titles/H1'
import TwoColWrapper from '@/components/core/layout/TwoColWrapper'
import LocaleLink from '@/components/core/links/LocaleLink.vue'
import ExtLink from '@/components/core/links/ExtLink.vue'
import LocaleLink from '@/components/core/links/LocaleLink.vue'
import CoreH1 from '@/components/core/titles/H1'
import i18n from '@/i18n/events/open-spaces.i18n'
export default {
i18n,
Expand All @@ -109,6 +118,7 @@ export default {
{
tag: 'time',
isDescriptionList: true,
isEmphasis: true,
},
{
tag: 'subjects',
Expand Down

0 comments on commit 272ae1f

Please sign in to comment.