mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-27 01:30:09 +02:00
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"));
|
||||
break;
|
||||
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;
|
||||
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;
|
||||
case "quit":
|
||||
strings.push(obj[type] + (obj[type] > 1 ? " users have quit" : " user has quit"));
|
||||
|
|
Loading…
Reference in a new issue