Changeset View
Changeset View
Standalone View
Standalone View
src/qtquick/qml/private/entrygriddelegates/FeedbackOverlay.qml
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 51 | onEntryChanged: { | |||
---|---|---|---|---|---|
55 | || status == NewStuff.ItemsModel.UpdateableStatus | 55 | || status == NewStuff.ItemsModel.UpdateableStatus | ||
56 | || status == NewStuff.ItemsModel.DeletedStatus) { | 56 | || status == NewStuff.ItemsModel.DeletedStatus) { | ||
57 | statusLabel.text = ""; | 57 | statusLabel.text = ""; | ||
58 | } else if (status == NewStuff.ItemsModel.InstallingStatus) { | 58 | } else if (status == NewStuff.ItemsModel.InstallingStatus) { | ||
59 | statusLabel.text = i18nc("Label for the busy indicator showing an item is being installed", "Installing..."); | 59 | statusLabel.text = i18nc("Label for the busy indicator showing an item is being installed", "Installing..."); | ||
60 | } else if (status == NewStuff.ItemsModel.UpdatingStatus) { | 60 | } else if (status == NewStuff.ItemsModel.UpdatingStatus) { | ||
61 | statusLabel.text = i18nc("Label for the busy indicator showing an item is in the process of being updated", "Updating..."); | 61 | statusLabel.text = i18nc("Label for the busy indicator showing an item is in the process of being updated", "Updating..."); | ||
62 | } else { | 62 | } else { | ||
63 | statusLabel.text = i18nc("Label for the busy indicator which should only be shown when the entry has been given some unknown or invalid status.", "Invalid or unknown state. Please report this to the KDE Community in a bug report."); | 63 | statusLabel.text = i18nc("Label for the busy indicator which should only be shown when the entry has been given some unknown or invalid status.", "Invalid or unknown state. <a href=\"https://bugs.kde.org/enter_bug.cgi?product=frameworks-knewstuff\">Please report this to the KDE Community in a bug report</a>."); | ||
64 | } | 64 | } | ||
65 | } | 65 | } | ||
66 | } | 66 | } | ||
67 | onLinkActivated: Qt.openUrlExternally(link); | ||||
67 | anchors { | 68 | anchors { | ||
68 | top: parent.verticalCenter | 69 | top: parent.verticalCenter | ||
69 | left: parent.left | 70 | left: parent.left | ||
70 | right: parent.right | 71 | right: parent.right | ||
71 | margins: Kirigami.Units.smallSpacing | 72 | margins: Kirigami.Units.smallSpacing | ||
72 | } | 73 | } | ||
73 | horizontalAlignment: Text.AlignHCenter | 74 | horizontalAlignment: Text.AlignHCenter | ||
74 | // TODO: This is where we'd want to put the download progress and cancel button as well | 75 | // TODO: This is where we'd want to put the download progress and cancel button as well | ||
75 | text: i18nc("Label for the busy indicator showing an item is installing", "Installing..."); | 76 | text: i18nc("Label for the busy indicator showing an item is installing", "Installing..."); | ||
76 | } | 77 | } | ||
77 | } | 78 | } |