Przeglądaj źródła

fix(recordings) improve label to clearly reflect current status (#15570)

factor2
Mihaela Dumitru 8 miesięcy temu
rodzic
commit
a6d333c07a
No account linked to committer's email address

+ 3
- 2
lang/main.json Wyświetl plik

1405
         "ccButtonTooltip": "Start / Stop subtitles",
1405
         "ccButtonTooltip": "Start / Stop subtitles",
1406
         "expandedLabel": "Transcribing is currently on",
1406
         "expandedLabel": "Transcribing is currently on",
1407
         "failed": "Transcribing failed",
1407
         "failed": "Transcribing failed",
1408
-        "labelToolTip": "The meeting is being transcribed",
1408
+        "labelTooltip": "This meeting is being transcribed.",
1409
+        "labelTooltipExtra": "In addition, a transcript will be available later.",
1409
         "sourceLanguageDesc": "Currently the meeting language is set to <b>{{sourceLanguage}}</b>. <br/> You can change it from ",
1410
         "sourceLanguageDesc": "Currently the meeting language is set to <b>{{sourceLanguage}}</b>. <br/> You can change it from ",
1410
         "sourceLanguageHere": "here",
1411
         "sourceLanguageHere": "here",
1411
         "start": "Start showing subtitles",
1412
         "start": "Start showing subtitles",
1444
         "ldTooltip": "Viewing low definition video",
1445
         "ldTooltip": "Viewing low definition video",
1445
         "lowDefinition": "Low definition",
1446
         "lowDefinition": "Low definition",
1446
         "performanceSettings": "Performance settings",
1447
         "performanceSettings": "Performance settings",
1447
-        "recording": "Recording in progress",
1448
+        "recording": "This meeting is being recorded.",
1448
         "sd": "SD",
1449
         "sd": "SD",
1449
         "sdTooltip": "Viewing standard definition video",
1450
         "sdTooltip": "Viewing standard definition video",
1450
         "standardDefinition": "Standard definition",
1451
         "standardDefinition": "Standard definition",

+ 6
- 2
react/features/recording/components/native/RecordingExpandedLabel.ts Wyświetl plik

68
 
68
 
69
         let content = t(`${prefix}.${postfix}`);
69
         let content = t(`${prefix}.${postfix}`);
70
 
70
 
71
-        if (_status === JitsiRecordingConstants.status.ON && this.props._isTranscribing) {
72
-            content += ` \u00B7 ${t('transcribing.labelToolTip')}`;
71
+        if (this.props._isTranscribing) {
72
+            if (_status === JitsiRecordingConstants.status.ON) {
73
+                content += ` ${t('transcribing.labelTooltipExtra')}`;
74
+            } else {
75
+                content = t('transcribing.labelTooltip');
76
+            }
73
         }
77
         }
74
 
78
 
75
         return content;
79
         return content;

+ 2
- 2
react/features/recording/components/web/RecordingLabel.tsx Wyświetl plik

60
             content = t(isRecording ? 'videoStatus.recording' : 'videoStatus.streaming');
60
             content = t(isRecording ? 'videoStatus.recording' : 'videoStatus.streaming');
61
 
61
 
62
             if (_isTranscribing) {
62
             if (_isTranscribing) {
63
-                content += ` \u00B7 ${t('transcribing.labelToolTip')}`;
63
+                content += ` ${t('transcribing.labelTooltipExtra')}`;
64
             }
64
             }
65
         } else if (mode === JitsiRecordingConstants.mode.STREAM) {
65
         } else if (mode === JitsiRecordingConstants.mode.STREAM) {
66
             return null;
66
             return null;
67
         } else if (_isTranscribing) {
67
         } else if (_isTranscribing) {
68
-            content = t('transcribing.labelToolTip');
68
+            content = t('transcribing.labelTooltip');
69
         } else {
69
         } else {
70
             return null;
70
             return null;
71
         }
71
         }

Ładowanie…
Anuluj
Zapisz