Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(recordings) improve label to clearly reflect current status (#15570)
Mihaela Dumitrua6d333c07ae8
diff --git a/lang/main.json b/lang/main.jsonindex f165105537..201cc9cfc6 100644--- a/lang/main.json+++ b/lang/main.json@@ -1405,7 +1405,8 @@"ccButtonTooltip": "Start / Stop subtitles","expandedLabel": "Transcribing is currently on","failed": "Transcribing failed",- "labelToolTip": "The meeting is being transcribed",+ "labelTooltip": "This meeting is being transcribed.",+ "labelTooltipExtra": "In addition, a transcript will be available later.","sourceLanguageDesc": "Currently the meeting language is set to <b>{{sourceLanguage}}</b>. <br/> You can change it from ","sourceLanguageHere": "here","start": "Start showing subtitles",@@ -1444,7 +1445,7 @@"ldTooltip": "Viewing low definition video","lowDefinition": "Low definition","performanceSettings": "Performance settings",- "recording": "Recording in progress",+ "recording": "This meeting is being recorded.","sd": "SD","sdTooltip": "Viewing standard definition video","standardDefinition": "Standard definition",diff --git a/react/features/recording/components/native/RecordingExpandedLabel.ts b/react/features/recording/components/native/RecordingExpandedLabel.tsindex b4b14bb564..8b9656648e 100644--- a/react/features/recording/components/native/RecordingExpandedLabel.ts+++ b/react/features/recording/components/native/RecordingExpandedLabel.ts@@ -68,8 +68,12 @@ class RecordingExpandedLabel extends ExpandedLabel<IProps> {let content = t(`${prefix}.${postfix}`);- if (_status === JitsiRecordingConstants.status.ON && this.props._isTranscribing) {- content += ` \u00B7 ${t('transcribing.labelToolTip')}`;+ if (this.props._isTranscribing) {+ if (_status === JitsiRecordingConstants.status.ON) {+ content += ` ${t('transcribing.labelTooltipExtra')}`;+ } else {+ content = t('transcribing.labelTooltip');+ }}return content;diff --git a/react/features/recording/components/web/RecordingLabel.tsx b/react/features/recording/components/web/RecordingLabel.tsxindex 23d42fe076..a57f6cc413 100644--- a/react/features/recording/components/web/RecordingLabel.tsx+++ b/react/features/recording/components/web/RecordingLabel.tsx@@ -60,12 +60,12 @@ class RecordingLabel extends AbstractRecordingLabel<IProps> {content = t(isRecording ? 'videoStatus.recording' : 'videoStatus.streaming');if (_isTranscribing) {- content += ` \u00B7 ${t('transcribing.labelToolTip')}`;+ content += ` ${t('transcribing.labelTooltipExtra')}`;}} else if (mode === JitsiRecordingConstants.mode.STREAM) {return null;} else if (_isTranscribing) {- content = t('transcribing.labelToolTip');+ content = t('transcribing.labelTooltip');} else {return null;}