Update copy invite text.

This commit is contained in:
damencho 2019-04-29 14:43:02 +01:00
parent b886f8d72d
commit dd5233d31b
2 changed files with 12 additions and 5 deletions

View File

@ -354,9 +354,10 @@
"dialInTollFree": "Toll Free", "dialInTollFree": "Toll Free",
"genericError": "Whoops, something went wrong.", "genericError": "Whoops, something went wrong.",
"inviteLiveStream": "To view the live stream of this meeting, click this link: __url__", "inviteLiveStream": "To view the live stream of this meeting, click this link: __url__",
"invitePhone": "To join by phone, dial __number__ and enter this PIN: __conferenceID__#", "invitePhone": "One tap audio Dial In: __number__,,__conferenceID__#",
"invitePhoneAlternatives": "To view more phone numbers, click this link: __url__", "invitePhoneAlternatives": "Looking for a different dial in number? Please see: __url__",
"inviteURL": "To join the video meeting, click this link: __url__", "inviteURL": "You are invited to join a meeting.\n__moreInfo__\nJoin meeting: __url__\n",
"inviteURLMoreInfo": "Meeting ID: __conferenceID__#\n",
"liveStreamURL": "Live stream:", "liveStreamURL": "Live stream:",
"moreNumbers": "More numbers", "moreNumbers": "More numbers",
"noNumbers": "No dial-in numbers.", "noNumbers": "No dial-in numbers.",

View File

@ -294,9 +294,15 @@ class InfoDialog extends Component<Props, State> {
*/ */
_getTextToCopy() { _getTextToCopy() {
const { liveStreamViewURL, t } = this.props; const { liveStreamViewURL, t } = this.props;
const shouldDisplayDialIn = this._shouldDisplayDialIn();
const moreInfo
= shouldDisplayDialIn
? t('info.inviteURLMoreInfo', { conferenceID: this.props.dialIn.conferenceID })
: '';
let invite = t('info.inviteURL', { let invite = t('info.inviteURL', {
url: this.props._inviteURL url: this.props._inviteURL,
moreInfo
}); });
if (liveStreamViewURL) { if (liveStreamViewURL) {
@ -307,7 +313,7 @@ class InfoDialog extends Component<Props, State> {
invite = `${invite}\n${liveStream}`; invite = `${invite}\n${liveStream}`;
} }
if (this._shouldDisplayDialIn()) { if (shouldDisplayDialIn) {
const dial = t('info.invitePhone', { const dial = t('info.invitePhone', {
number: this.state.phoneNumber, number: this.state.phoneNumber,
conferenceID: this.props.dialIn.conferenceID conferenceID: this.props.dialIn.conferenceID