]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - repday.c
Normalize the messages to have less messages to translate.
[thirdparty/sarg.git] / repday.c
index 54ac69122f424a205cf4045b4cd8c2299d649e54..65a43c985cf8a4ba91985e89e5230a141c1fcf09 100644 (file)
--- a/repday.c
+++ b/repday.c
@@ -68,7 +68,7 @@ void report_day(const struct userinfostruct *uinfo)
        }
 
        if((fp_in=fopen(wdirname,"r"))==NULL) {
-               debuga(_("(repday) Cannot open log file %s: %s\n"),wdirname,strerror(errno));
+               debuga(_("Cannot open file \"%s\": %s\n"),wdirname,strerror(errno));
                exit(EXIT_FAILURE);
        }
 
@@ -121,7 +121,7 @@ void report_day(const struct userinfostruct *uinfo)
        fclose(fp_in);
 
        if((fp_ou=fopen(arqout,"w"))==NULL) {
-               debuga(_("(repday) Cannot open output file %s: %s\n"),arqout,strerror(errno));
+               debuga(_("Cannot open file \"%s\": %s\n"),arqout,strerror(errno));
                exit(EXIT_FAILURE);
        }
 
@@ -246,7 +246,7 @@ void report_day(const struct userinfostruct *uinfo)
        if (write_html_trailer(fp_ou)<0)
                debuga(_("Write error in file %s\n"),arqout);
        if (fclose(fp_ou)==EOF) {
-               debuga(_("Write error in %s: %s\n"),arqout,strerror(errno));
+               debuga(_("Write error in \"%s\": %s\n"),arqout,strerror(errno));
                exit(EXIT_FAILURE);
        }
        return;