Skip to content

Commit 67d0dea

Browse files
committed
feat: Add translator field to meeting summaries markdown
1 parent 9a933c0 commit 67d0dea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/generateMarkdown.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@ export function generateMarkdown(summary, order) {
3636
}
3737
// Process meetingInfo
3838
if (summary.meetingInfo) {
39-
const { date, name, host, documenter, peoplePresent, purpose, googleSlides, townHallNumber, otherMediaLink, meetingVideoLink, mediaLink, miroBoardLink, transcriptLink, workingDocs, timestampedVideo } = summary.meetingInfo;
39+
const { date, name, host, documenter, translator, peoplePresent, purpose, googleSlides, townHallNumber, otherMediaLink, meetingVideoLink, mediaLink, miroBoardLink, transcriptLink, workingDocs, timestampedVideo } = summary.meetingInfo;
4040

4141
// Add meeting information to markdown
4242
if ( name && !summary.canceledSummary && !summary.noSummaryGiven ) markdown += `- Type of meeting: ${name}\n`;
43-
if (host || documenter || peoplePresent) {
43+
if (host || documenter || translator || peoplePresent) {
4444
markdown += `- Present: `;
4545
if (host) markdown += `${host} [facilitator], `;
4646
if (documenter) markdown += `${documenter} [documenter], `;
47+
if (translator) markdown += `${translator} [translator], `;
4748
if (peoplePresent) markdown += `${peoplePresent.split(', ').map(p => p.trim()).join(', ')}`;
4849
markdown += '\n';
4950
}

0 commit comments

Comments
 (0)