Commit 2cfea7cb authored by JC Brand's avatar JC Brand

Add description for translateable text

parent 27e74853
...@@ -640,6 +640,7 @@ converse.plugins.add('converse-muc-views', { ...@@ -640,6 +640,7 @@ converse.plugins.add('converse-muc-views', {
} else if (current_affiliation === 'outcast') { } else if (current_affiliation === 'outcast') {
this.showChatEvent(__("%1$s has been banned from this groupchat", occupant.get('nick'))) this.showChatEvent(__("%1$s has been banned from this groupchat", occupant.get('nick')))
} else if (current_affiliation === 'admin' || current_affiliation == 'owner') { } else if (current_affiliation === 'admin' || current_affiliation == 'owner') {
// For example: AppleJack is now an (admin|owner) of this groupchat
this.showChatEvent(__('%1$s is now an %2$s of this groupchat', occupant.get('nick'), current_affiliation)) this.showChatEvent(__('%1$s is now an %2$s of this groupchat', occupant.get('nick'), current_affiliation))
} }
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment