diff --git a/linphone-desktop/assets/languages/en.ts b/linphone-desktop/assets/languages/en.ts index 4b2a6ab18..895a4ff22 100644 --- a/linphone-desktop/assets/languages/en.ts +++ b/linphone-desktop/assets/languages/en.ts @@ -809,6 +809,21 @@ your friend's SIP address or username. Select you active account + + OutgoingMessage + + Error + Error + + + Read + Read + + + Delivered + Delivered + + Presence diff --git a/linphone-desktop/assets/languages/fr.ts b/linphone-desktop/assets/languages/fr.ts index 61ca489a7..659be65c2 100644 --- a/linphone-desktop/assets/languages/fr.ts +++ b/linphone-desktop/assets/languages/fr.ts @@ -808,6 +808,21 @@ un chat ou ajouter un contact. Sélectionner votre compte principal + + OutgoingMessage + + Error + Erreur + + + Read + Lu + + + Delivered + Délivré + + Presence diff --git a/linphone-desktop/ui/modules/Common/Styles/Tooltip/TooltipStyle.qml b/linphone-desktop/ui/modules/Common/Styles/Tooltip/TooltipStyle.qml index a1b690ceb..96b9b0113 100644 --- a/linphone-desktop/ui/modules/Common/Styles/Tooltip/TooltipStyle.qml +++ b/linphone-desktop/ui/modules/Common/Styles/Tooltip/TooltipStyle.qml @@ -9,7 +9,7 @@ QtObject { property color backgroundColor: Colors.g property color color: Colors.k property int arrowSize: 8 - property int delay: 500 + property int delay: 1000 property int fontSize: 9 property int margins: 8 property int padding: 4 diff --git a/linphone-desktop/ui/modules/Common/Tooltip/TooltipArea.qml b/linphone-desktop/ui/modules/Common/Tooltip/TooltipArea.qml index fe01f3777..2f0180f08 100644 --- a/linphone-desktop/ui/modules/Common/Tooltip/TooltipArea.qml +++ b/linphone-desktop/ui/modules/Common/Tooltip/TooltipArea.qml @@ -26,7 +26,6 @@ MouseArea { parent: tooltipParent visible: _visible || force - delay: -1 timeout: -1 // Workaround to always display tooltip. diff --git a/linphone-desktop/ui/modules/Linphone/Chat/OutgoingMessage.qml b/linphone-desktop/ui/modules/Linphone/Chat/OutgoingMessage.qml index ccab0c3a1..0b469d650 100644 --- a/linphone-desktop/ui/modules/Linphone/Chat/OutgoingMessage.qml +++ b/linphone-desktop/ui/modules/Linphone/Chat/OutgoingMessage.qml @@ -51,6 +51,12 @@ Item { anchors.fill: parent onClicked: isNotDelivered && proxyModel.resendMessage(index) } + + TooltipArea { + text: isNotDelivered + ? qsTr("Error") + : (isRead ? qsTr("Read") : qsTr("Delivered")) + } } }