Skip to content
Snippets Groups Projects
Commit ad0fc849 authored by Nicolas Jager's avatar Nicolas Jager Committed by Stepan Salenikovich
Browse files

adding missing `tr()`

"error" is returned by `Call::formattedName()` without `tr()`

Change-Id: I8392182c5dd41a749ea55ee8ae074bfca00eb228
Tuleap: #208
parent 3c1ea4e7
Branches
Tags
No related merge requests found
...@@ -804,7 +804,7 @@ const QString Call::formattedName() const ...@@ -804,7 +804,7 @@ const QString Call::formattedName() const
if (type() == Call::Type::CONFERENCE) if (type() == Call::Type::CONFERENCE)
return tr("Conference"); return tr("Conference");
else if (!peerContactMethod()) else if (!peerContactMethod())
return "Error"; return tr("Error");
else if (peerContactMethod()->contact() && !peerContactMethod()->contact()->formattedName().isEmpty()) else if (peerContactMethod()->contact() && !peerContactMethod()->contact()->formattedName().isEmpty())
return peerContactMethod()->contact()->formattedName(); return peerContactMethod()->contact()->formattedName();
else if (!peerName().isEmpty()) else if (!peerName().isEmpty())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment