Fix a typo in MUC error messages (#1238)

* Typo in error message
This commit is contained in:
Licaon_Kter 2018-10-09 04:51:31 +00:00 committed by JC Brand
parent 2f5691dc1e
commit 20ca324cd8
2 changed files with 2 additions and 2 deletions

View File

@ -937,7 +937,7 @@ msgid "Error: the groupchat "
msgstr "" msgstr ""
#: dist/converse-no-dependencies.js:44811 #: dist/converse-no-dependencies.js:44811
msgid "Sorry, you're not allowed to registerd in this groupchat" msgid "Sorry, you're not allowed to register in this groupchat"
msgstr "" msgstr ""
#. workaround for Prosody which doesn't give type "headline" #. workaround for Prosody which doesn't give type "headline"

View File

@ -1326,7 +1326,7 @@
if (sizzle('item-not-found[xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"]', iq).length) { if (sizzle('item-not-found[xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"]', iq).length) {
this.feedback.set('error', __(`Error: the groupchat ${this.model.getDisplayName()} does not exist.`)); this.feedback.set('error', __(`Error: the groupchat ${this.model.getDisplayName()} does not exist.`));
} else if (sizzle('not-allowed[xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"]').length) { } else if (sizzle('not-allowed[xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"]').length) {
this.feedback.set('error', __(`Sorry, you're not allowed to registerd in this groupchat`)); this.feedback.set('error', __(`Sorry, you're not allowed to register in this groupchat`));
} }
}); });
} }