Changeset 1882
- Timestamp:
- 14/11/08 17:28:15 (8 weeks ago)
- svm:headrev:
cc3e1ea1-1e01-0410-8d68-8b121e83a9d5:11164- Files:
-
- 1 modified
-
freevo/src/plugins/oneclick.py (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
freevo/src/plugins/oneclick.py
r1880 r1882 575 575 """ gets the current conditions """ 576 576 _debug_('getCurrentCondition()', 2) 577 return "%s" % ( self.current_conditions)577 return "%s" % (_(self.current_conditions)) 578 578 579 579 def getIcon(self): … … 594 594 def getPressureChange(self): 595 595 _debug_('getPressureChange()', 2) 596 return "%s" % ( self.pressure_change)596 return "%s" % (_(self.pressure_change)) 597 597 598 598 def getWind(self): … … 602 602 elif self.wind_direction == 'VAR': 603 603 return "%s %s %s %s" % (_('Variable'), _('at a rate of'), self.wind_speed, self.unit_s) 604 return "%s %s %s %s" % ( self.wind_direction, _('at a rate of'), self.wind_speed, self.unit_s)604 return "%s %s %s %s" % (_(self.wind_direction), _('at a rate of'), self.wind_speed, self.unit_s) 605 605 606 606 def getWindDir(self): … … 622 622 def getUvIndex(self): 623 623 _debug_('getUvIndex()', 2) 624 return "%s" % ( self.uv_index)624 return "%s" % (_(self.uv_index)) 625 625 626 626 def getUvType(self): 627 627 _debug_('getUvType()', 2) 628 return "%s" % ( self.uv_type)628 return "%s" % (_(self.uv_type)) 629 629 630 630 def getDewPoint(self): … … 638 638 def getMoonPhase(self): 639 639 _debug_('getMoonPhase()', 2) 640 return "%s" % ( self.moon_phase)640 return "%s" % (_(self.moon_phase)) 641 641 642 642 def getSunrise(self): … … 1032 1032 y = y_start 1033 1033 1034 self.week_item(x, y, Unicode(self.parent.weather.date[day]), self.key_font, 160)1034 self.week_item(x, y, _(Unicode(self.parent.weather.date[day])), self.key_font, 160) 1035 1035 1036 1036 self.draw_image(self.parent.weather.weatherIcon[day], … … 1038 1038 1039 1039 y = y_start + self.yscale(200) 1040 self.week_item(x, y, Unicode(self.parent.weather.weatherType[day]), self.small_font, 160)1040 self.week_item(x, y, _(Unicode(self.parent.weather.weatherType[day])), self.small_font, 160) 1041 1041 1042 1042 y = y_start + self.yscale(240)
