From ebff2538faeb36b85cded5df7a8dc9c2f39df4a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Mon, 11 Jul 2022 11:25:36 +0200 Subject: [PATCH] fix: add forgotten qsTr() --- ui/imports/shared/popups/ProfilePopup.qml | 2 +- ui/imports/shared/views/ProfileView.qml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/imports/shared/popups/ProfilePopup.qml b/ui/imports/shared/popups/ProfilePopup.qml index 18d9f5edf8..0d8bac69f1 100644 --- a/ui/imports/shared/popups/ProfilePopup.qml +++ b/ui/imports/shared/popups/ProfilePopup.qml @@ -233,7 +233,7 @@ StatusModal { anchors.centerIn: parent width: popup.width visible: false - header.title: qsTr("Send Contact Request to") + " " + userDisplayName + header.title: qsTr("Send Contact Request to %1").arg(userDisplayName) userPublicKey: popup.userPublicKey userDisplayName: popup.userDisplayName userIcon: popup.userIcon diff --git a/ui/imports/shared/views/ProfileView.qml b/ui/imports/shared/views/ProfileView.qml index e22835c689..1157c0de6e 100644 --- a/ui/imports/shared/views/ProfileView.qml +++ b/ui/imports/shared/views/ProfileView.qml @@ -239,9 +239,9 @@ Rectangle { ListModel { id: stepsListModel - ListElement {description:"Send Request"; loadingTime: 0; stepCompleted: false} - ListElement {description:"Receive Response"; loadingTime: 0; stepCompleted: false} - ListElement {description:"Confirm Identity"; loadingTime: 0; stepCompleted: false} + ListElement {description: qsTr("Send Request"); loadingTime: 0; stepCompleted: false} + ListElement {description: qsTr("Receive Response"); loadingTime: 0; stepCompleted: false} + ListElement {description: qsTr("Confirm Identity"); loadingTime: 0; stepCompleted: false} } StatusWizardStepper {