Roxen.git
/
server
/
languages
/
english.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/languages/english.pike:1:
/* Bugs by: Per */
-
string cvs_version = "$Id: english.pike,v 1.
2
1996
/
12/
01
19
:
18
:
41
per
Exp $";
+
string cvs_version = "$Id: english.pike,v 1.
3
1997
/
01
/
09
14
:
39
:
04
grubba
Exp $";
inline string month(int num) { return ({ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" })[ num - 1 ]; } string ordered(int i) { switch(i)
Roxen.git/server/languages/english.pike:51:
if(t1["yday"]-1 == t2["yday"] && t1["year"] == t2["year"]) return "tomorrow, "+ ctime(timestamp)[11..15]; if(t1["year"] != t2["year"]) return (month(t1["mon"]+1) + " " + (t1["year"]+1900)); return (month(t1["mon"]+1) + " " + ordered(t1["mday"])); } if(m["full"]) return ctime(timestamp)[11..15]+", "+ month(t1["mon"]+1) + " the "
-
+ ordered(t1["mday"]) + ", " +(
t2
["year"]+1900);
+
+ ordered(t1["mday"]) + ", " +(
t1
["year"]+1900);
if(m["date"]) return month(t1["mon"]+1) + " the " + ordered(t1["mday"])
-
+ " in the year of " +(
t2
["year"]+1900);
+
+ " in the year of " +(
t1
["year"]+1900);
if(m["time"]) return ctime(timestamp)[11..15]; } string number(int num) { if(num<0) return "minus "+number(-num); switch(num)