mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-18 20:08:11 +00:00
feat(Incall): add tooltips on recording and screenshot buttons
This commit is contained in:
parent
fa149d22af
commit
3881bcacd1
4 changed files with 81 additions and 1 deletions
|
|
@ -829,6 +829,33 @@ Server url not configured.</translation>
|
|||
<source>callNotSecured</source>
|
||||
<translation>Call not encrypted.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>takeSnapshotLabel</source>
|
||||
<translation>Take a snapshot.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>startRecordingLabel</source>
|
||||
<translation>Start recording.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>stopRecordingLabel</source>
|
||||
<translation>Stop recording.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>IncallFullscreenWindow</name>
|
||||
<message>
|
||||
<source>takeSnapshotLabel</source>
|
||||
<translation>Take a snapshot.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>startRecordingLabel</source>
|
||||
<translation>Start recording.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>stopRecordingLabel</source>
|
||||
<translation>Stop recording.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>InviteFriends</name>
|
||||
|
|
|
|||
|
|
@ -829,6 +829,33 @@ Url du serveur non configurée.</translation>
|
|||
<source>callNotSecured</source>
|
||||
<translation>Appel non chiffré.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>takeSnapshotLabel</source>
|
||||
<translation>Prendre une capture d'écran.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>startRecordingLabel</source>
|
||||
<translation>Commencer un enregistrement.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>stopRecordingLabel</source>
|
||||
<translation>Stopper un enregistrement.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>IncallFullscreenWindow</name>
|
||||
<message>
|
||||
<source>takeSnapshotLabel</source>
|
||||
<translation>Prendre une capture d'écran.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>startRecordingLabel</source>
|
||||
<translation>Commencer un enregistrement.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>stopRecordingLabel</source>
|
||||
<translation>Stopper un enregistrement.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>InviteFriends</name>
|
||||
|
|
|
|||
|
|
@ -165,9 +165,15 @@ Rectangle {
|
|||
visible: incall.call.videoEnabled
|
||||
|
||||
onClicked: incall.call.takeSnapshot()
|
||||
|
||||
TooltipArea {
|
||||
text: qsTr('takeSnapshotLabel')
|
||||
}
|
||||
}
|
||||
|
||||
ActionSwitch {
|
||||
id: recordingSwitch
|
||||
|
||||
enabled: incall.call.recording
|
||||
icon: 'record'
|
||||
useStates: false
|
||||
|
|
@ -178,6 +184,12 @@ Rectangle {
|
|||
? call.startRecording()
|
||||
: call.stopRecording()
|
||||
}
|
||||
|
||||
TooltipArea {
|
||||
text: !recordingSwitch.enabled
|
||||
? qsTr('startRecordingLabel')
|
||||
: qsTr('stopRecordingLabel')
|
||||
}
|
||||
}
|
||||
|
||||
ActionButton {
|
||||
|
|
|
|||
|
|
@ -216,14 +216,28 @@ Window {
|
|||
icon: 'screenshot'
|
||||
|
||||
onClicked: call.takeSnapshot()
|
||||
|
||||
TooltipArea {
|
||||
text: qsTr('takeSnapshotLabel')
|
||||
}
|
||||
}
|
||||
|
||||
ActionSwitch {
|
||||
id: recordingSwitch
|
||||
|
||||
enabled: call.recording
|
||||
icon: 'record'
|
||||
useStates: false
|
||||
|
||||
onClicked: !enabled ? call.startRecording() : call.stopRecording()
|
||||
onClicked: !enabled
|
||||
? call.startRecording()
|
||||
: call.stopRecording()
|
||||
|
||||
TooltipArea {
|
||||
text: !recordingSwitch.enabled
|
||||
? qsTr('startRecordingLabel')
|
||||
: qsTr('stopRecordingLabel')
|
||||
}
|
||||
}
|
||||
|
||||
ActionButton {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue