GH-2144 Fix translatable string

This commit is contained in:
Petr Mrázek 2018-11-12 01:57:26 +01:00
parent 1648b34aed
commit 0f0dc30729

View File

@ -130,7 +130,7 @@ QVariant VersionProxyModel::data(const QModelIndex &index, int role) const
QString version = sourceModel()->data(parentIndex, BaseVersionList::VersionRole).toString(); QString version = sourceModel()->data(parentIndex, BaseVersionList::VersionRole).toString();
if(version == m_currentVersion) if(version == m_currentVersion)
{ {
return version + " " + tr("(installed)"); return tr("%1 (installed)").arg(version);
} }
return version; return version;
} }