Browse Source

Capitalize "groupchat" (#1707)

* Capitalize "groupchat"

* Also locale

* Also muc spec
Licaon_Kter 5 years ago
parent
commit
a69ebcbdf6
3 changed files with 5 additions and 5 deletions
  1. 2 2
      locale/converse.pot
  2. 1 1
      spec/muc.js
  3. 2 2
      src/headless/converse-muc.js

+ 2 - 2
locale/converse.pot

@@ -489,11 +489,11 @@ msgid "The groupchat configuration has changed"
 msgstr ""
 
 #: dist/converse-no-dependencies.js:28715
-msgid "groupchat logging is now enabled"
+msgid "Groupchat logging is now enabled"
 msgstr ""
 
 #: dist/converse-no-dependencies.js:28716
-msgid "groupchat logging is now disabled"
+msgid "Groupchat logging is now disabled"
 msgstr ""
 
 #: dist/converse-no-dependencies.js:28717

+ 1 - 1
spec/muc.js

@@ -2293,7 +2293,7 @@
                 await u.waitUntil(() => view.el.querySelectorAll('.chat-content .chat-info').length === 2);
                 const info_messages = view.el.querySelectorAll('.chat-content .chat-info');
                 expect(info_messages[0].textContent.trim()).toBe('romeo has entered the groupchat');
-                expect(info_messages[1].textContent.trim()).toBe('groupchat logging is now enabled');
+                expect(info_messages[1].textContent.trim()).toBe('Groupchat logging is now enabled');
                 done();
             }));
 

+ 2 - 2
src/headless/converse-muc.js

@@ -166,8 +166,8 @@ converse.plugins.add('converse-muc', {
                 102: __('This groupchat now shows unavailable members'),
                 103: __('This groupchat does not show unavailable members'),
                 104: __('The groupchat configuration has changed'),
-                170: __('groupchat logging is now enabled'),
-                171: __('groupchat logging is now disabled'),
+                170: __('Groupchat logging is now enabled'),
+                171: __('Groupchat logging is now disabled'),
                 172: __('This groupchat is now no longer anonymous'),
                 173: __('This groupchat is now semi-anonymous'),
                 174: __('This groupchat is now fully-anonymous'),