summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-21 19:13:34 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-21 19:13:34 +0200
commitd6ccb6e307aaacdab073f0fa6eb3fa6e269a7644 (patch)
tree3b511feebc9c42d4565ccba4b4b9824724faded8 /resources/qml
parentTweak rainbows slightly (diff)
downloadnheko-d6ccb6e307aaacdab073f0fa6eb3fa6e269a7644.tar.xz
Update translations
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/InviteDialog.qml2
-rw-r--r--resources/qml/RoomMembers.qml4
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
         }