summary refs log tree commit diff
path: root/resources/qml/UserProfile.qml
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-03-31 17:07:07 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-03-31 17:07:07 -0400
commit877685d66db2063be65d645b5d596127c0825cec (patch)
tree38f7bc7d8fbae0d125fdb4f3f0feb82d7fe81d2e /resources/qml/UserProfile.qml
parentFix double click on video message (diff)
downloadnheko-877685d66db2063be65d645b5d596127c0825cec.tar.xz
Use qsTr() for strings
Diffstat (limited to '')
-rw-r--r--resources/qml/UserProfile.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/UserProfile.qml b/resources/qml/UserProfile.qml

index dbf13796..055bd7a2 100644 --- a/resources/qml/UserProfile.qml +++ b/resources/qml/UserProfile.qml
@@ -21,7 +21,7 @@ ApplicationWindow { minimumHeight: 420 palette: colors color: colors.window - title: profile.isGlobalUserProfile ? "Global User Profile" : "Room User Profile" + title: profile.isGlobalUserProfile ? qsTr("Global User Profile") : qsTr("Room User Profile") Shortcut { sequence: StandardKey.Cancel @@ -54,7 +54,7 @@ ApplicationWindow { Text { id: errorText - text: "Error Text" + text: qsTr("Error Text") color: "red" visible: opacity > 0 opacity: 0 @@ -238,7 +238,7 @@ ApplicationWindow { id: verifyButton visible: (!profile.userVerificationEnabled && !profile.isSelf) || (profile.isSelf && (model.verificationStatus != VerificationStatus.VERIFIED || !profile.userVerificationEnabled)) - text: (model.verificationStatus != VerificationStatus.VERIFIED) ? "Verify" : "Unverify" + text: (model.verificationStatus != VerificationStatus.VERIFIED) ? qsTr("Verify") : qsTr("Unverify") onClicked: { if (model.verificationStatus == VerificationStatus.VERIFIED) profile.unverify(model.deviceId);