Improve Shared Location messaging
This changes the icon for the shared locations page, adds better placeholder text and so on.
This commit is contained in:
@@ -66,7 +66,10 @@ Kirigami.Page {
|
||||
}
|
||||
|
||||
Kirigami.PlaceholderMessage {
|
||||
text: i18n("There are no locations shared in this room.")
|
||||
icon.name: "mark-location-symbolic"
|
||||
text: i18nc("@info:placeholder", "No shared locations")
|
||||
explanation: i18nc("@info 'Send a Location' should share the same name as the chat bar button", "Share a location by using 'Send a Location' in the chat bar.")
|
||||
|
||||
visible: mapView.map.mapItems.length === 0
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ QQC2.ScrollView {
|
||||
Delegates.RoundedItemDelegate {
|
||||
id: locationsButton
|
||||
visible: !root.room.isSpace
|
||||
icon.name: "map-flat"
|
||||
icon.name: "mark-location-symbolic"
|
||||
text: i18nc("@action:button", "Shared Locations")
|
||||
activeFocusOnTab: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user