浏览代码

Fix a typo in MUC error messages (#1238)

* Typo in error message
Licaon_Kter 6 年之前
父节点
当前提交
20ca324cd8
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      locale/converse.pot
  2. 1 1
      src/converse-muc.js

+ 1 - 1
locale/converse.pot

@@ -937,7 +937,7 @@ msgid "Error: the groupchat "
 msgstr ""
 
 #: 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 ""
 
 #. workaround for Prosody which doesn't give type "headline"

+ 1 - 1
src/converse-muc.js

@@ -1326,7 +1326,7 @@
                     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.`));
                     } 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`));
                     }
                 });
             }