comparison po/l10n.xsl @ 11470:e88517f573f4

[gaim-migrate @ 13710] I think this is an improvement committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 09 Sep 2005 01:31:40 +0000
parents eaa10266cd96
children c586c2ffaaab
comparison
equal deleted inserted replaced
11469:d83e1fe99d69 11470:e88517f573f4
2 <xsl:stylesheet version='2.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> 2 <xsl:stylesheet version='2.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
3 <xsl:template match='/project'> 3 <xsl:template match='/project'>
4 <html> 4 <html>
5 <head> 5 <head>
6 <title><xsl:value-of select='@name'/> translation statistics</title> 6 <title><xsl:value-of select='@name'/> translation statistics</title>
7 <link rel="Stylesheet" href="/gaim.css" type="text/css" media="screen" />
7 <style> 8 <style>
8 .bargraph { 9 .bargraph {
9 width: 200px; 10 width: 200px;
10 height: 20px; 11 height: 20px;
11 background: black; 12 background: black;
17 } 18 }
18 19
19 </style> 20 </style>
20 </head> 21 </head>
21 <body> 22 <body>
23 <div id="content">
22 <h1><xsl:value-of select='@name' /> translation statistics</h1> 24 <h1><xsl:value-of select='@name' /> translation statistics</h1>
23 <table> 25 <table>
24 <tr><th>Language</th><th colspan='2'>Translated</th><th colspan='2'>Fuzzy</th><th colspan='2'>Untranslated</th></tr> 26 <tr><th>Language</th><th colspan='2'>Translated</th><th colspan='2'>Fuzzy</th><th colspan='2'>Untranslated</th></tr>
25 <xsl:for-each select="lang"> 27 <xsl:for-each select="lang">
26 <xsl:sort select='@code' /> 28 <xsl:sort select='@code' />
38 </td> 40 </td>
39 </tr> 41 </tr>
40 </xsl:for-each> 42 </xsl:for-each>
41 </table> 43 </table>
42 <a><xsl:attribute name='href'><xsl:value-of select='@pofile'/></xsl:attribute><xsl:value-of select='@pofile'/></a> generated on <xsl:value-of select='@generated'/> 44 <a><xsl:attribute name='href'><xsl:value-of select='@pofile'/></xsl:attribute><xsl:value-of select='@pofile'/></a> generated on <xsl:value-of select='@generated'/>
45 </div>
43 </body> 46 </body>
44 </html> 47 </html>
45 </xsl:template> 48 </xsl:template>
46 </xsl:stylesheet> 49 </xsl:stylesheet>