From 217efe603bc54836c2dfe450e770228f744943c1 Mon Sep 17 00:00:00 2001 From: pmagnier-slimani <page.magnier-slimani@savoirfairelinux.com> Date: Fri, 28 Feb 2025 15:59:16 -0500 Subject: [PATCH] calls: fix the display of incoming calls When called, it shows "Incoming ... call from username" instead of "incoming ....call from %1". This adress an issue created in the commit 30419 :https://review.jami.net/c/jami-client-qt/+/30419 GitLab: #1929 Change-Id: I4695a9aebf1787eebef148c234cf6b8eaa2d7ac0 --- src/app/mainview/components/InitialCallPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/mainview/components/InitialCallPage.qml b/src/app/mainview/components/InitialCallPage.qml index 1198729c..c00aa109 100644 --- a/src/app/mainview/components/InitialCallPage.qml +++ b/src/app/mainview/components/InitialCallPage.qml @@ -146,7 +146,7 @@ Rectangle { text: { if (!CurrentCall.isOutgoing) - return CurrentCall.isAudioOnly ? JamiStrings.incomingAudioCallFrom.replace("{}", title) : JamiStrings.incomingVideoCallFrom.replace("{}", title); + return CurrentCall.isAudioOnly ? JamiStrings.incomingAudioCallFrom.arg(title) : JamiStrings.incomingVideoCallFrom.arg(title); else return title; } -- GitLab