damned-lies r1445 - in trunk: . templates/languages
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1445 - in trunk: . templates/languages
- Date: Thu, 12 Feb 2009 17:07:19 +0000 (UTC)
Author: claudep
Date: Thu Feb 12 17:07:19 2009
New Revision: 1445
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1445&view=rev
Log:
2009-02-12 Claude Paroz <claude 2xlibre net>
* templates/languages/language_release_stats.html: Fix graph direction for
RTL languages.
Fixes bug #571349.
Modified:
trunk/ChangeLog
trunk/templates/languages/language_release_stats.html
Modified: trunk/templates/languages/language_release_stats.html
==============================================================================
--- trunk/templates/languages/language_release_stats.html (original)
+++ trunk/templates/languages/language_release_stats.html Thu Feb 12 17:07:19 2009
@@ -7,9 +7,9 @@
<td class="leftcell" colspan="3">{{ 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="left:{{ modstats.totaltransperc }}px; width:{{ modstats.totalfuzzyperc }}px;"></div>
+ <div class="fuzzy" style="{{ LANGUAGE_BIDI|yesno:"right,left" }}:{{ modstats.totaltransperc }}px; width:{{ modstats.totalfuzzyperc }}px;"></div>
{% with modstats.totaltransperc|add:modstats.totalfuzzyperc as upos %}
- <div class="untranslated" style="left:{{ upos }}px; width: {{ modstats.totaluntransperc }}px;"></div>
+ <div class="untranslated" style="{{ LANGUAGE_BIDI|yesno:"right,left" }}:{{ upos }}px; width: {{ modstats.totaluntransperc }}px;"></div>
{% endwith %}
</div>
</td>
@@ -63,9 +63,9 @@
{{ stat.tr_percentage }}% ({{ stat.translated }}/{{ stat.fuzzy }}/{{ stat.untranslated }})</td>
<td style="width: 108px; text-align: center;"><div class="graph">
<div class="translated" style="width: {{ stat.tr_percentage }}px;"></div>
- <div class="fuzzy" style="left:{{ stat.tr_percentage }}px; width:{{ stat.fu_percentage }}px;"></div>
+ <div class="fuzzy" style="{{ LANGUAGE_BIDI|yesno:"right,left" }}:{{ stat.tr_percentage }}px; width:{{ stat.fu_percentage }}px;"></div>
{% with stat.tr_percentage|add:stat.fu_percentage as upos %}
- <div class="untranslated" style="left:{{ upos }}px; width:{{ stat.un_percentage }}px;"></div>
+ <div class="untranslated" style="{{ LANGUAGE_BIDI|yesno:"right,left" }}:{{ upos }}px; width:{{ stat.un_percentage }}px;"></div>
{% endwith %}
</div>
</td>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]