mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Translate layerview mode types
This commit is contained in:
parent
f8a3c3b0ba
commit
26fe46ce1f
1 changed files with 10 additions and 6 deletions
|
@ -160,14 +160,18 @@ Item
|
||||||
ListModel // matches LayerView.py
|
ListModel // matches LayerView.py
|
||||||
{
|
{
|
||||||
id: layerViewTypes
|
id: layerViewTypes
|
||||||
ListElement {
|
}
|
||||||
text: "Material Color"
|
|
||||||
|
Component.onCompleted:
|
||||||
|
{
|
||||||
|
layerViewTypes.append({
|
||||||
|
text: catalog.i18nc("@title:layerview mode", "Material Color"),
|
||||||
type_id: 0
|
type_id: 0
|
||||||
}
|
})
|
||||||
ListElement {
|
layerViewTypes.append({
|
||||||
text: "Line Type"
|
text: catalog.i18nc("@title:layerview mode", "Line Type"),
|
||||||
type_id: 1 // these ids match the switching in the shader
|
type_id: 1 // these ids match the switching in the shader
|
||||||
}
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
ComboBox
|
ComboBox
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue