Commit 91cc5753 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

(cherry picked from commit d1e8501c)

17b0cc3c Use extracted translations to translate asset descriptions
parent 8576bde5
......@@ -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