Italicize room name in leave/forget poups
Like for the invite popup now
This commit is contained in:
		@@ -2,7 +2,8 @@ import QtQuick 2.12
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
BoxPopup {
 | 
					BoxPopup {
 | 
				
			||||||
    id: popup
 | 
					    id: popup
 | 
				
			||||||
    summary.text: qsTr("Leave %1 and discard the history?").arg(roomName)
 | 
					    summary.text: qsTr("Leave <i>%1</i> and lose the history?").arg(roomName)
 | 
				
			||||||
 | 
					    summary.textFormat: Text.StyledText
 | 
				
			||||||
    details.text: qsTr(
 | 
					    details.text: qsTr(
 | 
				
			||||||
        "You will not be able to see the messages you received in " +
 | 
					        "You will not be able to see the messages you received in " +
 | 
				
			||||||
        "this room anymore.\n\n" +
 | 
					        "this room anymore.\n\n" +
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,8 @@
 | 
				
			|||||||
import QtQuick 2.12
 | 
					import QtQuick 2.12
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BoxPopup {
 | 
					BoxPopup {
 | 
				
			||||||
    summary.text: qsTr("Leave %1?").arg(roomName)
 | 
					    summary.text: qsTr("Leave <i>%1</i>?").arg(roomName)
 | 
				
			||||||
 | 
					    summary.textFormat: Text.StyledText
 | 
				
			||||||
    details.text: qsTr(
 | 
					    details.text: qsTr(
 | 
				
			||||||
        "If this room is private, you will not be able to rejoin it."
 | 
					        "If this room is private, you will not be able to rejoin it."
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user