Commit 6c61805e authored by Yuri Chornoivan's avatar Yuri Chornoivan Committed by Jean-Baptiste Mardelle

Use extracted translations to translate asset descriptions

parent 9adb1c21
......@@ -301,7 +301,6 @@ template <typename AssetType> bool AbstractAssetsRepository<AssetType>::parseInf
QString description = Xml::getSubTagContent(currentAsset, QStringLiteral("description"));
if (!description.isEmpty()) {
res.description = description;
res.description.append(QString(" (%1)").arg(tag));
}
// Update name if the xml provide one
......
......@@ -225,7 +225,7 @@ Rectangle {
id: sel
model: assetListModel
onSelectionChanged: {
assetDescription.text = assetlist.getDescription(sel.currentIndex)
assetDescription.text = i18n(assetlist.getDescription(sel.currentIndex))
}
}
SplitView {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment