diff options
author | Frederick Yin <fkfd@fkfd.me> | 2023-07-29 15:15:24 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2023-07-29 15:15:24 +0800 |
commit | 3d6239a9288d091f0a365e775365e8fa033db822 (patch) | |
tree | 722b361f0d0c9d4625917a67451fdf8d7b98fa34 /contents/ui/main.qml | |
parent | a49cf62f9c0d56e2edd8543fbf7e48d0b9b9bea3 (diff) | |
parent | c82c7b64b82657693a9e2b466a2d8803ce393f07 (diff) |
Merge branch 'expand'
Diffstat (limited to 'contents/ui/main.qml')
-rw-r--r-- | contents/ui/main.qml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/contents/ui/main.qml b/contents/ui/main.qml index 6fd20bc..4e3be19 100644 --- a/contents/ui/main.qml +++ b/contents/ui/main.qml @@ -11,6 +11,7 @@ import org.kde.plasma.networkmanagement 0.2 as PlasmaNM import "kanvas.js" as Kanvas +// TODO: change to PlasmoidItem on KF6 Item { width: PlasmaCore.Units.gridUnit * 20 height: PlasmaCore.Units.gridUnit * 40 @@ -43,12 +44,12 @@ Item { PlasmaExtras.Heading { level: 1 - text: "Kanvas" + text: i18n("Kanvas") } PlasmaExtras.Heading { level: 2 - text: "Announcements" + text: i18n("Announcements") } ListModel { @@ -58,6 +59,7 @@ Item { type: "announcement" course: "CS101" title: "Code quality" + message: "Code may be a little messy…" url: "https://xkcd.com/1513" important: true finished: false @@ -85,14 +87,14 @@ Item { width: parent.width - (PlasmaCore.Units.largeSpacing * 4) visible: announcementsModel.count == 0 iconName: "mail-read-symbolic" - text: "No announcements" + text: i18n("No announcements") } } } PlasmaExtras.Heading { level: 2 - text: "Assignments" + text: i18n("Assignments") } ListModel { @@ -131,7 +133,7 @@ Item { width: parent.width - (PlasmaCore.Units.largeSpacing * 4) visible: assignmentsModel.count == 0 iconName: "mail-read-symbolic" - text: "No assignments" + text: i18n("No assignments") } } } @@ -146,7 +148,7 @@ Item { PlasmaComponents3.Label { id: offlineLabel visible: networkStatus.networkStatus != "Connected" - text: "Network disconnected" + text: i18n("Network disconnected") color: PlasmaCore.Theme.negativeTextColor } } |