"1 games waiting"

Site Ideas

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.

F

Joined
28 Oct 05
Moves
34587
02 Jul 12

How come this chess site, which is so sophisticated in so many ways, is unable to omit the 's' from games when there is only one game waiting?

Dave

S.Yorks.England

Joined
18 Apr 10
Moves
84046
02 Jul 12

Originally posted by FMF
How come this chess site, which is so sophisticated in so many ways, is unable to omit the 's' from games when there is only one game waiting?
What does it matter?

S
Caninus Interruptus

2014.05.01

Joined
11 Apr 07
Moves
92274
02 Jul 12

Originally posted by FMF
How come this chess site, which is so sophisticated in so many ways, is unable to omit the 's' from games when there is only one game waiting?
Well, they tried that, but it showed "0 game waiting" too, and that drew a lot more complaints. 😛

P
Mystic Meg

tinyurl.com/3sbbwd4

Joined
27 Mar 03
Moves
17242
02 Jul 12

Originally posted by FMF
How come this chess site, which is so sophisticated in so many ways, is unable to omit the 's' from games when there is only one game waiting?
Where are you reading that? I have ONE GAME WAITING.

Australia

Joined
20 Jan 09
Moves
386753
02 Jul 12

I wouldn't complain about the wording of this function, at least it can count correctly. If it ain't broke ...

F

Joined
28 Oct 05
Moves
34587
03 Jul 12

Originally posted by Kewpie
I wouldn't complain about the wording of this function, at least it can count correctly. If it ain't broke ...
It is broke, though.

F

Joined
28 Oct 05
Moves
34587
03 Jul 12

Originally posted by venda
What does it matter?
What does your question matter?

F

Joined
28 Oct 05
Moves
34587
03 Jul 12

Originally posted by SwissGambit
Well, they tried that, but it showed "0 game waiting" too, and that drew a lot more complaints. 😛
Well, perhaps we should complain about both.

Australia

Joined
20 Jan 09
Moves
386753
03 Jul 12

Originally posted by FMF
It is broke, though.
No, only dented, it's just a cosmetic thing.

S
Caninus Interruptus

2014.05.01

Joined
11 Apr 07
Moves
92274
03 Jul 12
2 edits

Originally posted by FMF
Well, perhaps we should complain about both.
Hmm...the code looks correct to me:
document.write('<a class="loggedInInfo" href="/core/gameserve.php">' + nGamesWaiting + ' game' + (nGamesWaiting!=1?'s':'')
The part in bold means that an 's' is only added to 'game' when the number of games waiting is not equal to 1.

Out of curiosity, do you see '1 games waiting' on every page, or just some of them?

Edit: confirmed. I just started a game and it says "1 game waiting".

Dave

S.Yorks.England

Joined
18 Apr 10
Moves
84046
03 Jul 12

Originally posted by FMF
What does your question matter?
It doesn't ,just like it doesn't matter if it says 1 game waiting or 1 games waiting.

F

Joined
28 Oct 05
Moves
34587
03 Jul 12
1 edit

Originally posted by venda
It doesn't ,just like it doesn't matter if it says 1 game waiting or 1 games waiting.
It matters to me. Isn't this what this particular forum is for?

F

Joined
28 Oct 05
Moves
34587
03 Jul 12

Originally posted by SwissGambit
Out of curiosity, do you see '1 games waiting' on every page, or just some of them?
Every page. Going all the way back to when I joined. It's taken me almost 7 years to break my silence.

F

Joined
28 Oct 05
Moves
34587
03 Jul 12

Oh, it appears to have been fixed! Thank you.

R
CerebrallyChallenged

Lyme BayChesil Beach

Joined
09 Dec 06
Moves
17848
04 Jul 12
1 edit

Originally posted by FMF
How come this chess site, which is so sophisticated in so many ways, is unable to omit the 's' from games when there is only one game waiting?
Naturally, the easiest 'fix' would be to qualify 'gameS' with matched pair parenthesis, 'game(s)' being the result. Personally I don;t think there are any benefits to changing what is already evident here; it's just my opinion based upon the fact that folk already understand the difference, and I'd wager very few would even notice any 'correction' ??
Edit: I note you mention a fix...although I can't see it, it does surprise me !