]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
More messages merged to reduce the number of messages to translate.
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Thu, 2 Apr 2015 19:28:24 +0000 (21:28 +0200)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Thu, 2 Apr 2015 19:28:24 +0000 (21:28 +0200)
smartfilter.c
util.c

index 104a372e86fd84a737fbb310b6aca90a74d5bd7f..df900f2f9639e63cf1e45b457127d9865699145e 100644 (file)
@@ -198,7 +198,9 @@ void smartfilter_report(void)
 
        if(ShowSargInfo) {
                zdate(ftime, sizeof(ftime), df);
-               fprintf(fp_ou,"<br><br><div align=\"center\"><font size=\"-2\">%s <a href=\"%s\">%s-%s</a> %s %s</font></div>\n",_("Generated by"),URL,PGM,VERSION,_("on"),ftime);
+               fputs("<br><br><div align=\"center\"><font size=\"-2\">",fp_ou);
+               fprintf(fp_ou,_("Generated by <a href=\"%s\">%s-%s</a> on %s"),URL,PGM,VERSION,ftime);
+               fputs("</font></div>\n",fp_ou);
        }
 
        fputs("</body>\n</html>\n",fp_user);
@@ -211,7 +213,9 @@ void smartfilter_report(void)
                fputs("</table>\n",fp_user);
                if(ShowSargInfo) {
                        zdate(ftime, sizeof(ftime), df);
-                       fprintf(fp_user,"<br><br><div align=\"center\"><font size=\"-2\">%s <a href=\"%s\">%s-%s</a> %s %s</font></div>\n",_("Generated by"),URL,PGM,VERSION,_("on"),ftime);
+                       fputs("<br><br><div align=\"center\"><font size=\"-2\">",fp_user);
+                       fprintf(fp_user,_("Generated by <a href=\"%s\">%s-%s</a> on %s"),URL,PGM,VERSION,ftime);
+                       fputs("</font></div>\n",fp_user);
                }
                fputs("</body>\n</html>\n",fp_user);
                if (fclose(fp_user)==EOF) {
diff --git a/util.c b/util.c
index 0f4c181c50d4aebf0acc63c6e2adfd70aca2bc11..957b464b6a3b71b2ea13d6eb8a09d4b5571ded06 100644 (file)
--- a/util.c
+++ b/util.c
@@ -1925,7 +1925,7 @@ void show_info(FILE *fp_ou)
        if(!ShowSargInfo) return;
        zdate(ftime, sizeof(ftime), df);
        fputs("<div class=\"info\">",fp_ou);
-       fprintf(fp_ou,_("Generated by <a href='%s'>%s-%s</a> on %s"),URL,PGM,VERSION,ftime);
+       fprintf(fp_ou,_("Generated by <a href=\"%s\">%s-%s</a> on %s"),URL,PGM,VERSION,ftime);
        fputs("</div>\n",fp_ou);
 }