From b0438eec13b6cd4f843ecc6d20090b09ef088f8c Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Fri, 17 Apr 2026 18:45:58 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/en.ts | 4 ++-- src/views/AwardPage/components/TimeLine.vue | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/lang/en.ts b/src/lang/en.ts index f08d23e..dc81227 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -141,7 +141,7 @@ export default { submissionLabel: 'Deadline', timeSept30: 'Sept 30', finalistSubmissionDesc: - 'finalists submit completed\noutfits on site and send actual\ngarments to Code-Create.\n(address to advise)', + 'Finalists submit completed\noutfits on site and send actual\ngarments to Code-Create.\n(address to advise)', receivingOutfits: 'Receiving Outfits', fromFinalistsLabel: 'Deadline', timeOctober: 'Oct 23', @@ -149,7 +149,7 @@ export default { awardCeremony: 'Award', ceremonyLabel: 'Ceremony', timeNov12: 'Nov 12', - awardCeremonyDesc: 'Award Ceremony and\nCommunity Gathering in\nHong Kong-Soho House.', + awardCeremonyDesc: 'Award ceremony and\ncommunity gathering in\nHong Kong-Soho House.', submissionSuccessful: 'Submission Successful', submissionSuccessfulDesc: 'Please review your submitted information in the AiDA in-platform message.\nYou may edit it if needed. Competition updates and results will be sent via email.', diff --git a/src/views/AwardPage/components/TimeLine.vue b/src/views/AwardPage/components/TimeLine.vue index 156a02b..be287c1 100644 --- a/src/views/AwardPage/components/TimeLine.vue +++ b/src/views/AwardPage/components/TimeLine.vue @@ -26,7 +26,11 @@ --> -
{{ $t(item.desc) }}
+
+ {{ + locale === 'CHINESE_SIMPLIFIED' ? $t(item.desc).replace(/\n/g, '') : $t(item.desc) + }} +