Italicize room name in leave/forget poups

Like for the invite popup now
This commit is contained in:
miruka 2019-12-13 17:11:01 -04:00
parent 843389693e
commit df76efa359
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,8 @@ import QtQuick 2.12
BoxPopup {
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(
"You will not be able to see the messages you received in " +
"this room anymore.\n\n" +

View File

@ -1,7 +1,8 @@
import QtQuick 2.12
BoxPopup {
summary.text: qsTr("Leave %1?").arg(roomName)
summary.text: qsTr("Leave <i>%1</i>?").arg(roomName)
summary.textFormat: Text.StyledText
details.text: qsTr(
"If this room is private, you will not be able to rejoin it."
)