From ad0fc8499582c631feba3b056dbe06013adc3fe5 Mon Sep 17 00:00:00 2001 From: Nicolas Jager <nicolas.jager@savoirfairelinux.com> Date: Thu, 24 Dec 2015 09:05:03 -0500 Subject: [PATCH] adding missing `tr()` "error" is returned by `Call::formattedName()` without `tr()` Change-Id: I8392182c5dd41a749ea55ee8ae074bfca00eb228 Tuleap: #208 --- src/call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/call.cpp b/src/call.cpp index 19d3698c..a72b100f 100644 --- a/src/call.cpp +++ b/src/call.cpp @@ -804,7 +804,7 @@ const QString Call::formattedName() const if (type() == Call::Type::CONFERENCE) return tr("Conference"); else if (!peerContactMethod()) - return "Error"; + return tr("Error"); else if (peerContactMethod()->contact() && !peerContactMethod()->contact()->formattedName().isEmpty()) return peerContactMethod()->contact()->formattedName(); else if (!peerName().isEmpty()) -- GitLab