fix(CommunityEditSettingsPanel): fix wrong qsTrIds entries

This commit is contained in:
Stefan 2022-05-04 15:08:04 +02:00 committed by Stefan Dunca
parent ca410a0e26
commit 73fcbc92bc
1 changed files with 23 additions and 3 deletions

View File

@ -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
}