Bladeren bron

fix: different description for non moderator participants in passcode dialog

master
Bettenbuk Zoltan 5 jaren geleden
bovenliggende
commit
f68b9b7df9
2 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. 2
    1
      lang/main.json
  2. 1
    1
      react/features/security/components/security-dialog/PasswordSection.js

+ 2
- 1
lang/main.json Bestand weergeven

@@ -582,7 +582,8 @@
582 582
         "pullToRefresh": "Pull to refresh"
583 583
     },
584 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 587
         "insecureRoomNameWarning": "The room name is unsafe. Unwanted participants may join your conference. Consider securing your meeting using the security button.",
587 588
         "securityOptions": "Security options"
588 589
     },

+ 1
- 1
react/features/security/components/security-dialog/PasswordSection.js Bestand weergeven

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

Laden…
Annuleren
Opslaan