This patch does not solve the bug and introduce a new l10n problem.<br>You put the 'remaining' string at the end, and can exist languages where <br>should be in different order.<br><br>Gonzalo<br><br><div class="gmail_quote">
On Thu, Jan 19, 2012 at 6:35 PM, Ajay Garg <span dir="ltr"><<a href="mailto:ajay@activitycentral.com">ajay@activitycentral.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Signed-off-by: Ajay Garg <<a href="mailto:ajay@activitycentral.com">ajay@activitycentral.com</a>><br>
---<br>
extensions/deviceicon/battery.py | 3 ++-<br>
1 files changed, 2 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/extensions/deviceicon/battery.py b/extensions/deviceicon/battery.py<br>
index 260cb12..63530fe 100644<br>
--- a/extensions/deviceicon/battery.py<br>
+++ b/extensions/deviceicon/battery.py<br>
@@ -155,8 +155,9 @@ class BatteryPalette(Palette):<br>
minutes_remaining = self._time // 60<br>
remaining_hourpart = minutes_remaining // 60<br>
remaining_minpart = minutes_remaining % 60<br>
- secondary_text = _('%(hour)d:%(min).2d remaining') % \<br>
+ time_value = '%(hour)d:%(min).2d ' % \<br>
{'hour': remaining_hourpart, 'min': remaining_minpart}<br>
+ secondary_text = time_value + _('remaining')<br>
else:<br>
secondary_text = _('Charged')<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.7.4.4<br>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></span></blockquote></div><br>