Make condensed joins and parts shorter

This commit is contained in:
Pavel Djundik 2018-04-24 13:01:20 +03:00 committed by GitHub
parent 73b1293522
commit 810ecd429a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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