Capitalized labels, made them translatable. CURA-3273

This commit is contained in:
Jack Ha 2017-02-20 09:55:07 +01:00
parent cd54552498
commit fd2525768d

View file

@ -161,11 +161,11 @@ Item
{ {
id: layerViewTypes id: layerViewTypes
ListElement { ListElement {
text: "Material color" text: catalog.i18nc("@label", "Material Color")
type_id: 0 type_id: 0
} }
ListElement { ListElement {
text: "Line type" text: catalog.i18nc("@label", "Line Type")
type_id: 1 // these ids match the switching in the shader type_id: 1 // these ids match the switching in the shader
} }
} }
@ -205,7 +205,7 @@ Item
id: compatibilityModeLabel id: compatibilityModeLabel
anchors.top: parent.top anchors.top: parent.top
anchors.left: parent.left anchors.left: parent.left
text: catalog.i18nc("@label","Compatibility mode") text: catalog.i18nc("@label","Compatibility Mode")
visible: UM.LayerView.compatibilityMode visible: UM.LayerView.compatibilityMode
} }
@ -285,35 +285,35 @@ Item
onClicked: { onClicked: {
UM.Preferences.setValue("layerview/show_travel_moves", checked); UM.Preferences.setValue("layerview/show_travel_moves", checked);
} }
text: "Show travel moves" text: catalog.i18nc("@label", "Show Travel Moves")
} }
CheckBox { CheckBox {
checked: view_settings.show_support checked: view_settings.show_support
onClicked: { onClicked: {
UM.Preferences.setValue("layerview/show_support", checked); UM.Preferences.setValue("layerview/show_support", checked);
} }
text: "Show support" text: catalog.i18nc("@label", "Show Support")
} }
CheckBox { CheckBox {
checked: view_settings.show_adhesion checked: view_settings.show_adhesion
onClicked: { onClicked: {
UM.Preferences.setValue("layerview/show_adhesion", checked); UM.Preferences.setValue("layerview/show_adhesion", checked);
} }
text: "Show adhesion" text: catalog.i18nc("@label", "Show Adhesion")
} }
CheckBox { CheckBox {
checked: view_settings.show_skin checked: view_settings.show_skin
onClicked: { onClicked: {
UM.Preferences.setValue("layerview/show_skin", checked); UM.Preferences.setValue("layerview/show_skin", checked);
} }
text: "Show skin" text: catalog.i18nc("@label", "Show Skin")
} }
CheckBox { CheckBox {
checked: view_settings.show_infill checked: view_settings.show_infill
onClicked: { onClicked: {
UM.Preferences.setValue("layerview/show_infill", checked); UM.Preferences.setValue("layerview/show_infill", checked);
} }
text: "Show infill" text: catalog.i18nc("@label", "Show Infill")
} }
} }
} }