ソースを参照

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

factor2
Mihaela Dumitru 8ヶ月前
コミット
a6d333c07a
コミッターのメールアドレスに関連付けられたアカウントが存在しません

+ 3
- 2
lang/main.json ファイルの表示

@@ -1405,7 +1405,8 @@
1405 1405
         "ccButtonTooltip": "Start / Stop subtitles",
1406 1406
         "expandedLabel": "Transcribing is currently on",
1407 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 1410
         "sourceLanguageDesc": "Currently the meeting language is set to <b>{{sourceLanguage}}</b>. <br/> You can change it from ",
1410 1411
         "sourceLanguageHere": "here",
1411 1412
         "start": "Start showing subtitles",
@@ -1444,7 +1445,7 @@
1444 1445
         "ldTooltip": "Viewing low definition video",
1445 1446
         "lowDefinition": "Low definition",
1446 1447
         "performanceSettings": "Performance settings",
1447
-        "recording": "Recording in progress",
1448
+        "recording": "This meeting is being recorded.",
1448 1449
         "sd": "SD",
1449 1450
         "sdTooltip": "Viewing standard definition video",
1450 1451
         "standardDefinition": "Standard definition",

+ 6
- 2
react/features/recording/components/native/RecordingExpandedLabel.ts ファイルの表示

@@ -68,8 +68,12 @@ class RecordingExpandedLabel extends ExpandedLabel<IProps> {
68 68
 
69 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 79
         return content;

+ 2
- 2
react/features/recording/components/web/RecordingLabel.tsx ファイルの表示

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

読み込み中…
キャンセル
保存