]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - totday.c
Normalize the messages to have less messages to translate.
[thirdparty/sarg.git] / totday.c
index e59981134574ff45964333ef741c28465b864299..a02a1e5c186a29878dc2708049f183a4dcd59898 100644 (file)
--- a/totday.c
+++ b/totday.c
@@ -157,7 +157,7 @@ void day_totalize(DayObject ddata,const char *tmp, const struct userinfostruct *
        }
 
        if((fp_ou=fopen(arqout,"w"))==NULL) {
-               debuga(_("(totday) Cannot open log file %s: %s\n"),arqout,strerror(errno));
+               debuga(_("Cannot open file \"%s\": %s\n"),arqout,strerror(errno));
                exit(EXIT_FAILURE);
        }
 
@@ -180,7 +180,7 @@ void day_totalize(DayObject ddata,const char *tmp, const struct userinfostruct *
        }
 
        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;
@@ -204,6 +204,6 @@ void day_deletefile(const struct userinfostruct *uinfo)
        }
 
        if (unlink(arqout))
-               debuga(_("Cannot delete temporary day file \"%s\": %s\n"),arqout,strerror(errno));
+               debuga(_("Cannot delete \"%s\": %s\n"),arqout,strerror(errno));
 }