Verified Commit 5c189388 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

components/calendar: add missing event count in description

parent 65dbd95a
Pipeline #209554 passed with stage
in 9 minutes and 26 seconds
......@@ -28,7 +28,7 @@ PlasmaComponents3.AbstractButton {
readonly property date thisDate: new Date(yearNumber, typeof monthNumber !== "undefined" ? monthNumber - 1 : 0, typeof dayNumber !== "undefined" ? dayNumber : 1)
Accessible.name: thisDate.toLocaleDateString(Qt.locale(), Locale.LongFormat)
Accessible.description: (model.eventCount !== undefined && model.eventCount > 0) ? i18ndp("plasmashellprivateplugin", "%1 event", "%1 events") : i18nd("plasmashellprivateplugin", "No events")
Accessible.description: (model.eventCount !== undefined && model.eventCount > 0) ? i18ndp("plasmashellprivateplugin", "%1 event", "%1 events", model.eventCount) : i18nd("plasmashellprivateplugin", "No events")
readonly property bool today: {
const today = root.today;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment