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(jaas) update recording label and hide option for jaas users

Tudor-Ovidiu Avram22384d9094d9
diff --git a/lang/main.json b/lang/main.json
index 98cba630bd..37435468ed 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -601,6 +601,7 @@
"pending": "Preparing to record the meeting...",
"rec": "REC",
"serviceDescription": "Your recording will be saved by the recording service",
+ "serviceDescriptionCloud": "Cloud recording",
"serviceName": "Recording service",
"signIn": "Sign in",
"signOut": "Sign out",
diff --git a/react/features/recording/components/Recording/StartRecordingDialogContent.js b/react/features/recording/components/Recording/StartRecordingDialogContent.js
index 703481d56e..dc1fe623b6 100644
--- a/react/features/recording/components/Recording/StartRecordingDialogContent.js
+++ b/react/features/recording/components/Recording/StartRecordingDialogContent.js
@@ -162,7 +162,9 @@ class StartRecordingDialogContent extends Component<Props> {
* @returns {React$Component}
*/
_renderFileSharingContent() {
- if (!this.props.fileRecordingsServiceSharingEnabled) {
+ const { fileRecordingsServiceSharingEnabled, isVpaas } = this.props;
+
+ if (!fileRecordingsServiceSharingEnabled || isVpaas) {
return null;
}
@@ -247,6 +249,7 @@ class StartRecordingDialogContent extends Component<Props> {
) : null;
const icon = isVpaas ? ICON_SHARE : JITSI_LOGO;
+ const label = isVpaas ? t('recording.serviceDescriptionCloud') : t('recording.serviceDescription');
return (
<Container
@@ -265,7 +268,7 @@ class StartRecordingDialogContent extends Component<Props> {
..._dialogStyles.text,
...styles.title
}}>
- { t('recording.serviceDescription') }
+ { label }
</Text>
{ switchContent }
</Container>