version 0.44 v0.44
authorAntoine Jacquet <royale@zerezo.com>
Sat, 24 May 2003 22:00:00 +0000 (00:00 +0200)
committerAntoine Jacquet <royale@zerezo.com>
Sat, 24 May 2003 22:00:00 +0000 (00:00 +0200)
* finnish support (thank you Antti Huopana)
* minor updates

19 files changed:
COPYING [changed mode: 0644->0755]
Makefile [changed mode: 0644->0755]
README [changed mode: 0644->0755]
irssistats.1 [changed mode: 0644->0755]
irssistats.c [changed mode: 0644->0755]
pix/h1.png [changed mode: 0644->0755]
pix/h2.png [changed mode: 0644->0755]
pix/h3.png [changed mode: 0644->0755]
pix/h4.png [changed mode: 0644->0755]
pix/hm.png [changed mode: 0644->0755]
pix/irssistats_black.png [changed mode: 0644->0755]
pix/irssistats_white.png [changed mode: 0644->0755]
pix/v1.png [changed mode: 0644->0755]
pix/v2.png [changed mode: 0644->0755]
pix/v3.png [changed mode: 0644->0755]
pix/v4.png [changed mode: 0644->0755]
pix/valid-html401.gif [changed mode: 0644->0755]
pix/vm.png [changed mode: 0644->0755]
sample.nickfile.txt [changed mode: 0644->0755]

diff --git a/COPYING b/COPYING
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
diff --git a/README b/README
old mode 100644 (file)
new mode 100755 (executable)
index d13d480..1f4c63d
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-irssistats 0.43
-site: http://royale.zerezo.com/programmation/irssistats/
+irssistats 0.44
+site: http://royale.zerezo.com/irssistats/
 mail: royale@zerezo.com
 
 install:
 mail: royale@zerezo.com
 
 install:
old mode 100644 (file)
new mode 100755 (executable)
index 21230cd..2e7495c
@@ -1,4 +1,4 @@
-.TH irssistats 1 23-Nov-2002 "version 0.43" irssistats
+.TH irssistats 1 23-Nov-2002 "version 0.44" irssistats
 
 .SH NAME
 irssistats - A tool to generate HTML IRC stats based on irssi logs.
 
 .SH NAME
 irssistats - A tool to generate HTML IRC stats based on irssi logs.
@@ -76,7 +76,7 @@ You can also take a look at the "sample.nickfile.txt" in this package (in "/usr/
 irssi(1)
 
 .SH INFORMATIONS
 irssi(1)
 
 .SH INFORMATIONS
-You can find informations and updates of \fBirssistats\fP at \fIhttp://royale.zerezo.com/programmation/irssistats/\fP.
+You can find informations and updates of \fBirssistats\fP at \fIhttp://royale.zerezo.com/irssistats/\fP.
 .PP
 Report bugs to \fIroyale@zerezo.com\fP.
 
 .PP
 Report bugs to \fIroyale@zerezo.com\fP.
 
old mode 100644 (file)
new mode 100755 (executable)
index 284dcb9..832b239
@@ -23,8 +23,8 @@
 #define MINWORDLENGTH 5
 
 /* irssistats */
 #define MINWORDLENGTH 5
 
 /* irssistats */
-#define VERSION "0.43"
-#define URL "http://royale.zerezo.com/programmation/irssistats/"
+#define VERSION "0.44"
+#define URL "http://royale.zerezo.com/irssistats/"
 
 /* Counters */
 #define D_SMILE     0
 
 /* Counters */
 #define D_SMILE     0
@@ -44,7 +44,7 @@
 char *counters[NBCOUNTERS]={"C_SMILE","C_FROWN","C_EXCLAM","C_QUESTION","C_ME","C_TOPIC","C_MODE","C_KICK","C_KICKED","C_URL","C_JOIN","C_NICK","C_MONOLOGUE"};
 
 /* Languages */
 char *counters[NBCOUNTERS]={"C_SMILE","C_FROWN","C_EXCLAM","C_QUESTION","C_ME","C_TOPIC","C_MODE","C_KICK","C_KICKED","C_URL","C_JOIN","C_NICK","C_MONOLOGUE"};
 
 /* Languages */
-#define NBLANGUAGES 5
+#define NBLANGUAGES 6
 #define NBKEYS 38
 char *keys[NBLANGUAGES][NBKEYS+1][2]= /* first key used for language name and abbreviation */
 {
 #define NBKEYS 38
 char *keys[NBLANGUAGES][NBKEYS+1][2]= /* first key used for language name and abbreviation */
 {
@@ -90,7 +90,7 @@ char *keys[NBLANGUAGES][NBKEYS+1][2]= /* first key used for language name and ab
     { "C_MONOLOGUE",  "speaks a lot of monologues" }
   },
   { /* French language */
     { "C_MONOLOGUE",  "speaks a lot of monologues" }
   },
   { /* French language */
-    { "Français",     "fr" },
+    { "French",     "fr" },
     { "HEADER",       "Statistiques de %s par %s" },
     { "LEGEND",       "L&eacute;gende" },
     { "LASTDAYS",     "Statistiques des derniers jours" },
     { "HEADER",       "Statistiques de %s par %s" },
     { "LEGEND",       "L&eacute;gende" },
     { "LASTDAYS",     "Statistiques des derniers jours" },
@@ -255,6 +255,48 @@ char *keys[NBLANGUAGES][NBKEYS+1][2]= /* first key used for language name and ab
     { "C_JOIN",       "nie wie czy zostac czy wyjsc" },
     { "C_NICK",       "czesto zmienia swojego nicka" },
     { "C_MONOLOGUE",  "czesto mowi monologiem" }
     { "C_JOIN",       "nie wie czy zostac czy wyjsc" },
     { "C_NICK",       "czesto zmienia swojego nicka" },
     { "C_MONOLOGUE",  "czesto mowi monologiem" }
+  },
+  { /* Finnish language */
+    /* contributed by Antti Huopana <ahuopana@ratol.fi> */
+    { "Finnish",      "fi" },
+    { "HEADER",       "Kanavan %s tilastot - %s" },
+    { "LEGEND",       "Merkkien selitykset" },
+    { "LASTDAYS",     "Viime päivien tilastot" },
+    { "TOPHOURS",     "Tilastot tunneittain" },
+    { "TOPUSERS",     "Aktiivisimmat ihmiset" },
+    { "OTHERS",       "Jäljelle jäi %d joita ei listattu..." },
+    { "NBLINES",      "rivit" },
+    { "NICK",         "nikki" },
+    { "AVGLETTERS",   "kirjainta/rivi" },
+    { "HOURS",        "tunnit" },
+    { "QUOTE",        "satunnainen viesti" },
+    { "TOPUSERSTIME", "Vuorokauden ajan mukaan aktiivisimmat" },
+    { "RANDTOPICS",   "Joitakin aiheita" },
+    { "CHANGEDBY",    "vaihtaja" },
+    { "NEWTOPIC",     "aihe" },
+    { "RANDURLS",     "Joitakin URLeja" },
+    { "POSTEDBY",     "lähettäjä" },
+    { "POSTEDURL",    "URL" },
+    { "TOPWORDS",     "Eniten käytettyjä sanoja" },
+    { "WORD",         "sana" },
+    { "OCCURRENCES",  "käytetty" },
+    { "BIGNUMBERS",   "Joitakin isoja lukuja..." },
+    { "NUMBERS",      "luvut" },
+    { "TIME",         "%d riviä (%d päivää) parsittu %d sekunnissa" },
+    { "FOOTER",       "Tilastot on generoinut" },
+    { "C_SMILE",      "on usein iloinen :)" },
+    { "C_FROWN",      "on usein surullinen :(" },
+    { "C_EXCLAM",     "möykkää paljon !" },
+    { "C_QUESTION",   "kyselee liikaa ?" },
+    { "C_ME",         "pitää itsestään" },
+    { "C_TOPIC",      "vaihtaa usein aihetta" },
+    { "C_MODE",       "haluaa elää muuttuvassa maailmassa" },
+    { "C_KICK",       "pitää potkimisesta" },
+    { "C_KICKED",     "tykkää tulla potkituksi" },
+    { "C_URL",        "surffailee liikaa" },
+    { "C_JOIN",       "ei tiedä ollakko vai eikö olla" },
+    { "C_NICK",       "kärsii identiteettiongelmista" },
+    { "C_MONOLOGUE",  "höpöttää paljon itsekseen" }
   }
 };
 
   }
 };
 
@@ -565,7 +607,7 @@ int main(int argc,char *argv[])
     {
       line[pos-1]='\0';
       totallines++;
     {
       line[pos-1]='\0';
       totallines++;
-      if (totallines%10000==0) { fprintf(stderr,"."); fflush(stdout); }
+      if (totallines%10000==0) { fprintf(stderr,"."); fflush(stderr); }
       if (strncmp("--- Day changed",line,15)==0) /* --- Day changed Wed May 01 2002 */
       {
         for (i=30;i>0;i--)
       if (strncmp("--- Day changed",line,15)==0) /* --- Day changed Wed May 01 2002 */
       {
         for (i=30;i>0;i--)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)