From: Antoine Jacquet Date: Sat, 24 May 2003 22:00:00 +0000 (+0200) Subject: version 0.44 X-Git-Tag: v0.44 X-Git-Url: http://royale.zerezo.com/git/?a=commitdiff_plain;h=481a35930643cd88c6b55490b45f47b611b87ede;p=irssistats version 0.44 * finnish support (thank you Antti Huopana) * minor updates --- diff --git a/COPYING b/COPYING old mode 100644 new mode 100755 diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 diff --git a/README b/README old mode 100644 new mode 100755 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: diff --git a/irssistats.1 b/irssistats.1 old mode 100644 new mode 100755 index 21230cd..2e7495c --- a/irssistats.1 +++ b/irssistats.1 @@ -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. @@ -76,7 +76,7 @@ You can also take a look at the "sample.nickfile.txt" in this package (in "/usr/ 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. diff --git a/irssistats.c b/irssistats.c old mode 100644 new mode 100755 index 284dcb9..832b239 --- a/irssistats.c +++ b/irssistats.c @@ -23,8 +23,8 @@ #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 @@ -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 */ -#define NBLANGUAGES 5 +#define NBLANGUAGES 6 #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 */ - { "Français", "fr" }, + { "French", "fr" }, { "HEADER", "Statistiques de %s par %s" }, { "LEGEND", "Lé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" } + }, + { /* Finnish language */ + /* contributed by Antti Huopana */ + { "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++; - 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--) diff --git a/pix/h1.png b/pix/h1.png old mode 100644 new mode 100755 diff --git a/pix/h2.png b/pix/h2.png old mode 100644 new mode 100755 diff --git a/pix/h3.png b/pix/h3.png old mode 100644 new mode 100755 diff --git a/pix/h4.png b/pix/h4.png old mode 100644 new mode 100755 diff --git a/pix/hm.png b/pix/hm.png old mode 100644 new mode 100755 diff --git a/pix/irssistats_black.png b/pix/irssistats_black.png old mode 100644 new mode 100755 diff --git a/pix/irssistats_white.png b/pix/irssistats_white.png old mode 100644 new mode 100755 diff --git a/pix/v1.png b/pix/v1.png old mode 100644 new mode 100755 diff --git a/pix/v2.png b/pix/v2.png old mode 100644 new mode 100755 diff --git a/pix/v3.png b/pix/v3.png old mode 100644 new mode 100755 diff --git a/pix/v4.png b/pix/v4.png old mode 100644 new mode 100755 diff --git a/pix/valid-html401.gif b/pix/valid-html401.gif old mode 100644 new mode 100755 diff --git a/pix/vm.png b/pix/vm.png old mode 100644 new mode 100755 diff --git a/sample.nickfile.txt b/sample.nickfile.txt old mode 100644 new mode 100755