Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/BrowsingPage.qml
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | 49 | Kirigami.CardsListView { | |||
---|---|---|---|---|---|
50 | id: view | 50 | id: view | ||
51 | model: FeaturedModel {} | 51 | model: FeaturedModel {} | ||
52 | currentIndex: -1 | 52 | currentIndex: -1 | ||
53 | delegate: ApplicationDelegate { | 53 | delegate: ApplicationDelegate { | ||
54 | application: model.application | 54 | application: model.application | ||
55 | compact: page.compact | 55 | compact: page.compact | ||
56 | } | 56 | } | ||
57 | 57 | | |||
58 | footer: Kirigami.Heading { | 58 | footer: ColumnLayout { | ||
59 | visible: view.count === 0 | 59 | visible: view.count === 0 | ||
60 | width: parent.width | 60 | width: parent.width | ||
61 | | ||||
62 | Kirigami.Icon { | ||||
63 | source: "network-disconnect" | ||||
64 | Layout.alignment: Qt.AlignHCenter | ||||
65 | width: Kirigami.Units.gridUnit * 4 | ||||
66 | height: width | ||||
67 | } | ||||
68 | | ||||
69 | Kirigami.Heading { | ||||
70 | Layout.fillWidth: true | ||||
61 | horizontalAlignment: Text.AlignHCenter | 71 | horizontalAlignment: Text.AlignHCenter | ||
62 | text: i18n("Please check your connectivity") | 72 | text: xi18nc("@info", "Unable to load any applications<nl/>please verify Internet connectivity") | ||
GB_2: I'd put a dot after "applications" and "connectivity" and capitalize "please". | |||||
73 | } | ||||
63 | } | 74 | } | ||
64 | } | 75 | } | ||
65 | } | 76 | } |
I'd put a dot after "applications" and "connectivity" and capitalize "please".