Bläddra i källkod

Update copy invite text.

j8
damencho 6 år sedan
förälder
incheckning
dd5233d31b
2 ändrade filer med 12 tillägg och 5 borttagningar
  1. 4
    3
      lang/main.json
  2. 8
    2
      react/features/invite/components/info-dialog/web/InfoDialog.js

+ 4
- 3
lang/main.json Visa fil

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

+ 8
- 2
react/features/invite/components/info-dialog/web/InfoDialog.js Visa fil

294
      */
294
      */
295
     _getTextToCopy() {
295
     _getTextToCopy() {
296
         const { liveStreamViewURL, t } = this.props;
296
         const { liveStreamViewURL, t } = this.props;
297
+        const shouldDisplayDialIn = this._shouldDisplayDialIn();
298
+        const moreInfo
299
+            = shouldDisplayDialIn
300
+                ? t('info.inviteURLMoreInfo', { conferenceID: this.props.dialIn.conferenceID })
301
+                : '';
297
 
302
 
298
         let invite = t('info.inviteURL', {
303
         let invite = t('info.inviteURL', {
299
-            url: this.props._inviteURL
304
+            url: this.props._inviteURL,
305
+            moreInfo
300
         });
306
         });
301
 
307
 
302
         if (liveStreamViewURL) {
308
         if (liveStreamViewURL) {
307
             invite = `${invite}\n${liveStream}`;
313
             invite = `${invite}\n${liveStream}`;
308
         }
314
         }
309
 
315
 
310
-        if (this._shouldDisplayDialIn()) {
316
+        if (shouldDisplayDialIn) {
311
             const dial = t('info.invitePhone', {
317
             const dial = t('info.invitePhone', {
312
                 number: this.state.phoneNumber,
318
                 number: this.state.phoneNumber,
313
                 conferenceID: this.props.dialIn.conferenceID
319
                 conferenceID: this.props.dialIn.conferenceID

Laddar…
Avbryt
Spara