I'm probably missing something simple its quite annoying, currently I have this:
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'], ', ', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ', ($context['num_guests'] + $context['num_users_online']),' Total';
Which displays:
X Users, X Guests, X Total
How can I change this so it reads
X Members, X Guests, X Total User(s)
I can easily just replace "Total" with "Total Users" but what I'm trying to do is something like $txt['guest'] : $txt['guests'] like with the other two, so if in total there's only 1 guests or 1 member then it won't read 1 Users.