Commit 155ae2ba authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Translate asset menu items

parent d1e8501c
Pipeline #5339 passed with stage
in 34 minutes and 19 seconds
...@@ -35,7 +35,7 @@ Menu { ...@@ -35,7 +35,7 @@ Menu {
onObjectAdded: menuRoot.insertItem( index, object ) onObjectAdded: menuRoot.insertItem( index, object )
onObjectRemoved: menuRoot.removeItem( object ) onObjectRemoved: menuRoot.removeItem( object )
delegate: MenuItem { delegate: MenuItem {
text: timeline.getAssetName(modelData, isTransition) //name text: i18n(timeline.getAssetName(modelData, isTransition)) //name
property string assetId: modelData //identifier property string assetId: modelData //identifier
onTriggered: { onTriggered: {
console.log(assetId) console.log(assetId)
......
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