mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Added missing translate to topbar
This commit is contained in:
parent
0ad7096782
commit
95cacb8300
1 changed files with 7 additions and 2 deletions
|
@ -23,6 +23,11 @@ Rectangle
|
||||||
property bool monitoringPrint: false
|
property bool monitoringPrint: false
|
||||||
signal startMonitoringPrint()
|
signal startMonitoringPrint()
|
||||||
signal stopMonitoringPrint()
|
signal stopMonitoringPrint()
|
||||||
|
UM.I18nCatalog
|
||||||
|
{
|
||||||
|
id: catalog
|
||||||
|
name:"cura"
|
||||||
|
}
|
||||||
|
|
||||||
Row
|
Row
|
||||||
{
|
{
|
||||||
|
@ -39,7 +44,7 @@ Rectangle
|
||||||
iconSource: UM.Theme.getIcon("tab_settings");
|
iconSource: UM.Theme.getIcon("tab_settings");
|
||||||
property color overlayColor: "transparent"
|
property color overlayColor: "transparent"
|
||||||
property string overlayIconSource: ""
|
property string overlayIconSource: ""
|
||||||
text: "Prepare"
|
text: catalog.i18nc("@title:tab","Prepare")
|
||||||
checkable: true
|
checkable: true
|
||||||
checked: !base.monitoringPrint
|
checked: !base.monitoringPrint
|
||||||
exclusiveGroup: sidebarHeaderBarGroup
|
exclusiveGroup: sidebarHeaderBarGroup
|
||||||
|
@ -52,7 +57,7 @@ Rectangle
|
||||||
id: showMonitor
|
id: showMonitor
|
||||||
height: UM.Theme.getSize("sidebar_header").height
|
height: UM.Theme.getSize("sidebar_header").height
|
||||||
onClicked: base.startMonitoringPrint()
|
onClicked: base.startMonitoringPrint()
|
||||||
text: "Print"
|
text: catalog.i18nc("@title:tab", "Print")
|
||||||
iconSource: printerConnected ? UM.Theme.getIcon("tab_monitor_with_status") : UM.Theme.getIcon("tab_monitor")
|
iconSource: printerConnected ? UM.Theme.getIcon("tab_monitor_with_status") : UM.Theme.getIcon("tab_monitor")
|
||||||
property color overlayColor:
|
property color overlayColor:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue