feat(ui/views/App/Calls/Incall): add tooltips on pending requests

This commit is contained in:
Ronan Abhamon 2017-04-21 15:54:51 +02:00
parent eb7a752855
commit 49f42df310
3 changed files with 18 additions and 0 deletions

View file

@ -656,6 +656,10 @@ Server url not configured.</translation>
<source>acceptVideoDescription</source>
<translation>Your contact would like to turn on video.</translation>
</message>
<message>
<source>pendingRequestLabel</source>
<translation>Please to wait, a request is pending.</translation>
</message>
</context>
<context>
<name>InviteFriends</name>

View file

@ -656,6 +656,10 @@ Url du serveur non configurée.</translation>
<source>acceptVideoDescription</source>
<translation>Votre correspondant souhaite ajouter la vidéo.</translation>
</message>
<message>
<source>pendingRequestLabel</source>
<translation>Merci de patienter, une requête est en attente.</translation>
</message>
</context>
<context>
<name>InviteFriends</name>

View file

@ -317,6 +317,11 @@ Rectangle {
updating: call.updating
onClicked: call.videoEnabled = !enabled
TooltipArea {
text: qsTr('pendingRequestLabel')
visible: parent.updating
}
}
ActionButton {
@ -366,6 +371,11 @@ Rectangle {
updating: call.updating
onClicked: call.pausedByUser = enabled
TooltipArea {
text: qsTr('pendingRequestLabel')
visible: parent.updating
}
}
ActionButton {