diff options
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/InviteDialog.qml | 2 | ||||
-rw-r--r-- | resources/qml/RoomMembers.qml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/InviteDialog.qml b/resources/qml/InviteDialog.qml index c6b42d29..5aaf0d6d 100644 --- a/resources/qml/InviteDialog.qml +++ b/resources/qml/InviteDialog.qml @@ -29,7 +29,7 @@ ApplicationWindow { close(); } - title: qsTr("Invite users to ") + plainRoomName + title: qsTr("Invite users to %1").arg(plainRoomName) x: MainWindow.x + (MainWindow.width / 2) - (width / 2) y: MainWindow.y + (MainWindow.height / 2) - (height / 2) height: 380 diff --git a/resources/qml/RoomMembers.qml b/resources/qml/RoomMembers.qml index 3758cb0b..bc8a90d2 100644 --- a/resources/qml/RoomMembers.qml +++ b/resources/qml/RoomMembers.qml @@ -14,7 +14,7 @@ ApplicationWindow { property MemberList members - title: qsTr("Members of ") + members.roomName + title: qsTr("Members of %1").arg(members.roomName) x: MainWindow.x + (MainWindow.width / 2) - (width / 2) y: MainWindow.y + (MainWindow.height / 2) - (height / 2) height: 650 @@ -46,7 +46,7 @@ ApplicationWindow { ElidedLabel { font.pixelSize: fontMetrics.font.pixelSize * 2 - fullText: members.memberCount + (members.memberCount === 1 ? qsTr(" person in ") : qsTr(" people in ")) + members.roomName + fullText: qsTr("%n people in %1", "Summary above list of members", members.memberCount).arg(members.roomName) Layout.alignment: Qt.AlignHCenter elideWidth: parent.width - Nheko.paddingMedium } |