From c191adfd0bd136c16fb8bbaf68c81692a628f15a Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 13 Dec 2019 07:17:11 -0400 Subject: [PATCH] Rename "Find someone" page to "Direct chat" --- src/qml/Pages/AddChat/AddChat.qml | 4 ++-- src/qml/Pages/AddChat/{FindSomeone.qml => DirectChat.qml} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/qml/Pages/AddChat/{FindSomeone.qml => DirectChat.qml} (97%) diff --git a/src/qml/Pages/AddChat/AddChat.qml b/src/qml/Pages/AddChat/AddChat.qml index 13860a30..f6a5a9aa 100644 --- a/src/qml/Pages/AddChat/AddChat.qml +++ b/src/qml/Pages/AddChat/AddChat.qml @@ -15,10 +15,10 @@ HPage { HTabContainer { tabModel: [ - qsTr("Find someone"), qsTr("Join room"), qsTr("Create room"), + qsTr("Direct chat"), qsTr("Join room"), qsTr("Create room"), ] - FindSomeone { Component.onCompleted: forceActiveFocus() } + DirectChat { Component.onCompleted: forceActiveFocus() } JoinRoom {} CreateRoom {} } diff --git a/src/qml/Pages/AddChat/FindSomeone.qml b/src/qml/Pages/AddChat/DirectChat.qml similarity index 97% rename from src/qml/Pages/AddChat/FindSomeone.qml rename to src/qml/Pages/AddChat/DirectChat.qml index ba37ae1b..bcfe419b 100644 --- a/src/qml/Pages/AddChat/FindSomeone.qml +++ b/src/qml/Pages/AddChat/DirectChat.qml @@ -69,7 +69,7 @@ HBox { HTextField { id: userField - placeholderText: qsTr("User ID (e.g. @bob:matrix.org)") + placeholderText: qsTr("Peer user ID (e.g. @bob:matrix.org)") error: Boolean(errorMessage.text) Layout.fillWidth: true