Merge pull request #8293 from jitsi/tavram/update-jaas-rec
fix(jaas) update recording label and hide option for jaas users
This commit is contained in:
commit
8d813a499c
|
@ -601,6 +601,7 @@
|
||||||
"pending": "Preparing to record the meeting...",
|
"pending": "Preparing to record the meeting...",
|
||||||
"rec": "REC",
|
"rec": "REC",
|
||||||
"serviceDescription": "Your recording will be saved by the recording service",
|
"serviceDescription": "Your recording will be saved by the recording service",
|
||||||
|
"serviceDescriptionCloud": "Cloud recording",
|
||||||
"serviceName": "Recording service",
|
"serviceName": "Recording service",
|
||||||
"signIn": "Sign in",
|
"signIn": "Sign in",
|
||||||
"signOut": "Sign out",
|
"signOut": "Sign out",
|
||||||
|
|
|
@ -162,7 +162,9 @@ class StartRecordingDialogContent extends Component<Props> {
|
||||||
* @returns {React$Component}
|
* @returns {React$Component}
|
||||||
*/
|
*/
|
||||||
_renderFileSharingContent() {
|
_renderFileSharingContent() {
|
||||||
if (!this.props.fileRecordingsServiceSharingEnabled) {
|
const { fileRecordingsServiceSharingEnabled, isVpaas } = this.props;
|
||||||
|
|
||||||
|
if (!fileRecordingsServiceSharingEnabled || isVpaas) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -247,6 +249,7 @@ class StartRecordingDialogContent extends Component<Props> {
|
||||||
) : null;
|
) : null;
|
||||||
|
|
||||||
const icon = isVpaas ? ICON_SHARE : JITSI_LOGO;
|
const icon = isVpaas ? ICON_SHARE : JITSI_LOGO;
|
||||||
|
const label = isVpaas ? t('recording.serviceDescriptionCloud') : t('recording.serviceDescription');
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container
|
<Container
|
||||||
|
@ -265,7 +268,7 @@ class StartRecordingDialogContent extends Component<Props> {
|
||||||
..._dialogStyles.text,
|
..._dialogStyles.text,
|
||||||
...styles.title
|
...styles.title
|
||||||
}}>
|
}}>
|
||||||
{ t('recording.serviceDescription') }
|
{ label }
|
||||||
</Text>
|
</Text>
|
||||||
{ switchContent }
|
{ switchContent }
|
||||||
</Container>
|
</Container>
|
||||||
|
|
Loading…
Reference in New Issue