diff --git a/app/assets/locales/de.json b/app/assets/locales/de.json index 0fbf5c1fcf..3c45ebadf9 100644 --- a/app/assets/locales/de.json +++ b/app/assets/locales/de.json @@ -129,7 +129,8 @@ "alternative_options": "Alternative Optionen zur Teilnahme", "download_ics": ".ics-Kalenderdatei herunterladen", "share_meeting": "Raum teilen", - "join_by_phone": "mit Telefoneinwahl beitreten" + "join_by_phone": "Mit Telefoneinwahl beitreten", + "location": "Videokonferenz, siehe Details im termin" }, "presentation": { "presentation": "Präsentation", diff --git a/app/assets/locales/en.json b/app/assets/locales/en.json index d7f341f902..e812b3121a 100644 --- a/app/assets/locales/en.json +++ b/app/assets/locales/en.json @@ -129,7 +129,8 @@ "alternative_options": "Alternative options to join", "download_ics": "Download .ics calender file", "share_meeting": "Share Room", - "join_by_phone": "join with telephone dial-up" + "join_by_phone": "Connect via telephone dial-up", + "location": "Video conference - Further details are provided below" }, "presentation": { "presentation": "Presentation", diff --git a/app/javascript/helpers/ICSDownloadHelper.jsx b/app/javascript/helpers/ICSDownloadHelper.jsx index 4e86669ce0..727edda7b0 100644 --- a/app/javascript/helpers/ICSDownloadHelper.jsx +++ b/app/javascript/helpers/ICSDownloadHelper.jsx @@ -32,7 +32,7 @@ const createICSWithoutHTML = (name, room_name, url, voice_bridge, voice_bridge_p let description = `\n\n${t('room.meeting.invite_to_meeting', {name})}\n\n${t('room.meeting.join_by_url')}:\n${url}\n`; if (typeof voice_bridge !== 'undefined' && typeof voice_bridge_phone_number !== 'undefined') { - description += `\n${t('or')} ${t('room.meeting.join_by_phone')}:\n${voice_bridge_phone_number},,${voice_bridge}`; + description += `\n${t('room.meeting.join_by_phone')}: ${voice_bridge_phone_number},,${voice_bridge}\nPIN: ${voice_bridge}`; } const date = new Date(); @@ -42,6 +42,7 @@ const createICSWithoutHTML = (name, room_name, url, voice_bridge, voice_bridge_p url: url, description: description, title: room_name, + location: t('room.meeting.location') }; } @@ -49,7 +50,7 @@ const createICSWithHtml = (name, room_name, url, voice_bridge, voice_bridge_phon let phone_data = ""; if (typeof voice_bridge !== 'undefined' && typeof voice_bridge_phone_number !== 'undefined') { - phone_data = `
${t('or')} ${t('room.meeting.join_by_phone')}:
+ phone_data = `
${t('room.meeting.join_by_phone')}:

${voice_bridge_phone_number},,${voice_bridge}

`; } @@ -134,7 +135,8 @@ const createICSWithHtml = (name, room_name, url, voice_bridge, voice_bridge_phon start: [date.getFullYear(), date.getMonth() + 1, date.getDate(), 12, 0], url: url, htmlContent: HTML, - title: room_name + title: room_name, + location: t('room.meeting.location') }; }