Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: different description for non moderator participants in passcode dialog

Bettenbuk Zoltanf68b9b7df936
diff --git a/lang/main.json b/lang/main.json
index 82db76ee44..026f00fe18 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -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"
},
diff --git a/react/features/security/components/security-dialog/PasswordSection.js b/react/features/security/components/security-dialog/PasswordSection.js
index cacf95ae4c..36b34e1d24 100644
--- a/react/features/security/components/security-dialog/PasswordSection.js
+++ b/react/features/security/components/security-dialog/PasswordSection.js
@@ -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