Terminology fix: "invite members" → "invite users"
What we're inviting to a room is users that aren't members yet
This commit is contained in:
		@@ -139,7 +139,7 @@ HTile {
 | 
				
			|||||||
            visible: joined
 | 
					            visible: joined
 | 
				
			||||||
            enabled: model.can_invite && accountModel.presence !== "offline"
 | 
					            enabled: model.can_invite && accountModel.presence !== "offline"
 | 
				
			||||||
            icon.name: "room-send-invite"
 | 
					            icon.name: "room-send-invite"
 | 
				
			||||||
            text: qsTr("Invite members")
 | 
					            text: qsTr("Invite users")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            popup: "Popups/InviteToRoomPopup.qml"
 | 
					            popup: "Popups/InviteToRoomPopup.qml"
 | 
				
			||||||
            properties: ({
 | 
					            properties: ({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -155,8 +155,8 @@ HColumnLayout {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                    toolTip.text:
 | 
					                    toolTip.text:
 | 
				
			||||||
                        enabled ?
 | 
					                        enabled ?
 | 
				
			||||||
                        qsTr("Invite members to this room") :
 | 
					                        qsTr("Invite users to this room") :
 | 
				
			||||||
                        qsTr("No permission to invite members to this room")
 | 
					                        qsTr("No permission to invite users to this room")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    onClicked: window.makePopup(
 | 
					                    onClicked: window.makePopup(
 | 
				
			||||||
                        "Popups/InviteToRoomPopup.qml",
 | 
					                        "Popups/InviteToRoomPopup.qml",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -68,7 +68,7 @@ HColumnPopup {
 | 
				
			|||||||
        if (! invitingAllowed && inviteFutureId) py.cancelCoro(inviteFutureId)
 | 
					        if (! invitingAllowed && inviteFutureId) py.cancelCoro(inviteFutureId)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    SummaryLabel {
 | 
					    SummaryLabel {
 | 
				
			||||||
        text: qsTr("Invite members to <i>%1</i>").arg(roomName)
 | 
					        text: qsTr("Invite users to <i>%1</i>").arg(roomName)
 | 
				
			||||||
        textFormat: Text.StyledText
 | 
					        textFormat: Text.StyledText
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -137,7 +137,7 @@ HColumnPopup {
 | 
				
			|||||||
        text:
 | 
					        text:
 | 
				
			||||||
            invitingAllowed ?
 | 
					            invitingAllowed ?
 | 
				
			||||||
            allErrors :
 | 
					            allErrors :
 | 
				
			||||||
            qsTr("You do not have permission to invite members to this room")
 | 
					            qsTr("You do not have permission to invite users to this room")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        Layout.maximumHeight: text ? implicitHeight : 0
 | 
					        Layout.maximumHeight: text ? implicitHeight : 0
 | 
				
			||||||
        Layout.fillWidth: true
 | 
					        Layout.fillWidth: true
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user