fix: different description for non moderator participants in passcode dialog

This commit is contained in:
Bettenbuk Zoltan 2020-06-25 15:59:55 +02:00 committed by Zoltan Bettenbuk
parent b534c4f624
commit f68b9b7df9
2 changed files with 3 additions and 2 deletions

View File

@ -582,7 +582,8 @@
"pullToRefresh": "Pull to refresh"
},
"security": {
"about": "You can add a passcode to your meeting. Participants will need to provide the passcode before they are allowed to join the meeting.",
"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.",
"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.",
"insecureRoomNameWarning": "The room name is unsafe. Unwanted participants may join your conference. Consider securing your meeting using the security button.",
"securityOptions": "Security options"
},

View File

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