inherit
192934
0
Nov 12, 2019 9:03:29 GMT -8
jpmartel
26
April 2013
jpmartel
|
Post by jpmartel on Apr 27, 2013 11:19:48 GMT -8
At lines 77 and 102 in the Home code, and at line 130 in the Board code, instead of "!= 1", I would suggest "!=< 1", otherwise, the page will display "0 visitorS" instead of "0 visitor'. Same thing for guests.
|
|
baz657
Junior Member
Roll on the warmer weather
Posts: 384
inherit
182600
0
Jul 21, 2021 2:46:54 GMT -8
baz657
Roll on the warmer weather
384
September 2012
baz657
|
Post by baz657 on Apr 27, 2013 12:00:06 GMT -8
The code is correct. You would say no (or zero) visitors have been today. You wouldn't say no (or zero) visitor has been today.
Same goes for guests.
|
|
inherit
192934
0
Nov 12, 2019 9:03:29 GMT -8
jpmartel
26
April 2013
jpmartel
|
Post by jpmartel on Apr 27, 2013 14:06:42 GMT -8
The code is correct. You would say no (or zero) visitors have been today. You wouldn't say no (or zero) visitor has been today. Same goes for guests. You're right. However since the interface has been translated in French, what is the best way to change the code so that zero or one visitor is singular and from 2 (and more) there's a plurial ? Moreover, where can I translate what appears on the "Create Thread", "Reply", "Quote" and "Edit" buttons ?
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Apr 27, 2013 19:41:16 GMT -8
< 2 should work.
You may need a header and footer code or a plugin to change the names of the buttons.
|
|
inherit
192934
0
Nov 12, 2019 9:03:29 GMT -8
jpmartel
26
April 2013
jpmartel
|
Post by jpmartel on Apr 28, 2013 6:08:09 GMT -8
Thanks.
|
|
inherit
192934
0
Nov 12, 2019 9:03:29 GMT -8
jpmartel
26
April 2013
jpmartel
|
Post by jpmartel on Apr 28, 2013 7:42:26 GMT -8
|
|