mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Code style & switch to translation catalog
This commit is contained in:
parent
f17cc811c4
commit
d195c859a2
16 changed files with 496 additions and 317 deletions
|
@ -6,7 +6,7 @@ import QtQuick.Controls 1.1
|
|||
import QtQuick.Layouts 1.1
|
||||
import QtQuick.Window 2.1
|
||||
|
||||
import UM 1.0 as UM
|
||||
import UM 1.1 as UM
|
||||
|
||||
Item
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ Item
|
|||
property string title
|
||||
|
||||
SystemPalette{id: palette}
|
||||
|
||||
UM.I18nCatalog { id: catalog; name:"cura"}
|
||||
ScrollView
|
||||
{
|
||||
height: parent.height
|
||||
|
@ -36,7 +36,7 @@ Item
|
|||
//: Add UM Original wizard page description
|
||||
width: parent.width
|
||||
wrapMode: Text.WordWrap
|
||||
text: qsTr("To assist you in having better default settings for your Ultimaker. Cura would like to know which upgrades you have in your machine:")
|
||||
text: catalog.i18nc("@label","To assist you in having better default settings for your Ultimaker. Cura would like to know which upgrades you have in your machine:")
|
||||
}
|
||||
|
||||
Column
|
||||
|
@ -46,19 +46,19 @@ Item
|
|||
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Extruder driver ugrades")
|
||||
text: catalog.i18nc("@action:checkbox","Extruder driver ugrades")
|
||||
}
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Heated printer bed (kit)")
|
||||
text: catalog.i18nc("@action:checkbox","Heated printer bed (kit)")
|
||||
}
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Heated printer bed (self built)")
|
||||
text: catalog.i18nc("@action:checkbox","Heated printer bed (self built)")
|
||||
}
|
||||
CheckBox
|
||||
{
|
||||
text: qsTr("Dual extrusion (experimental)")
|
||||
text: catalog.i18nc("@action:checkbox","Dual extrusion (experimental)")
|
||||
checked: true
|
||||
}
|
||||
}
|
||||
|
@ -67,14 +67,14 @@ Item
|
|||
{
|
||||
width: parent.width
|
||||
wrapMode: Text.WordWrap
|
||||
text: qsTr("If you have an Ultimaker bought after october 2012 you will have the Extruder drive upgrade. If you do not have this upgrade, it is highly recommended to improve reliability.");
|
||||
text: catalog.i18nc("@label","If you have an Ultimaker bought after october 2012 you will have the Extruder drive upgrade. If you do not have this upgrade, it is highly recommended to improve reliability.");
|
||||
}
|
||||
|
||||
Label
|
||||
{
|
||||
width: parent.width
|
||||
wrapMode: Text.WordWrap
|
||||
text: qsTr("This upgrade can be bought from the Ultimaker webshop or found on thingiverse as thing:26094");
|
||||
text: catalog.i18nc("@label","This upgrade can be bought from the Ultimaker webshop or found on thingiverse as thing:26094");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue