fix(CommunityEditSettingsPanel): fix wrong qsTrIds entries
This commit is contained in:
parent
ca410a0e26
commit
73fcbc92bc
|
@ -117,8 +117,7 @@ Flickable {
|
|||
|
||||
FileDialog {
|
||||
id: imageDialog
|
||||
//% "Please choose an image"
|
||||
title: qsTrId("please-choose-an-image")
|
||||
title: qsTr("Please choose an image")
|
||||
folder: shortcuts.pictures
|
||||
nameFilters: [//% "Image files (*.jpg *.jpeg *.png)"
|
||||
qsTrId("image-files----jpg---jpeg---png-")]
|
||||
|
@ -212,7 +211,7 @@ Flickable {
|
|||
spacing: 8
|
||||
|
||||
StatusBaseText {
|
||||
text: qsTrId("Community colour")
|
||||
text: qsTr("Community colour")
|
||||
font.pixelSize: 15
|
||||
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 {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue