[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/l10n/teams/fr
From: Frédéric Sheedy <sheedf () gmail ! com>
Date: 2011-07-23 2:15:38
Message-ID: 20110723021538.5B765AC74F () svn ! kde ! org
[Download RAW message or body]
SVN commit 1242802 by sheedy:
First version of Userbase stats with pology
M +99 -1 css.inc
M +1 -0 menu.inc
M +1 -0 pology-errors.php
D web/etat.php
A web/pology-rules-errors.xml
A web/pology-spell-errors.xml
--- trunk/www/areas/l10n/teams/fr/css.inc #1242801:1242802
@@ -423,4 +423,102 @@
#formFalsePositive table {
width: 100%;
-}
\ No newline at end of file
+}
+
+/*
+ * Web PO Files (from l10n.kde.org CSS)
+ */
+
+/* Header style */
+.stats thead th {
+ text-align: center;
+ font-size: x-small;
+ background-color: #3477BF;
+ color: #fff;
+ border-left: 1px solid #ccc;
+ padding: 3px 1px 3px 1px;
+ white-space: nowrap;
+}
+
+
+.stats tbody td.translated {
+ color: #328F31;
+}
+.stats tbody td.fuzzy {
+ color: #3B79CB;
+}
+
+.stats tbody td.untranslated {
+ color: #C42121;
+}
+
+.stats tbody td.untranslated.alt, .stats tbody td.fuzzy.alt, .stats tbody \
td.translated.alt { + font-style: italic;
+ border-right: 1px solid #777;
+}
+
+
+/* Body style */
+.stats tbody td {
+ border: 1px solid #ccc;
+ width: 35px;
+ font-size: small;
+ text-align: right;
+ white-space: nowrap;
+}
+
+
+/* Kind of columns */
+
+/* Alternative (% in fact) column */
+.stats td.alt {
+ background-color: #D6DEFF;
+}
+
+/* Name */
+.stats td.name {
+ background-color: #D6DEFF;
+ text-align: left;
+ padding: 2px;
+ border-right: 1px solid #777;
+}
+
+/* Graph */
+.stats td.graph {
+ background-color: #fff;
+}
+/* Image */
+.stats td.image {
+ width: 35px;
+}
+
+.stats td.total {
+ font-weight: bold;
+}
+
+/* Type of row */
+.stats tr.obsolete {
+ background-color: #e0f0ff;
+}
+
+.stats tr.obsolete td.alt, .stats .obsolete td.name, .stats .obsolete td.graph {
+ background-color: #d0e0f0;
+}
+
+.stats .invalid {
+ background-color: #ffd8d0;
+}
+
+.stats .invalid td.alt, .stats .invalid td.name, .stats .invalid td.graph {
+ background-color: #ffc8c0;
+}
+
+.stats .sum, .stats .sum .alt, .stats .sum .graph, .stats .sum .name {
+ background-color: #3477BF;
+ color: #ddd;
+}
+
+/* Hover */
+.stats tbody tr.row:hover {
+ background-color: #EEEEEE;
+}
--- trunk/www/areas/l10n/teams/fr/menu.inc #1242801:1242802
@@ -14,6 +14,7 @@
$section->appendLink("Applications \
(trunk)","http://l10n.kde.org/stats/gui/trunk-kde4/team/fr/", false); \
$section->appendLink("Docs \
(stable)","http://l10n.kde.org/stats/doc/stable-kde4/team/fr/", false); \
$section->appendLink("Docs \
(trunk)","http://l10n.kde.org/stats/doc/trunk-kde4/team/fr/", false); \
+ $section->appendLink("Userbase (wiki)","./web/pofiles.php");
$section =& $this->appendSection("Outils du traducteur");
$section->appendLink("Lokalize","http://userbase.kde.org/Lokalize/fr/",false);
--- trunk/www/areas/l10n/teams/fr/pology-errors.php #1242801:1242802
@@ -73,6 +73,7 @@
break;
case 'web':
$pathXml = "web";
+ $poName = str_replace(' ', '+', $poName);
$pageDisplayName = ltrim($poName, 'page|');
$pageDisplayName = rtrim($pageDisplayName, '.po');
$pageDisplayName = str_replace('_', '/', $pageDisplayName);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic