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:
Eric Mastro 2021-09-17 18:49:58 +10:00 committed by Iuri Matias
parent dbe9b54326
commit 795c0d336c
1 changed files with 1 additions and 2 deletions

View File

@ -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) {