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() {
|
function validate() {
|
||||||
if (!Utils.isChatKey(chatKey.text) && !Utils.isValidETHNamePrefix(chatKey.text)) {
|
if (!Utils.isChatKey(chatKey.text) && !Utils.isValidETHNamePrefix(chatKey.text)) {
|
||||||
//% "Enter a valid chat key or ENS username"
|
root.validationError = qsTr("Enter a valid chat key or ENS username");
|
||||||
root.validationError = "enter-a-valid-chat-key-or-ens-username";
|
|
||||||
pubKey = ""
|
pubKey = ""
|
||||||
ensUsername = "";
|
ensUsername = "";
|
||||||
} else if (profileModel.profile.pubKey === chatKey.text) {
|
} else if (profileModel.profile.pubKey === chatKey.text) {
|
||||||
|
|
Loading…
Reference in New Issue