fix(CommunityEditSettingsPanel): fix wrong qsTrIds entries
This commit is contained in:
parent
ca410a0e26
commit
73fcbc92bc
|
@ -117,8 +117,7 @@ Flickable {
|
||||||
|
|
||||||
FileDialog {
|
FileDialog {
|
||||||
id: imageDialog
|
id: imageDialog
|
||||||
//% "Please choose an image"
|
title: qsTr("Please choose an image")
|
||||||
title: qsTrId("please-choose-an-image")
|
|
||||||
folder: shortcuts.pictures
|
folder: shortcuts.pictures
|
||||||
nameFilters: [//% "Image files (*.jpg *.jpeg *.png)"
|
nameFilters: [//% "Image files (*.jpg *.jpeg *.png)"
|
||||||
qsTrId("image-files----jpg---jpeg---png-")]
|
qsTrId("image-files----jpg---jpeg---png-")]
|
||||||
|
@ -212,7 +211,7 @@ Flickable {
|
||||||
spacing: 8
|
spacing: 8
|
||||||
|
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
text: qsTrId("Community colour")
|
text: qsTr("Community colour")
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
color: Theme.palette.directColor1
|
color: Theme.palette.directColor1
|
||||||
}
|
}
|
||||||
|
@ -249,6 +248,27 @@ Flickable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StatusListItem {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
|
title: qsTr("History Archive Support")
|
||||||
|
|
||||||
|
visible: root.isCommunityHistoryArchiveSupportEnabled
|
||||||
|
|
||||||
|
sensor.onClicked: {
|
||||||
|
if (root.isCommunityHistoryArchiveSupportEnabled) {
|
||||||
|
historyArchiveSupportToggle.checked = !historyArchiveSupportToggle.checked
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
components: [
|
||||||
|
StatusSwitch {
|
||||||
|
id: historyArchiveSupportToggle
|
||||||
|
enabled: root.isCommunityHistoryArchiveSupportEnabled
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue