diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-09-19 15:32:33 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-09-19 15:32:33 +0200 |
commit | 75d7c2608af93d70b9f5bf590aa1d59473f9bbe3 (patch) | |
tree | 88e8531aa706bd0a547145af01b3d4fbd5b9cd82 /resources/qml/delegates | |
parent | Translated using Weblate (Estonian) (diff) | |
download | nheko-75d7c2608af93d70b9f5bf590aa1d59473f9bbe3.tar.xz |
Update translations
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r-- | resources/qml/delegates/MessageDelegate.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/resources/qml/delegates/MessageDelegate.qml b/resources/qml/delegates/MessageDelegate.qml index 90e52442..5b692644 100644 --- a/resources/qml/delegates/MessageDelegate.qml +++ b/resources/qml/delegates/MessageDelegate.qml @@ -99,7 +99,11 @@ Item { DelegateChoice { roleValue: MtxEvent.CallInvite NoticeMessage { - text: qsTr("%1 placed a %2 call.").arg(model.data.userName).arg(model.data.callType) + text: switch(model.data.callType) { + case "voice": return qsTr("%1 placed a voice call.").arg(model.data.userName) + case "video": return qsTr("%1 placed a video call.").arg(model.data.userName) + default: return qsTr("%1 placed a call.").arg(model.data.userName) + } } } DelegateChoice { |