Merge pull request #2008 from jitsi/videoquality_label
fix(videoquality_label): tooltip text for audio only mode
This commit is contained in:
commit
c196f8007b
|
@ -448,7 +448,8 @@
|
|||
"callQuality": "Call Quality",
|
||||
"hd": "HD",
|
||||
"highDefinition": "High definition",
|
||||
"labelTooltip": "Current video quality",
|
||||
"labelTooltipVideo": "Current video quality",
|
||||
"labelTooltipAudioOnly": "Audio-only mode enabled",
|
||||
"ld": "LD",
|
||||
"lowDefinition": "Low definition",
|
||||
"p2pEnabled": "Peer to Peer Enabled",
|
||||
|
|
|
@ -148,13 +148,15 @@ export class VideoQualityLabel extends Component {
|
|||
const opening = this.state.togglingToVisible ? 'opening' : '';
|
||||
const classNames
|
||||
= `${baseClasses} ${filmstrip} ${remoteVideosVisible} ${opening}`;
|
||||
const tooltipKey
|
||||
= `videoStatus.labelTooltip${_audioOnly ? 'AudioOnly' : 'Video'}`;
|
||||
|
||||
return (
|
||||
<div
|
||||
className = { classNames }
|
||||
id = 'videoResolutionLabel'>
|
||||
<Tooltip
|
||||
description = { t('videoStatus.labelTooltip') }
|
||||
description = { t(tooltipKey) }
|
||||
position = { 'left' }>
|
||||
<div className = 'video-quality-label-status'>
|
||||
{ _audioOnly
|
||||
|
|
Loading…
Reference in New Issue