Skip to content

Commit a7619d3

Browse files
committed
update locale
1 parent ece43b4 commit a7619d3

File tree

7 files changed

+67
-15
lines changed

7 files changed

+67
-15
lines changed

app/assets/locale/all.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,19 @@ export default {
5656
* message section
5757
*/
5858
message_subtitle: '想い',
59+
/**
60+
* timetable section
61+
*/
62+
timetable_subtitle: 'タイムテーブル',
63+
timetable_caution:
64+
'※ 各セッションの開始・終了時間は多少前後する可能性がありますので、あらかじめご了承ください。',
5965
/**
6066
* event section
6167
*/
68+
event_subtitle: 'イベント',
69+
lets_listen_to_experts: 'エキスパートに聞こう!',
70+
why_do_you_select_vuejs: 'なぜVueを選んだのか?',
71+
do_again_this_year: '今年もやります',
6272
payment_method: '購入方法',
6373
payment_method_explain: '購入方法は以下の2種類があります。',
6474
refreshment: 'リフレッシュメントスペース',
@@ -100,9 +110,15 @@ export default {
100110
events_panel_discussion: 'パネルディスカッション',
101111
panelist: 'パネラー',
102112
various_other_events: 'その他の各種イベント',
113+
/**
114+
* ticket section
115+
*/
116+
ticket_subtitle: 'チケット',
117+
purchase_early: 'お早めにご購入を!',
103118
/**
104119
* namecard section
105120
*/
121+
receive_your_avatar_and_name: 'アバター+名前入りがもらえる!',
106122
namecard: 'ネームカード',
107123
namecard_infolink: '最新情報は、{0} をご確認ください。',
108124
tickets_schedule_limit: '応募期限: {0} まで',
@@ -258,9 +274,19 @@ export default {
258274
* message section
259275
*/
260276
message_subtitle: 'Thought',
277+
/**
278+
* timetable section
279+
*/
280+
timetable_subtitle: 'Time Table',
281+
timetable_caution:
282+
'※ Please note that the start and end times of each session may be slightly different.',
261283
/**
262284
* event section
263285
*/
286+
event_subtitle: 'Event',
287+
lets_listen_to_experts: "Let's listen to experts!",
288+
why_do_you_select_vuejs: 'Why do you select Vue.js?',
289+
do_again_this_year: "We'll do it again this year.",
264290
payment_method: 'Payment Method',
265291
payment_method_explain: 'There are two ways to purchase:',
266292
refreshment: 'Refreshment Space',
@@ -303,9 +329,15 @@ export default {
303329
events_panel_discussion: 'Panel Discussion',
304330
panelist: 'Panelist',
305331
various_other_events: 'Various Other Events',
332+
/**
333+
* ticket section
334+
*/
335+
ticket_subtitle: 'Ticket',
336+
purchase_early: 'Purchase Early!',
306337
/**
307338
* namecard section
308339
*/
340+
receive_your_avatar_and_name: "You'll receive your avatar and name.",
309341
namecard: 'Name Card',
310342
namecard_infolink: 'Confirm {0} in latest information.',
311343
tickets_schedule_limit: 'Tickets Deadline: Until {0}',

app/components/TimetablePageSection.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ onMounted(() => {
2020
id="timetable"
2121
color="vue.blue"
2222
:title="'Time table'"
23-
yamato-title="タイムテーブル"
23+
:yamato-title="$t('top.timetable_subtitle')"
2424
/>
2525
<!-- @vue-expect-error TODO: 何か @nuxtjs/module-device の型がうまく推論されていないので一端回避 -->
2626
<div v-if="$device.isMobile" class="timetable-wrapper">
@@ -30,7 +30,7 @@ onMounted(() => {
3030
<TimetableView />
3131
</div>
3232
<p class="timetable-info">
33-
※各セッションの開始・終了時間は多少前後する可能性がありますので、あらかじめご了承ください。
33+
{{ $t('top.timetable_caution') }}
3434
</p>
3535
</div>
3636
</section>

app/components/event/EventSection.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@ import { panelers } from '~/utils/events-panel-discussion.constants'
88

99
<template>
1010
<div class="event">
11-
<SectionTitle id="events" color="vue.blue" :title="'Events'" yamato-title="イベント" />
11+
<SectionTitle
12+
id="events"
13+
color="vue.blue"
14+
:title="'Events'"
15+
:yamato-title="$t('top.event_subtitle')"
16+
/>
1217
<div class="explain">
1318
<MarkDownText path="event" />
1419
</div>
1520

1621
<div class="event-title">
17-
<CommentTitle color="vue.green" title="エキスパートに聞こう!" />
22+
<CommentTitle color="vue.green" :title="$t('top.lets_listen_to_experts')" />
1823
<h3 id="events-clinic">{{ $t('top.events_vuejs_clinic') }}</h3>
1924
<div class="explain"><MarkDownText path="event-vuejs-clinic" /></div>
2025
</div>
@@ -26,7 +31,7 @@ import { panelers } from '~/utils/events-panel-discussion.constants'
2631
</div>
2732

2833
<div class="event-title">
29-
<CommentTitle color="vue.green" title="なぜVueを選んだのか?" />
34+
<CommentTitle color="vue.green" :title="$t('top.why_do_you_select_vuejs')" />
3035
<h3 id="events-panel">
3136
{{ $t('top.events_panel_discussion') }}
3237
</h3>

app/components/event/StoreSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { closedPreOrder } from '~/utils/status.constants'
1111
<section>
1212
<div class="store-root">
1313
<div class="store-title">
14-
<CommentTitle color="vue.green" title="今年もやります" />
14+
<CommentTitle color="vue.green" :title="$t('top.do_again_this_year')" />
1515
<h3 id="store">Vue Fes Store</h3>
1616
<div class="explain"><MarkDownText path="store" /></div>
1717
</div>

app/components/footer/PrivacyPolicyAndCoc.vue

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,26 @@ interface PrivacyPolicyAndCocEmit {
66
}
77
const emit = defineEmits<PrivacyPolicyAndCocEmit>()
88
const urlBasePath = useRuntimeConfig().app.baseURL
9+
10+
const { locale } = useI18n({ useScope: 'global' })
911
</script>
1012

1113
<template>
1214
<div class="doc-root">
13-
<TextButton :href="`${urlBasePath}privacy`" underline @click.stop="$emit('on-click')">{{
14-
$t('words.privacypolicy')
15-
}}</TextButton>
16-
<TextButton :href="`${urlBasePath}code-of-conduct`" underline @click.stop="$emit('on-click')">{{
17-
$t('words.codeofconduct')
18-
}}</TextButton>
15+
<TextButton
16+
:to="`${urlBasePath}${locale === 'ja' ? '' : `${locale}/`}privacy`"
17+
underline
18+
@click.stop="$emit('on-click')"
19+
>
20+
{{ $t('words.privacypolicy') }}
21+
</TextButton>
22+
<TextButton
23+
:to="`${urlBasePath}${locale === 'ja' ? '' : `${locale}/`}code-of-conduct`"
24+
underline
25+
@click.stop="$emit('on-click')"
26+
>
27+
{{ $t('words.codeofconduct') }}
28+
</TextButton>
1929
</div>
2030
</template>
2131

app/components/namecard/NamecardSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const mdPath = canRegister ? (closedRegister ? 'close-namecard' : 'namecard') :
1818

1919
<template>
2020
<div class="namecard">
21-
<CommentTitle color="vue.green" title="アバター+名前入りがもらえる!" />
21+
<CommentTitle color="vue.green" :title="$t('top.receive_your_avatar_and_name')" />
2222
<h3>{{ $t('top.namecard') }}</h3>
2323
<div class="explain">
2424
<MarkDownText :path="mdPath" />

app/components/namecard/TicketSection.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ import { closedEarlyPrice, closedPrice } from '~/utils/status.constants'
1010

1111
<template>
1212
<div class="ticket">
13-
<SectionTitle id="ticket" color="vue.blue" :title="'Ticket'" yamato-title="チケット" />
13+
<SectionTitle
14+
id="ticket"
15+
color="vue.blue"
16+
:title="'Ticket'"
17+
:yamato-title="$t('top.ticket_subtitle')"
18+
/>
1419
<div class="explain">
1520
<MarkDownText path="ticket" />
1621
</div>
@@ -27,7 +32,7 @@ import { closedEarlyPrice, closedPrice } from '~/utils/status.constants'
2732
</RoundButton>
2833
</div>
2934
</div>
30-
<CommentTitle color="vue.green" title="お早めにご購入を!" />
35+
<CommentTitle color="vue.green" :title="$t('top.purchase_early')" />
3136
<h3>{{ $t('top.ticket_type') }}</h3>
3237
<div class="process-wrapper">
3338
<TicketCard>

0 commit comments

Comments
 (0)