From c5436428e5cf4e5e046af3ec5ee6e23882cbba00 Mon Sep 17 00:00:00 2001 From: hristoterezov Date: Fri, 22 Sep 2017 17:18:14 -0500 Subject: [PATCH] fix(videoquality_label): tooltip text for audio only mode --- lang/main.json | 3 ++- .../video-quality/components/VideoQualityLabel.web.js | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lang/main.json b/lang/main.json index bdb6b4344..dbba0d31b 100644 --- a/lang/main.json +++ b/lang/main.json @@ -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", diff --git a/react/features/video-quality/components/VideoQualityLabel.web.js b/react/features/video-quality/components/VideoQualityLabel.web.js index 3b797fd0b..299b7008c 100644 --- a/react/features/video-quality/components/VideoQualityLabel.web.js +++ b/react/features/video-quality/components/VideoQualityLabel.web.js @@ -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 (
{ _audioOnly