Skip to content

Commit

Permalink
chore: i18n support
Browse files Browse the repository at this point in the history
  • Loading branch information
yu1k committed Oct 25, 2023
1 parent 230f811 commit c6f9c23
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2023/src/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export const en = {
roomA: "Track A",
roomB: "Track B",
roomC: "Track C",
"SpokenLang": "SpokenLangage: ",
"Location": "Location: ",
tickets: "Tickets",
buyTickets: "Registration",
comingSoon: "Coming soon",
Expand Down
2 changes: 2 additions & 0 deletions 2023/src/i18n/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const ja: {
roomA: "トラックA",
roomB: "トラックB",
roomC: "トラックC",
"SpokenLang": "発表言語: ",
"Location": "登壇場所: ",
venue: "会場アクセス",
"venue.name": "九段坂上KSビル",
"venue.address": "〒102-0073 東京都千代田区九段北1-14-6",
Expand Down
4 changes: 2 additions & 2 deletions 2023/src/pages/schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,14 @@ export default function SchedulePage() {
<ul>
{s.spokenLanguage != null ? (
<li id="spokenLangage">
{"SpokenLang: " + s.spokenLanguage || ""}
{ t("SpokenLang") + s.spokenLanguage || ""}
</li>
) : (
""
)}
{s.speakers.map(speaker => (speaker.location != "") ? (
<li id="speakerLocation">
{"Location: " + speaker.location}
{t("Location") + speaker.location}
</li>
) : (
""
Expand Down

0 comments on commit c6f9c23

Please sign in to comment.