Skip to content

Commit 48058db

Browse files
feat: add language field to events
- Added language field to event frontmatter - Updated issue template to include language field - Added language display in event detail and list views - Updated documentation in CONTRIBUTING.md
1 parent 44473bb commit 48058db

File tree

8 files changed

+11979
-3
lines changed

8 files changed

+11979
-3
lines changed

.github/ISSUE_TEMPLATE/add-to-calendar.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ body:
5757
validations:
5858
required: true
5959

60+
- id: language
61+
type: input
62+
attributes:
63+
label: Event Language
64+
description: "Primary language of the event (e.g., English, Spanish, Mandarin)"
65+
validations:
66+
required: true
67+
6068
- id: userName
6169
type: input
6270
attributes:

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ All fields included in the _frontmatter_ are mandatory:
5252
- `UTCStartTime`: start time in UTC, in `HH:MM` format.
5353
- `UTCStartTime`: end time in UTC, in `HH:MM` format.
5454
- `type`: one of the following `podcast`, `stream`, `talk`, `meetup`, `fundraising`, `conference`, `misc`.
55+
- `language`: primary language of the event (e.g., English, Spanish, Mandarin).
5556
- `userName`: user name or organization organizing the event.
5657
- `userLink`: link to user or organization profile.
5758
- `linkUrl`: Button link with external link to the event.

components/event-detail/EventDetail.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const EventDetail = ({ event, reverseColumns, isFullPage }) => {
3333
<div className="event-detail__column">
3434
<Chip label={event.formattedDate.date} />
3535
<EventTypeChip type={event.type} />
36+
{event.language && <Chip label={event.language} />}
3637
{event.location && <Chip label={event.location} />}
3738
</div>
3839
<DateTimeChip

components/events-list/EventsList.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const EventsList = ({ events }) => {
3030
<div className="events-list__event">
3131
<div className="events-list__chips">
3232
<EventTypeChip type={event.type} />
33+
{event.language && <Chip label={event.language} />}
3334
{event.location && <Chip label={event.location} />}
3435
</div>
3536
<DateTimeChip

content/events/2025-05-01-OpenSearch.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ date: '05/01'
66
UTCStartTime: '06:00'
77
UTCEndTime: '14:00'
88
type: 'conference'
9+
language: 'English'
910
userName: 'The Linux Foundation'
1011
userLink: 'https://events.linuxfoundation.org/opensearchcon-europe/'
1112
linkUrl: 'https://events.linuxfoundation.org/opensearchcon-europe/'

content/events/2025-05-23-nuxt-ai.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ date: '05/23'
66
UTCStartTime: '6:00'
77
UTCEndTime: '7:00'
88
type: 'stream'
9+
language: 'English'
910
userName: 'GitHub'
1011
userLink: 'https://www.twitch.tv/github/schedule'
1112
linkUrl: 'https://www.twitch.tv/github/schedule'

0 commit comments

Comments
 (0)