From c27948ca3ca8c825d50045e752e0a9dc0ddd254b Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 15 Nov 2024 21:57:17 -0500 Subject: [PATCH] Change the leave button in the drawer to "Leave this space" if needed --- src/qml/RoomInformation.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/RoomInformation.qml b/src/qml/RoomInformation.qml index abe65dd60..1275a386f 100644 --- a/src/qml/RoomInformation.qml +++ b/src/qml/RoomInformation.qml @@ -133,7 +133,7 @@ QQC2.ScrollView { Delegates.RoundedItemDelegate { id: leaveButton icon.name: "arrow-left-symbolic" - text: i18nc("@action:button", "Leave this room") + text: root.room.isSpace ? i18nc("@action:button", "Leave this space") : i18nc("@action:button", "Leave this room") activeFocusOnTab: true Layout.fillWidth: true