Made strings in ConfigurationSelector translatable.

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-12 09:45:55 +01:00
parent 1602bf0999
commit e641584021

View file

@ -15,11 +15,18 @@ import Cura 1.0 as Cura
Cura.ExpandableComponent
{
id: base
Cura.ExtrudersModel
{
id: extrudersModel
}
UM.I18nCatalog
{
id: catalog
name: "cura"
}
headerItem: Item
{
// Horizontal list that shows the extruders
@ -132,7 +139,7 @@ Cura.ExpandableComponent
Label
{
text: "Enabled"
text: catalog.i18nc("@label", "Enabled")
verticalAlignment: Text.AlignVCenter
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
@ -154,7 +161,7 @@ Cura.ExpandableComponent
height: UM.Theme.getSize("print_setup_item").height
Label
{
text: "Material"
text: catalog.i18nc("@label", "Material")
verticalAlignment: Text.AlignVCenter
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")