Signed-off-by: Ajay Garg <a...@activitycentral.com> --- extensions/deviceicon/battery.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/extensions/deviceicon/battery.py b/extensions/deviceicon/battery.py index 260cb12..63530fe 100644 --- a/extensions/deviceicon/battery.py +++ b/extensions/deviceicon/battery.py @@ -155,8 +155,9 @@ class BatteryPalette(Palette): minutes_remaining = self._time // 60 remaining_hourpart = minutes_remaining // 60 remaining_minpart = minutes_remaining % 60 - secondary_text = _('%(hour)d:%(min).2d remaining') % \ + time_value = '%(hour)d:%(min).2d ' % \ {'hour': remaining_hourpart, 'min': remaining_minpart} + secondary_text = time_value + _('remaining') else: secondary_text = _('Charged') -- 1.7.4.4 _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel