Merge pull request #2383 from thelounge/xpaw/condensed-join-part

Make condensed joins and parts shorter
This commit is contained in:
Jérémie Astori 2018-04-25 21:03:56 -04:00 committed by GitHub
commit c5564f6bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"));