Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
8bb8d0d0
Commit
8bb8d0d0
authored
Jul 16, 2019
by
Yuri Chornoivan
Committed by
Jean-Baptiste Mardelle
Jul 16, 2019
Browse files
Use extracted translations to translate asset descriptions
(cherry picked from commit
6c61805e
)
parent
8576bde5
Pipeline
#5313
passed with stage
in 19 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/assets/abstractassetsrepository.ipp
View file @
8bb8d0d0
...
...
@@ -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
...
...
src/assets/assetlist/view/qml/assetList.qml
View file @
8bb8d0d0
...
...
@@ -225,7 +225,7 @@ Rectangle {
id
:
sel
model
:
assetListModel
onSelectionChanged
:
{
assetDescription
.
text
=
assetlist
.
getDescription
(
sel
.
currentIndex
)
assetDescription
.
text
=
i18n
(
assetlist
.
getDescription
(
sel
.
currentIndex
)
)
}
}
SplitView
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment