fix(@desktop/chat): add new chat validation error
Translation was missing for "enter-a-valid-chat-key-or-ens-username”.
This commit is contained in:
parent
dbe9b54326
commit
795c0d336c
|
@ -34,8 +34,7 @@ Item {
|
|||
|
||||
function validate() {
|
||||
if (!Utils.isChatKey(chatKey.text) && !Utils.isValidETHNamePrefix(chatKey.text)) {
|
||||
//% "Enter a valid chat key or ENS username"
|
||||
root.validationError = "enter-a-valid-chat-key-or-ens-username";
|
||||
root.validationError = qsTr("Enter a valid chat key or ENS username");
|
||||
pubKey = ""
|
||||
ensUsername = "";
|
||||
} else if (profileModel.profile.pubKey === chatKey.text) {
|
||||
|
|
Loading…
Reference in New Issue