This commit is contained in:
rating89us 2024-11-25 23:22:14 +00:00 committed by GitHub
commit eeb08426a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,7 +128,7 @@ Rectangle {
stepSize: 1
to: 60
value: persistentSettings.autosaveMinutes
text: "%1 %2 %3".arg(qsTr("Every")).arg(value).arg(qsTr("minute(s)")) + translationManager.emptyString
text: qsTr("Every %n minute(s)", "0", value) + translationManager.emptyString
onMoved: persistentSettings.autosaveMinutes = value
}
@ -148,10 +148,7 @@ Rectangle {
stepSize: 1
to: 60
value: persistentSettings.lockOnUserInActivityInterval
text: {
var minutes = value > 1 ? qsTr("minutes") : qsTr("minute");
return qsTr("After ") + value + " " + minutes + translationManager.emptyString;
}
text: qsTr("After %n minute(s)", "0", value) + translationManager.emptyString
onMoved: persistentSettings.lockOnUserInActivityInterval = value
}