summaryrefslogtreecommitdiffstats
path: root/application/VersionProxyModel.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-11-12 01:57:26 +0100
committerPetr Mrázek <peterix@gmail.com>2018-11-12 01:57:26 +0100
commit0f0dc30729934de863202387f2d044be2b5ce96c (patch)
tree6bd04d225c1bc228beb24871d0eaf6f62bfd3b6d /application/VersionProxyModel.cpp
parent1648b34aedb5988c2ffb9076d031b7ff84c83ce9 (diff)
downloadMultiMC-0f0dc30729934de863202387f2d044be2b5ce96c.tar
MultiMC-0f0dc30729934de863202387f2d044be2b5ce96c.tar.gz
MultiMC-0f0dc30729934de863202387f2d044be2b5ce96c.tar.lz
MultiMC-0f0dc30729934de863202387f2d044be2b5ce96c.tar.xz
MultiMC-0f0dc30729934de863202387f2d044be2b5ce96c.zip
GH-2144 Fix translatable string
Diffstat (limited to 'application/VersionProxyModel.cpp')
-rw-r--r--application/VersionProxyModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/VersionProxyModel.cpp b/application/VersionProxyModel.cpp
index 298c02f0..5587136f 100644
--- a/application/VersionProxyModel.cpp
+++ b/application/VersionProxyModel.cpp
@@ -130,7 +130,7 @@ QVariant VersionProxyModel::data(const QModelIndex &index, int role) const
QString version = sourceModel()->data(parentIndex, BaseVersionList::VersionRole).toString();
if(version == m_currentVersion)
{
- return version + " " + tr("(installed)");
+ return tr("%1 (installed)").arg(version);
}
return version;
}