GODT-2258: change login label and suggest email instead of username.

This commit is contained in:
Xavier Michelon
2023-01-17 11:29:28 +01:00
parent a377384553
commit fe009ca235
7 changed files with 21 additions and 11 deletions

View File

@ -204,7 +204,7 @@ FocusScope {
TextField {
colorScheme: root.colorScheme
id: usernameTextField
label: qsTr("Username or email")
label: qsTr("Email or username")
focus: true
Layout.fillWidth: true
Layout.topMargin: 24
@ -221,7 +221,7 @@ FocusScope {
validator: function(str) {
if (str.length === 0) {
return qsTr("Enter username or email")
return qsTr("Enter email or username")
}
return
}