]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Add a few comments for the translators
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Mon, 16 Jul 2012 09:15:05 +0000 (11:15 +0200)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Mon, 16 Jul 2012 09:15:05 +0000 (11:15 +0200)
siteuser.c
topsites.c

index 1904afe192cf7718119f00cce2c038dab1e58456..2780431cb3dfeb4c5aa2a1df0ab34d0d738fad15 100644 (file)
@@ -97,6 +97,7 @@ void siteuser(void)
                fprintf(fp_ou,"<th class=\"header_l\">%s</th>",_("BYTES"));
        fputs("<th class=\"header_l",fp_ou);
        if (SortTableJs[0]) fputs(" sorttable_alpha",fp_ou);
+       /* TRANSLATORS: This is a column header showing the users who visited each site. */
        fprintf(fp_ou,"\">%s</th></tr></thead>\n",_("USERS"));
 
        ourl=NULL;
index 94380c855195830159f9dd0b434e6b3a8b4a33e9..7579016aa857f02959b32694af1b1c16387910e4 100644 (file)
@@ -239,9 +239,21 @@ void topsites(void)
        fputs("<div class=\"report\"><table cellpadding=\"1\" cellspacing=\"2\"",fp_ou);
        if (SortTableJs[0]) fputs(" class=\"sortable\"",fp_ou);
        fputs(">\n",fp_ou);
-       fprintf(fp_ou,"<thead><tr><th class=\"header_l\">%s</th><th class=\"header_l",_("NUM"));
+       fprintf(fp_ou,"<thead><tr><th class=\"header_l\">%s</th><th class=\"header_l",
+       /* TRANSLATORS: This is a column header showing the position of the entry in the sorted list. */
+       _("NUM"));
        if (SortTableJs[0]) fputs(" sorttable_alpha",fp_ou);
-       fprintf(fp_ou,"\">%s</th><th class=\"header_l\">%s</th><th class=\"header_l\">%s</th><th class=\"header_l\">%s</th><th class=\"header_l\">%s</th></tr></thead>\n",_("ACCESSED SITE"),_("CONNECT"),_("BYTES"),_("TIME"),_("USERS"));
+       fprintf(fp_ou,"\">%s</th><th class=\"header_l\">%s</th><th class=\"header_l\">%s</th><th class=\"header_l\">%s</th><th class=\"header_l\">%s</th></tr></thead>\n",
+       /* TRANSLATORS: This is a column header showing the URL of the visited sites. */
+       _("ACCESSED SITE"),
+       /* TRANSLATORS: This is a column header showing the number of connections to a visited site. */
+       _("CONNECT"),
+       /* TRANSLATORS: This is a column header showing the number of transfered bytes. */
+       _("BYTES"),
+       /* TRANSLATORS: This is a column header showing the time spent by the proxy processing the requests. */
+       _("TIME"),
+       /* TRANSLATORS: This is a column header showing the number of users who visited a sites. */
+       _("USERS"));
 
        regs=0;
        ntopsites = 0;