mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 07:06:00 +08:00
Translate layerview mode types
This commit is contained in:
parent
f8a3c3b0ba
commit
26fe46ce1f
@ -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…
x
Reference in New Issue
Block a user