Explorar el Código

Merge pull request #2008 from jitsi/videoquality_label

fix(videoquality_label): tooltip text for audio only mode
j8
virtuacoplenny hace 7 años
padre
commit
c196f8007b

+ 2
- 1
lang/main.json Ver fichero

@@ -448,7 +448,8 @@
448 448
         "callQuality": "Call Quality",
449 449
         "hd": "HD",
450 450
         "highDefinition": "High definition",
451
-        "labelTooltip": "Current video quality",
451
+        "labelTooltipVideo": "Current video quality",
452
+        "labelTooltipAudioOnly":  "Audio-only mode enabled",
452 453
         "ld": "LD",
453 454
         "lowDefinition": "Low definition",
454 455
         "p2pEnabled": "Peer to Peer Enabled",

+ 3
- 1
react/features/video-quality/components/VideoQualityLabel.web.js Ver fichero

@@ -148,13 +148,15 @@ export class VideoQualityLabel extends Component {
148 148
         const opening = this.state.togglingToVisible ? 'opening' : '';
149 149
         const classNames
150 150
             = `${baseClasses} ${filmstrip} ${remoteVideosVisible} ${opening}`;
151
+        const tooltipKey
152
+            = `videoStatus.labelTooltip${_audioOnly ? 'AudioOnly' : 'Video'}`;
151 153
 
152 154
         return (
153 155
             <div
154 156
                 className = { classNames }
155 157
                 id = 'videoResolutionLabel'>
156 158
                 <Tooltip
157
-                    description = { t('videoStatus.labelTooltip') }
159
+                    description = { t(tooltipKey) }
158 160
                     position = { 'left' }>
159 161
                     <div className = 'video-quality-label-status'>
160 162
                         { _audioOnly

Loading…
Cancelar
Guardar