[damned-lies] Add a description to help understand the statistics
- From: Gil Forcada Codinachs <gforcada src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Add a description to help understand the statistics
- Date: Fri, 30 Dec 2011 00:07:22 +0000 (UTC)
commit 263f1285db95ffd195a87baceab75bdc6dc63269
Author: Gil Forcada <gforcada gnome org>
Date: Sun Dec 18 10:56:10 2011 +0100
Add a description to help understand the statistics
templates/languages/language_release_stats.html | 5 ++---
templates/languages/language_release_summary.html | 6 +++---
templates/vertimus/vertimus_detail.html | 16 +++++++++-------
3 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/templates/languages/language_release_stats.html b/templates/languages/language_release_stats.html
index ceb474a..d96077b 100644
--- a/templates/languages/language_release_stats.html
+++ b/templates/languages/language_release_stats.html
@@ -4,7 +4,7 @@
<table>
<tr>
- <td class="leftcell" colspan="3">{{ modstats.totaltransperc }}% ({{ modstats.totaltrans }}/{{ modstats.totalfuzzy }}/{{ modstats.totaluntrans }})</td>
+ <td class="leftcell" colspan="3" title="{% trans "Translated/Fuzzy/Untranslated" %}">{{ modstats.totaltransperc }}% ({{ modstats.totaltrans }}/{{ modstats.totalfuzzy }}/{{ modstats.totaluntrans }})</td>
<td style="width: 108px; text-align: center;"><div class="graph">
<div class="translated" style="width: {{ modstats.totaltransperc }}px;"></div>
<div class="fuzzy" style="{{ LANGUAGE_BIDI|yesno:"right,left" }}:{{ modstats.totaltransperc }}px; width:{{ modstats.totalfuzzyperc }}px;"></div>
@@ -66,7 +66,7 @@
{% endif %}
</td>
<td><span class="branch">{{ branch }}</span></td>
- <td><span style="display:none;">{{ stat.tr_percentage }}</span>{{ stat|num_stats:scope }}</td>
+ <td title="{% trans "Translated/Fuzzy/Untranslated" %}"><span style="display:none;">{{ stat.tr_percentage }}</span>{{ stat|num_stats:scope }}</td>
<td style="width: 108px; text-align: center;">
<div class="graph">{{ stat|vis_stats:scope }}</div>
</td>
@@ -104,4 +104,3 @@
{% endfor %}
</ul>
{% endif %}
-
diff --git a/templates/languages/language_release_summary.html b/templates/languages/language_release_summary.html
index 873a315..5491933 100644
--- a/templates/languages/language_release_summary.html
+++ b/templates/languages/language_release_summary.html
@@ -23,18 +23,18 @@ Following variables should be set:
{{ stat.description }}
</td>
- <td class="stats_numb"><a href="{% url language_release lang.locale,stat.name,"ui" %}">
+ <td class="stats_numb" title="{% trans "Translated/Fuzzy/Untranslated" %}"><a href="{% url language_release lang.locale,stat.name,"ui" %}">
{{ stat.ui|num_stats }}</a>
</td>
<td style="width: 108px; text-align: center;">
<div class="graph">{{ stat.ui|vis_stats }}</div>
</td>
- <td class="stats_numb"><a href="{% url language_release lang.locale,stat.name,"ui-part" %}">
+ <td class="stats_numb" title="{% trans "Translated/Fuzzy/Untranslated" %}"><a href="{% url language_release lang.locale,stat.name,"ui-part" %}">
{{ stat.ui_part|num_stats }}</a>
</td>
{% if stat.doc.total %}
- <td class="stats_numb"><a href="{% url language_release lang.locale,stat.name,"doc" %}">
+ <td class="stats_numb" title="{% trans "Translated/Fuzzy/Untranslated" %}"><a href="{% url language_release lang.locale,stat.name,"doc" %}">
{{ stat.doc|num_stats }}</a>
</td>
<td style="width: 108px; text-align: center;">
diff --git a/templates/vertimus/vertimus_detail.html b/templates/vertimus/vertimus_detail.html
index 69aeea9..9f72690 100644
--- a/templates/vertimus/vertimus_detail.html
+++ b/templates/vertimus/vertimus_detail.html
@@ -65,13 +65,15 @@ $(document).ready(function() {
<div style="display: inline-block">
<a href="{{ po_url }}"><img src="{{ MEDIA_URL }}img/download.png" alt="{% trans "Download PO file" %}" /></a>
{% trans "PO file statistics:" %} <br />
- {% trans "Strings:" %} {{ stats|num_stats:"full" }}
- <div class="graph graphinline">
- {{ stats|vis_stats:"full" }}
- </div>
- {% trans "Words:" %} {{ stats|num_word_stats:"full" }}
- <div class="graph graphinline">
- {{ stats|vis_word_stats:"full" }}
+ <div title="{% trans "Translated/Fuzzy/Untranslated" %}">
+ {% trans "Strings:" %} {{ stats|num_stats:"full" }}
+ <div class="graph graphinline">
+ {{ stats|vis_stats:"full" }}
+ </div>
+ {% trans "Words:" %} {{ stats|num_word_stats:"full" }}
+ <div class="graph graphinline">
+ {{ stats|vis_word_stats:"full" }}
+ </div>
</div>
</div>
{% if po_url_reduced %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]