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