Commit d1e8501c authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Merge branch 'translate_descriptions' into 'master'

Use extracted translations to translate asset descriptions

See merge request kde/kdenlive!48
parents 9adb1c21 6c61805e
Pipeline #5312 passed with stage
in 19 minutes and 18 seconds
......@@ -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 {
......
Supports Markdown
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