Quellcode durchsuchen

Fix a typo in MUC error messages (#1238)

* Typo in error message
Licaon_Kter vor 6 Jahren
Ursprung
Commit
20ca324cd8
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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`));
                     }
                 });
             }