Browse Source

fix: different description for non moderator participants in passcode dialog

master
Bettenbuk Zoltan 5 years ago
parent
commit
f68b9b7df9

+ 2
- 1
lang/main.json View File

582
         "pullToRefresh": "Pull to refresh"
582
         "pullToRefresh": "Pull to refresh"
583
     },
583
     },
584
     "security": {
584
     "security": {
585
-        "about": "You can add a passcode to your meeting. Participants will need to provide the passcode before they are allowed to join the meeting.",
585
+        "about": "You can add a $t(lockRoomPassword) to your meeting. Participants will need to provide the $t(lockRoomPassword) before they are allowed to join the meeting.",
586
+        "aboutReadOnly": "Moderator participants can add a $t(lockRoomPassword) to the meeting. Participants will need to provide the $t(lockRoomPassword) before they are allowed to join the meeting.",
586
         "insecureRoomNameWarning": "The room name is unsafe. Unwanted participants may join your conference. Consider securing your meeting using the security button.",
587
         "insecureRoomNameWarning": "The room name is unsafe. Unwanted participants may join your conference. Consider securing your meeting using the security button.",
587
         "securityOptions": "Security options"
588
         "securityOptions": "Security options"
588
     },
589
     },

+ 1
- 1
react/features/security/components/security-dialog/PasswordSection.js View File

171
     return (
171
     return (
172
         <div className = 'security-dialog password-section'>
172
         <div className = 'security-dialog password-section'>
173
             <p className = 'description'>
173
             <p className = 'description'>
174
-                { t('security.about') }
174
+                { t(canEditPassword ? 'security.about' : 'security.aboutReadOnly') }
175
             </p>
175
             </p>
176
             <div className = 'security-dialog password'>
176
             <div className = 'security-dialog password'>
177
                 <div
177
                 <div

Loading…
Cancel
Save