From: Frédéric Marchal Date: Mon, 3 May 2010 09:38:04 +0000 (+0000) Subject: Fix the exclusion of status codes to exclude more than one code X-Git-Tag: v2.3-pre2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e239b70ed683dbdbac7964a216d9ccbfc47b7ca;p=thirdparty%2Fsarg.git Fix the exclusion of status codes to exclude more than one code --- diff --git a/ChangeLog b/ChangeLog index 81d65b7..2b65641 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,6 @@ SARG ChangeLog -Apr-13-2009 Version 2.3-pre1 +May-3-2009 Version 2.3-pre2 - LDAP usertab added. Now you can have your users in a LDAP Server. Use these tags in sarg.conf: LDAPHost, LDAPPort, LDAPBindDN, LDAPBindPW, @@ -23,6 +23,7 @@ Apr-13-2009 Version 2.3-pre1 - Check the correct writing of the HTML files (thanks to Markus Elfring). - Use the word "Redirector" instead of mentioning explicitly squidGuard in the reports as at least Rejik is compatible with sarg (thanks to Maxim Britov). - The date range passed as argument is not restricted to the actual range covered by the log files any more. + - Fix the exclusion of status codes to exclude more than one code. Feb-10-2010 Version 2.2.7.1 - Fixed compilation error reported by some compilers due to an sizeof in a fprintf (thanks to Maxim Britov and Renato Botelho). diff --git a/exclude.c b/exclude.c index b50fbbf..586a7cd 100644 --- a/exclude.c +++ b/exclude.c @@ -128,7 +128,6 @@ static void store_exclude_url(char *url,int length) void gethexclude(const char *hexfile, int debug) { - FILE *fp_ex; char buf[255]; int i; @@ -143,7 +142,7 @@ void gethexclude(const char *hexfile, int debug) exit(EXIT_FAILURE); } if(debug) - debuga(_("Loading exclude file from: %s\n"),hexfile); + debuga(_("Loading exclude host file from: %s\n"),hexfile); if ((fp_ex = fopen(hexfile, "r")) == NULL) { debuga(_("(gethexclude) Cannot open file %s - %s\n"),hexfile,strerror(errno)); @@ -151,7 +150,7 @@ void gethexclude(const char *hexfile, int debug) } while(fgets(buf,sizeof(buf),fp_ex)!=NULL){ - if(strchr(buf,'#') != NULL) + if(buf[0]=='#') continue; fixendofline(buf); ip_size=0x60 | 0x04; @@ -217,7 +216,6 @@ void gethexclude(const char *hexfile, int debug) } fclose(fp_ex); - return; } diff --git a/po/bg.po b/po/bg.po index 5521533..c45ae71 100644 --- a/po/bg.po +++ b/po/bg.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Не мога да намеря log файла" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Зарежда файла с изключенията от" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Не мога да намеря log файла" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Зарежда файла с изключенията от" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Не мога да намеря log файла" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "грешка malloc" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Не мога да намеря log файла" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Генерирано от" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "на" @@ -2281,88 +2286,97 @@ msgstr "Не мога да намеря файла" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Не мога да намеря log файла" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "грешка malloc" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Не мога да намеря log файла" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Не мога да намеря log файла" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "грешка malloc" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/ca.po b/po/ca.po index cf60843..5cd0ddc 100644 --- a/po/ca.po +++ b/po/ca.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "No es pot obrir l'arxiu de log" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Llegint log de l'agent d'usuari" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "No es pot obrir l'arxiu de log" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Llegint log de l'agent d'usuari" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "No es pot obrir l'arxiu de log" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "Carregant configuració desde" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "No es pot obrir l'arxiu de log" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "TOTAL" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "Generat per" @@ -2281,88 +2286,97 @@ msgstr "reports" msgid "Failed to close %s after writing the total line - %s\n" msgstr "No es pot obrir l'arxiu de log" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "Carregant configuració desde" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "No es pot obrir l'arxiu de log" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "No es pot obrir l'arxiu de log" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "Carregant configuració desde" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/cs.po b/po/cs.po index 7f93328..366845a 100644 --- a/po/cs.po +++ b/po/cs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Nemohu otevřít žurnál" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Načítám soubor vyjímek z" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Nemohu otevřít žurnál" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Načítám soubor vyjímek z" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Nemohu otevřít žurnál" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "chyba malloc" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Nemohu otevřít žurnál" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Generoval" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "dne" @@ -2281,88 +2286,97 @@ msgstr "Nemohu otevřít soubor" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Nemohu otevřít žurnál" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "chyba malloc" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Nemohu otevřít žurnál" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Nemohu otevřít žurnál" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "chyba malloc" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/de.po b/po/de.po index e3df40d..558529d 100644 --- a/po/de.po +++ b/po/de.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Kann Zugriffsprotokoll nicht oeffnen" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Lade Ausschlussdatei aus" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Kann Zugriffsprotokoll nicht oeffnen" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Lade Ausschlussdatei aus" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Kann Zugriffsprotokoll nicht oeffnen" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "Speicherallokationsfehler" @@ -1700,12 +1705,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Kann Zugriffsprotokoll nicht oeffnen" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Erstellt mit" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "am" @@ -2283,88 +2288,97 @@ msgstr "Kann Datei nicht oeffnen" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Kann Zugriffsprotokoll nicht oeffnen" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "Speicherallokationsfehler" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Kann Zugriffsprotokoll nicht oeffnen" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Kann Zugriffsprotokoll nicht oeffnen" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "Speicherallokationsfehler" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/el.po b/po/el.po index 1c361e7..a919b5c 100644 --- a/po/el.po +++ b/po/el.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Δεν μπορώ να διαβάσω το αρχείο log" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Φόρτωση αρχείου εξαιρέσεων από" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Δεν μπορώ να διαβάσω το αρχείο log" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Φόρτωση αρχείου εξαιρέσεων από" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Δεν μπορώ να διαβάσω το αρχείο log" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "σφάλμα μνήμης" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Δεν μπορώ να διαβάσω το αρχείο log" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Δημιουργήθηκε από" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "στις" @@ -2281,88 +2286,97 @@ msgstr "Δεν μπορώ να διαβάσω το αρχείο" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Δεν μπορώ να διαβάσω το αρχείο log" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "σφάλμα μνήμης" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Δεν μπορώ να διαβάσω το αρχείο log" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Δεν μπορώ να διαβάσω το αρχείο log" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "σφάλμα μνήμης" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/es.po b/po/es.po index f9ba029..156d52a 100644 --- a/po/es.po +++ b/po/es.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -454,32 +454,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "No se puede abrir archivo de log" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Cargando archivo de exclusiones desde" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "No se puede abrir archivo de log" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Cargando archivo de exclusiones desde" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "No se puede abrir archivo de log" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "error malloc" @@ -1699,12 +1704,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "No se puede abrir archivo de log" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Generado por" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "el" @@ -2282,88 +2287,97 @@ msgstr "No se puede abrir archivo" msgid "Failed to close %s after writing the total line - %s\n" msgstr "No se puede abrir archivo de log" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "error malloc" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "No se puede abrir archivo de log" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "No se puede abrir archivo de log" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "error malloc" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/fr.po b/po/fr.po index 94c216a..af7e849 100644 --- a/po/fr.po +++ b/po/fr.po @@ -1,16 +1,15 @@ -# translation of fr.po to French +# translation of sarg to French # French translations for sarg. # Copyright (C) 2010 Free Software Foundation, Inc. # This file is distributed under the same license as the sarg package. # -# fmarchal , 2010. # Frédéric Marchal , 2010. msgid "" msgstr "" -"Project-Id-Version: fr\n" +"Project-Id-Version: sarg 2.3-pre2\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" -"PO-Revision-Date: 2010-04-13 11:36+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" +"PO-Revision-Date: 2010-05-03 11:35+0200\n" "Last-Translator: Frédéric Marchal \n" "Language-Team: French \n" "MIME-Version: 1.0\n" @@ -439,32 +438,37 @@ msgstr "Pas assez de mémoire pour stocker les adresses IP exclues\n" msgid "Not enough memory to store the excluded URLs\n" msgstr "Pas assez de mémoire pour stocker les URL exclues\n" -#: exclude.c:142 +#: exclude.c:141 #, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Impossible d'ouvrir le fichier exclude_hosts : %s - %s\n" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, c-format -msgid "Loading exclude file from: %s\n" -msgstr "Chargement du fichier des exclusions depuis: %s\n" +msgid "Loading exclude host file from: %s\n" +msgstr "Chargement du fichier des exclusions d'hôtes depuis: %s\n" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "(gethexclude) Impossible d'ouvrir le fichier %s - %s\n" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "Les adresses IPv6 ne sont pas supportées (trouvée dans %s)\n" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Chargement du fichier des exclusions depuis: %s\n" + +#: exclude.c:331 log.c:1668 #, c-format msgid "Cannot get the size of file %s\n" msgstr "Impossible de déterminer la taille du fichier %s\n" -#: exclude.c:340 +#: exclude.c:338 #, c-format msgid "malloc error (%ld bytes required)\n" msgstr "erreur d'allocation mémoire (%ld octets nécessaires)\n" @@ -1163,7 +1167,9 @@ msgstr "Lecture du journal des accès: depuis stdin\n" msgid "" "Cannot get the modification time of input log file %s (%s). Processing it " "anyway\n" -msgstr "La date de dernière modification du journal %s ne peut pas être déterminée (%s). Il est tout de même traité\n" +msgstr "" +"La date de dernière modification du journal %s ne peut pas être déterminée (%" +"s). Il est tout de même traité\n" #: log.c:737 #, c-format @@ -1702,11 +1708,11 @@ msgstr "impossible de préparer la commande de tri pour trier le fichier %s\n" msgid "(smartfilter) Cannot open log file %s\n" msgstr "(smartfilter) Impossible d'ouvrir le fichier %s\n" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 msgid "Generated by" msgstr "Généré par" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 msgid "on" msgstr "le" @@ -2282,42 +2288,47 @@ msgstr "Erreur d'écriture du nombre total de lignes dans %s - %s\n" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Échec à la fermeture de %s après l'écriture du nombre total de lignes- %s\n" -#: util.c:1291 +#: util.c:1293 #, c-format -msgid "malloc error (1024)\n" -msgstr "erreur d'allocation mémoire (1024)\n" +msgid "malloc error (%d)\n" +msgstr "erreur d'allocation mémoire (%d)\n" -#: util.c:1297 +#: util.c:1299 #, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "(util) Impossible d'ouvrir le fichier %s (exclude_codes)\n" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "Trop de codes à exclure dans le fichier %s\n" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "Impossible de déterminer l'espace disque car le chemin %s%s est trop long\n" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "Impossible de déterminer l'espace disque avec la commande %s\n" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "Impossible de déterminer l'espace disque avec la commande %s\n" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "La commande %s a échoué\n" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "SARG: CODE MALICIEUX DÉTECTÉ.\n" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " @@ -2326,42 +2337,42 @@ msgstr "" "SARG: Je pense que quelqu'un essaie d'exécuter un code arbitraire sur votre " "système au travers de sarg.\n" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "SARG: Veuillez contrôler vos fichiers access.log ou useragent.log.\n" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "SARG: traitement arrêté. Aucune action entreprise.\n" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "répertoire temporaire trop long: %s/sarg\n" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "Version de SARG: %s\n" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "le nom du répertoire à effacer est trop long: %s/%s\n" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "Impossible d'obtenir les stat de %s\n" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, c-format msgid "cannot delete %s - %s\n" msgstr "Impossible d'effacer %s - %s\n" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "Type de chemin %s inconnu\n" diff --git a/po/hu.po b/po/hu.po index 5a995e9..f82d71d 100644 --- a/po/hu.po +++ b/po/hu.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Nem tudom megnyitni a log file-t" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Kizaró file beolvasása a" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Nem tudom megnyitni a log file-t" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Kizaró file beolvasása a" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Nem tudom megnyitni a log file-t" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "malloc hiba" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Nem tudom megnyitni a log file-t" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Készítette:" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "idő:" @@ -2281,88 +2286,97 @@ msgstr "Megnyithatatlan file" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Nem tudom megnyitni a log file-t" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "malloc hiba" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Nem tudom megnyitni a log file-t" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Nem tudom megnyitni a log file-t" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "malloc hiba" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/id.po b/po/id.po index 46e939b..228b77d 100644 --- a/po/id.po +++ b/po/id.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Tak bisa buka file log" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Menyertakan file exclude dari" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Tak bisa buka file log" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Menyertakan file exclude dari" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Tak bisa buka file log" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "kesalahan malloc" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Tak bisa buka file log" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Dibuat oleh" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "pada" @@ -2281,88 +2286,97 @@ msgstr "Tak bisa buka file" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Tak bisa buka file log" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "kesalahan malloc" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Tak bisa buka file log" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Tak bisa buka file log" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "kesalahan malloc" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/it.po b/po/it.po index 30f3dd9..3ea8e78 100644 --- a/po/it.po +++ b/po/it.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Non riesco a aprire il log file" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Caricamento exclude file da" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Non riesco a aprire il log file" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Caricamento exclude file da" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Non riesco a aprire il log file" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "malloc error" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Non riesco a aprire il log file" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Generato da" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "il" @@ -2281,88 +2286,97 @@ msgstr "Non riesco ad aprire il file" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Non riesco a aprire il log file" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "malloc error" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Non riesco a aprire il log file" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Non riesco a aprire il log file" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "malloc error" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/ja.po b/po/ja.po index 6c9327e..7e9b99f 100644 --- a/po/ja.po +++ b/po/ja.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "ログファイルをオープンできません" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "以下から排除するファイルを読み込んでいます" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "ログファイルをオープンできません" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "以下から排除するファイルを読み込んでいます" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "ログファイルをオープンできません" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "malloc error" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "ログファイルをオープンできません" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "エージェント" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "合計" @@ -2281,88 +2286,97 @@ msgstr "ファイルをオープンできません" msgid "Failed to close %s after writing the total line - %s\n" msgstr "ログファイルをオープンできません" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "malloc error" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "ログファイルをオープンできません" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "ログファイルをオープンできません" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "malloc error" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "Authentication failures" diff --git a/po/lv.po b/po/lv.po index fcba916..931c338 100644 --- a/po/lv.po +++ b/po/lv.po @@ -7,14 +7,15 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3-pre1\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: 2010-04-25 20:35+0300\n" "Last-Translator: Juris Valdovskis \n" "Language-Team: Latvian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" #: auth.c:42 #, c-format @@ -453,32 +454,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Nevar atvērt log failu" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Ielādēju izņēmumu failu no" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Nevar atvērt log failu" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Ielādēju izņēmumu failu no" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Nevar atvērt log failu" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "malloc kļūda" @@ -1073,7 +1079,7 @@ msgid " Date format (-g) = Sites & Users (yyyy/ww)\n" msgstr "" #: log.c:613 log.c:642 -#, fuzzy,c-format +#, fuzzy, c-format msgid " IP report (-i) = %s\n" msgstr " IP atskaite (-i) = %s\n" @@ -1698,12 +1704,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Nevar atvērt log failu" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Ä¢enerēts ar" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "uz" @@ -2281,88 +2287,97 @@ msgstr "Nevar atvērt failu" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Nevar atvērt log failu" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "malloc kļūda" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Nevar atvērt log failu" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Nevar atvērt log failu" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "malloc kļūda" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/nl.po b/po/nl.po index c574388..f8f1e00 100644 --- a/po/nl.po +++ b/po/nl.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -455,32 +455,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Kan het log bestand niet openen" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Laden uitzondering bestand uit" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Kan het log bestand niet openen" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Laden uitzondering bestand uit" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Kan het log bestand niet openen" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "malloc error" @@ -1700,12 +1705,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Kan het log bestand niet openen" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Gegenereerd door" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "op" @@ -2283,88 +2288,97 @@ msgstr "Kan bestand niet openen" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Kan het log bestand niet openen" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "malloc error" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Kan het log bestand niet openen" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Kan het log bestand niet openen" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "malloc error" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/pl.po b/po/pl.po index e4f904e..ce76f7a 100644 --- a/po/pl.po +++ b/po/pl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Nie moїna otworzyж pliku logowania" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Czytam plik wykluczenia z" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Nie moїna otworzyж pliku logowania" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Czytam plik wykluczenia z" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Nie moїna otworzyж pliku logowania" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "Bі№d malloc" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Nie moїna otworzyж pliku logowania" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Wygenerowany przez" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "o" @@ -2281,88 +2286,97 @@ msgstr "Nie moїna otworzyж pliku" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Nie moїna otworzyж pliku logowania" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "Bі№d malloc" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Nie moїna otworzyж pliku logowania" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Nie moїna otworzyж pliku logowania" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "Bі№d malloc" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/pt.po b/po/pt.po index 59e0edf..138da12 100644 --- a/po/pt.po +++ b/po/pt.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Erro no open do arquivo log" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Carregando arquivo de exclusao" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Erro no open do arquivo log" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Carregando arquivo de exclusao" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Erro no open do arquivo log" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "erro no malloc" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Erro no open do arquivo log" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Gerado por" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "em" @@ -2281,88 +2286,97 @@ msgstr "Erro no open do arquivo" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Erro no open do arquivo log" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "erro no malloc" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Erro no open do arquivo log" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Erro no open do arquivo log" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "erro no malloc" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/ro.po b/po/ro.po index c1538f8..ecd5b04 100644 --- a/po/ro.po +++ b/po/ro.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Nu poate fi deschis fisierul de accese" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Se incarca fisierul de excluderi din" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Nu poate fi deschis fisierul de accese" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Se incarca fisierul de excluderi din" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Nu poate fi deschis fisierul de accese" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "eroare la apelul malloc" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Nu poate fi deschis fisierul de accese" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Generat de" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "la" @@ -2281,88 +2286,97 @@ msgstr "Nu poate fi deshis fisierul" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Nu poate fi deschis fisierul de accese" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "eroare la apelul malloc" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Nu poate fi deschis fisierul de accese" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Nu poate fi deschis fisierul de accese" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "eroare la apelul malloc" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/ru.po b/po/ru.po index 081ea59..3a55d14 100644 --- a/po/ru.po +++ b/po/ru.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Не могу открыть файл журнала" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Загрузка исключений из" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Не могу открыть файл журнала" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Загрузка исключений из" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Не могу открыть файл журнала" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "ошибка malloc" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Не могу открыть файл журнала" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Сгенерирован" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "на" @@ -2281,88 +2286,97 @@ msgstr "Не могу открыть файл" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Не могу открыть файл журнала" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "ошибка malloc" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Не могу открыть файл журнала" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Не могу открыть файл журнала" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "ошибка malloc" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/sk.po b/po/sk.po index 5f3ad7b..ec6a268 100644 --- a/po/sk.po +++ b/po/sk.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Nemôžem otvoríť žurnál" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Načítávam súbor výnimok z" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Nemôžem otvoríť žurnál" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Načítávam súbor výnimok z" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Nemôžem otvoríť žurnál" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "chyba malloc" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Nemôžem otvoríť žurnál" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Generoval" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "dňa" @@ -2281,88 +2286,97 @@ msgstr "Nedá sa otvoriÅ¥ súbor" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Nemôžem otvoríť žurnál" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "chyba malloc" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Nemôžem otvoríť žurnál" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Nemôžem otvoríť žurnál" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "chyba malloc" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/sr.po b/po/sr.po index 239e167..ea94bfa 100644 --- a/po/sr.po +++ b/po/sr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Nemoguce otvoriti log datoteku" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Ucitavanje exclude datoteke iz" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Nemoguce otvoriti log datoteku" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Ucitavanje exclude datoteke iz" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Nemoguce otvoriti log datoteku" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "malloc greska" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Nemoguce otvoriti log datoteku" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Generisano od" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "on" @@ -2281,88 +2286,97 @@ msgstr "Nemoguce otvoriti datoteku ili je los putokaz" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Nemoguce otvoriti log datoteku" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "malloc greska" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Nemoguce otvoriti log datoteku" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Nemoguce otvoriti log datoteku" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "malloc greska" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/tr.po b/po/tr.po index cb41fc2..48de830 100644 --- a/po/tr.po +++ b/po/tr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -453,32 +453,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Kutuk dosyasi acilamadi" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Exclude dosyasi okunuyor" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Kutuk dosyasi acilamadi" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Exclude dosyasi okunuyor" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Kutuk dosyasi acilamadi" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "malloc hatasi" @@ -1698,12 +1703,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Kutuk dosyasi acilamadi" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Yaratilma Tarihi" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "ile" @@ -2281,88 +2286,97 @@ msgstr "Dosya acilamiyor" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Kutuk dosyasi acilamadi" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "malloc hatasi" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Kutuk dosyasi acilamadi" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Kutuk dosyasi acilamadi" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "malloc hatasi" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/po/uk.po b/po/uk.po index f80bc80..31dc0f0 100644 --- a/po/uk.po +++ b/po/uk.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: sarg 2.3\n" "Report-Msgid-Bugs-To: fmarchal@users.sourceforge.net\n" -"POT-Creation-Date: 2010-04-13 11:33+0200\n" +"POT-Creation-Date: 2010-05-03 11:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -452,32 +452,37 @@ msgstr "" msgid "Not enough memory to store the excluded URLs\n" msgstr "" -#: exclude.c:142 +#: exclude.c:141 #, fuzzy, c-format msgid "Cannot open exclude_hosts file: %s - %s\n" msgstr "Не можу відкрити файл журналу" -#: exclude.c:146 exclude.c:323 +#: exclude.c:145 #, fuzzy, c-format -msgid "Loading exclude file from: %s\n" +msgid "Loading exclude host file from: %s\n" msgstr "Завантаження виключень їз" -#: exclude.c:149 exclude.c:326 +#: exclude.c:148 exclude.c:324 #, fuzzy, c-format msgid "(gethexclude) Cannot open file %s - %s\n" msgstr "Не можу відкрити файл журналу" -#: exclude.c:211 +#: exclude.c:210 #, c-format msgid "IPv6 addresses are not supported (found in %s)\n" msgstr "" -#: exclude.c:333 log.c:1668 +#: exclude.c:321 +#, fuzzy, c-format +msgid "Loading exclude file from: %s\n" +msgstr "Завантаження виключень їз" + +#: exclude.c:331 log.c:1668 #, fuzzy, c-format msgid "Cannot get the size of file %s\n" msgstr "Не можу відкрити файл журналу" -#: exclude.c:340 +#: exclude.c:338 #, fuzzy, c-format msgid "malloc error (%ld bytes required)\n" msgstr "Помилка malloc" @@ -1697,12 +1702,12 @@ msgstr "" msgid "(smartfilter) Cannot open log file %s\n" msgstr "Не можу відкрити файл журналу" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "Generated by" msgstr "Згенерований" -#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1481 +#: smartfilter.c:130 smartfilter.c:184 smartfilter.c:194 util.c:1491 #, fuzzy msgid "on" msgstr "на" @@ -2280,88 +2285,97 @@ msgstr "Не можу відкрити файл" msgid "Failed to close %s after writing the total line - %s\n" msgstr "Не можу відкрити файл журналу" -#: util.c:1291 +#: util.c:1293 #, fuzzy, c-format -msgid "malloc error (1024)\n" +msgid "malloc error (%d)\n" msgstr "Помилка malloc" -#: util.c:1297 +#: util.c:1299 #, fuzzy, c-format msgid "(util) Cannot open file %s (exclude_codes)\n" msgstr "Не можу відкрити файл журналу" -#: util.c:1453 +#: util.c:1308 +#, c-format +msgid "Too many codes to exclude in file %s\n" +msgstr "" + +#: util.c:1463 #, c-format msgid "Cannot get disk space because the path %s%s is too long\n" msgstr "" -#: util.c:1457 +#: util.c:1467 #, c-format msgid "Cannot get disk space with command %s\n" msgstr "" -#: util.c:1461 +#: util.c:1471 #, c-format msgid "Cannot get disk size with command %s\n" msgstr "" -#: util.c:1466 +#: util.c:1476 #, c-format msgid "The command %s failed\n" msgstr "" -#: util.c:1573 +#: util.c:1583 #, c-format msgid "SARG: MALICIUS CODE DETECTED.\n" msgstr "" -#: util.c:1574 +#: util.c:1584 #, c-format msgid "" "SARG: I think someone is trying to execute arbitrary code in your system " "using sarg.\n" msgstr "" -#: util.c:1575 +#: util.c:1585 #, c-format msgid "SARG: please review your access.log and/or your useragent.log file.\n" msgstr "" -#: util.c:1576 +#: util.c:1586 #, c-format msgid "SARG: process stoped. No actions taken.\n" msgstr "" -#: util.c:1580 +#: util.c:1590 #, c-format msgid "temporary directory too long: %s/sarg\n" msgstr "" -#: util.c:1642 +#: util.c:1652 #, c-format msgid "SARG Version: %s\n" msgstr "" -#: util.c:1674 +#: util.c:1684 #, c-format msgid "directory name to delete too long: %s/%s\n" msgstr "" -#: util.c:1683 +#: util.c:1693 #, c-format msgid "cannot stat %s\n" msgstr "" -#: util.c:1688 util.c:1701 +#: util.c:1698 util.c:1711 #, fuzzy, c-format msgid "cannot delete %s - %s\n" msgstr "Не можу відкрити файл журналу" -#: util.c:1694 +#: util.c:1704 #, c-format msgid "unknown path type %s\n" msgstr "" +#, fuzzy +#~ msgid "malloc error (1024)\n" +#~ msgstr "Помилка malloc" + #, fuzzy #~ msgid "SQUIDGUARD" #~ msgstr "SQUIDGUARD" diff --git a/util.c b/util.c index ddbd3be..ac3e505 100644 --- a/util.c +++ b/util.c @@ -1283,31 +1283,38 @@ void load_excludecodes(const char *ExcludeCodes) FILE *fp_in; char data[80]; int i; + int Stored; + const int MemSize=1024; if(ExcludeCodes[0] == '\0') return; - if((excludecode=(char *) malloc(1024))==NULL) { - debuga(_("malloc error (1024)\n")); + if((excludecode=(char *) malloc(MemSize))==NULL) { + debuga(_("malloc error (%d)\n"),MemSize); exit(EXIT_FAILURE); } - bzero(excludecode,1024); + memset(excludecode,0,MemSize); if((fp_in=fopen(ExcludeCodes,"r"))==NULL) { debuga(_("(util) Cannot open file %s (exclude_codes)\n"),ExcludeCodes); exit(EXIT_FAILURE); } + Stored=0; while(fgets(data,sizeof(data),fp_in)!=NULL) { for (i=strlen(data)-1 ; i>=0 && (unsigned char)data[i]<=' ' ; i--) data[i]=0; if (i<0) continue; + if (Stored+i+1>=MemSize) { + debuga(_("Too many codes to exclude in file %s\n"),ExcludeCodes); + break; + } strcat(excludecode,data); strcat(excludecode,";"); + Stored+=i+1; } fclose(fp_in); return; - } void free_excludecodes(void) @@ -1323,11 +1330,14 @@ int vercode(const char *code) char *cod; int clen; - if (excludecode && excludecode[0]!=0) { + if (excludecode && excludecode[0]!='\0') { clen=strlen(code); - for (cod=excludecode ; cod ; cod=strchr(cod+1,';')) { + cod=excludecode; + while (cod) { if (strncmp(code,cod,clen)==0 && cod[clen]==';') return 1; + cod=strchr(cod,';'); + if (cod) cod++; } } return 0;