Skip to content

Commit 0686dac

Browse files
authored
Merge pull request #138 from vuejs-jp/enhance/prepare-apply-for-sponsor
[5/13 AM Merge] prepare for "apply sponsor"
2 parents 02dde23 + d383f7b commit 0686dac

File tree

8 files changed

+27
-24
lines changed

8 files changed

+27
-24
lines changed

apps/web/app/components/SponsorPageSection.vue

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ function getTranslationOrDefault(key: string): string {
2121
2222
const periodStart = {
2323
prefixYear: t('prefix_year'),
24-
date: t('start_date'),
24+
date: t('sponsor.start_date'),
2525
dayOfWeek: getTranslationOrDefault('day_of_week.monday'),
2626
}
2727
28-
const periodEnd = {
29-
suffixYear: t('suffix_year'),
30-
date: t('end_date'),
31-
dayOfWeek: getTranslationOrDefault('day_of_week.thursday'),
32-
}
28+
// const periodEnd = {
29+
// suffixYear: t('suffix_year'),
30+
// date: t('sponsor.end_date'),
31+
// dayOfWeek: getTranslationOrDefault('day_of_week.thursday'),
32+
// }
3333
</script>
3434

3535
<template>
@@ -60,7 +60,7 @@ const periodEnd = {
6060
>
6161
{{ $t('sponsor.apply_period') }}
6262
</h3>
63-
<VFDatePeriod :start="periodStart" :end="periodEnd" />
63+
<VFDatePeriod :start="periodStart" />
6464
</template>
6565

6666
<div class="sponsor-buttons">
@@ -114,7 +114,6 @@ const periodEnd = {
114114
margin: 0 1.5%;
115115
background-color: white;
116116
max-width: 960px;
117-
text-align: center;
118117
}
119118
120119
.sponsor-text {

apps/web/app/content/en/sponsor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
In order to make Vue Fes Japan 2024 a better conference where people involved in Vue.js gather, we are looking for sponsors. Please refer to the materials for detailed information such as sponsorship plans.
22

3-
The first round of applications has now closed, and a second round of applications will begin soon, as there are still openings in some plans. Companies that have already been selected for the first round of applications can still apply for additional plans.
3+
A second round of applications is currently being accepted. Companies whose plans were confirmed in the first round of applications can still apply for additional plans.
44
Specific details will be announced on the official website and the official X account ([@vuefes](https://x.com/vuefes){:target=“\_blank”}).

apps/web/app/content/ja/sponsor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Vue.js に関わる人々が集まる Vue Fes Japan 2024 をより良いカンファレンスにするため、スポンサー募集をします。スポンサープランなどの詳しい内容は資料をご参照ください。
22

3-
現在、一次募集が終了し、一部のプランに空き枠があるため近日中に二次募集を開始予定です。一次募集でプランが確定された企業様におかれましても、追加お申し込みも可能となっています。
3+
現在、二次募集を実施しております。一次募集でプランが確定された企業様におかれましても、追加お申し込みも可能となっています。
44
具体的な募集内容については、公式サイトや X 公式アカウント([@vuefes](https://x.com/vuefes){:target="\_blank"})にてご案内します。

apps/web/app/lang/en.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
"not_found": "The page you are looking for cannot be found.",
77
"prefix_year": "",
88
"suffix_year": "2024",
9-
"start_date": "April 8",
10-
"end_date": "25,",
119
"top_page": {
1210
"latest_information": "Get the latest information on our official social media",
1311
"date": "Octover 19th, 2024",
@@ -17,8 +15,10 @@
1715
"title": "Sponsors",
1816
"apply": "Apply",
1917
"apply_period": "Sponsor Application Period",
20-
"check_doc": "View Sponsorship materials"
21-
},
18+
"check_doc": "View Sponsorship materials",
19+
"start_date": "May 13",
20+
"end_date": "25,"
21+
},
2222
"form": {
2323
"title": "Inquiry",
2424
"form_name_label": "Name",

apps/web/app/lang/ja.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
"not_found": "お探しのページが見つかりません。",
77
"prefix_year": "2024",
88
"suffix_year": "",
9-
"start_date": "4.8",
10-
"end_date": "4.25",
119
"day_of_week": {
1210
"monday": "",
1311
"tuesday": "",
@@ -22,8 +20,10 @@
2220
"title": "スポンサー",
2321
"apply": "申し込む",
2422
"apply_period": "スポンサー申込期間",
25-
"check_doc": "資料を見る"
26-
},
23+
"check_doc": "資料を見る",
24+
"start_date": "5.13",
25+
"end_date": "4.25"
26+
},
2727
"form": {
2828
"title": "お問い合わせ",
2929
"form_name_label": "お名前",

packages/ui/.storybook/preview.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,30 @@ const i18n = createI18n({
1111
ja: {
1212
prefix_year: '2024',
1313
suffix_year: '',
14-
start_date: '4.8',
15-
end_date: '4.25',
1614
day_of_week: {
1715
monday: '月',
1816
tuesday: '火',
1917
thursday: '木',
2018
},
19+
sponsor: {
20+
start_date: '4.8',
21+
end_date: '4.25',
22+
},
2123
},
2224
en: {
2325
prefix_year: '',
2426
suffix_year: '2024',
25-
start_date: 'April 8',
26-
end_date: '25,',
2727
// dummy
2828
day_of_week: {
2929
monday: '',
3030
tuesday: '',
3131
thursday: '',
3232
},
3333
// end dummy
34+
sponsor: {
35+
start_date: 'April 8',
36+
end_date: '25,',
37+
},
3438
},
3539
},
3640
})

packages/ui/components/date/Date.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ export const I18n: Story = {
6464
name: 'i18n',
6565
render: () => ({
6666
components: { Date },
67-
template: '<Date :prefix-year="$t(`prefix_year`)" :suffix-year="$t(`suffix_year`)" :date="$t(`start_date`)" :dayOfWeek="$t(`day_of_week.monday`)" />'
67+
template: '<Date :prefix-year="$t(`prefix_year`)" :suffix-year="$t(`suffix_year`)" :date="$t(`sponsor.start_date`)" :dayOfWeek="$t(`day_of_week.monday`)" />'
6868
})
6969
}

packages/ui/components/date/DatePeriod.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ export const I18n: Story = {
5858
name: 'i18n',
5959
render: () => ({
6060
components: { DatePeriod },
61-
template: '<DatePeriod :start="{prefixYear:$t(`prefix_year`),date:$t(`start_date`),dayOfWeek:$t(`day_of_week.monday`)}" :end="{suffixYear:$t(`suffix_year`),date:$t(`end_date`),dayOfWeek:$t(`day_of_week.tuesday`)}" />'
61+
template: '<DatePeriod :start="{prefixYear:$t(`prefix_year`),date:$t(`sponsor.start_date`),dayOfWeek:$t(`day_of_week.monday`)}" :end="{suffixYear:$t(`suffix_year`),date:$t(`sponsor.end_date`),dayOfWeek:$t(`day_of_week.tuesday`)}" />'
6262
})
6363
}

0 commit comments

Comments
 (0)