From 6599516389073d26610742822aaac93cbcf2356c Mon Sep 17 00:00:00 2001 From: jiyuujin Date: Sun, 12 May 2024 21:25:45 +0900 Subject: [PATCH 1/2] prepare for "apply sponsor" --- apps/web/app/components/SponsorPageSection.vue | 14 +++++++------- apps/web/app/content/en/sponsor.md | 2 +- apps/web/app/content/ja/sponsor.md | 2 +- apps/web/app/lang/en.json | 8 ++++---- apps/web/app/lang/ja.json | 8 ++++---- packages/ui/.storybook/preview.js | 12 ++++++++---- packages/ui/components/date/Date.stories.ts | 2 +- packages/ui/components/date/DatePeriod.stories.ts | 2 +- 8 files changed, 27 insertions(+), 23 deletions(-) diff --git a/apps/web/app/components/SponsorPageSection.vue b/apps/web/app/components/SponsorPageSection.vue index 87120d02..cdb233c7 100644 --- a/apps/web/app/components/SponsorPageSection.vue +++ b/apps/web/app/components/SponsorPageSection.vue @@ -21,15 +21,15 @@ function getTranslationOrDefault(key: string): string { const periodStart = { prefixYear: t('prefix_year'), - date: t('start_date'), + date: t('sponsor.start_date'), dayOfWeek: getTranslationOrDefault('day_of_week.monday'), } -const periodEnd = { - suffixYear: t('suffix_year'), - date: t('end_date'), - dayOfWeek: getTranslationOrDefault('day_of_week.thursday'), -} +// const periodEnd = { +// suffixYear: t('suffix_year'), +// date: t('sponsor.end_date'), +// dayOfWeek: getTranslationOrDefault('day_of_week.thursday'), +// }