Merge pull request #2383 from thelounge/xpaw/condensed-join-part
Make condensed joins and parts shorter
This commit is contained in:
commit
c5564f6bff
@ -40,10 +40,10 @@ function updateText(condensed, addedTypes) {
|
|||||||
strings.push(obj[type] + (obj[type] > 1 ? " users have changed hostname" : " user has changed hostname"));
|
strings.push(obj[type] + (obj[type] > 1 ? " users have changed hostname" : " user has changed hostname"));
|
||||||
break;
|
break;
|
||||||
case "join":
|
case "join":
|
||||||
strings.push(obj[type] + (obj[type] > 1 ? " users have joined the channel" : " user has joined the channel"));
|
strings.push(obj[type] + (obj[type] > 1 ? " users have joined" : " user has joined"));
|
||||||
break;
|
break;
|
||||||
case "part":
|
case "part":
|
||||||
strings.push(obj[type] + (obj[type] > 1 ? " users have left the channel" : " user has left the channel"));
|
strings.push(obj[type] + (obj[type] > 1 ? " users have left" : " user has left"));
|
||||||
break;
|
break;
|
||||||
case "quit":
|
case "quit":
|
||||||
strings.push(obj[type] + (obj[type] > 1 ? " users have quit" : " user has quit"));
|
strings.push(obj[type] + (obj[type] > 1 ? " users have quit" : " user has quit"));
|
||||||
|
Loading…
Reference in New Issue
Block a user