Changeset 1863

Show
Ignore:
Timestamp:
06/11/08 16:57:25 (2 months ago)
Author:
duncan
svm:headrev:

cc3e1ea1-1e01-0410-8d68-8b121e83a9d5:11145
Message:

Moved colon to allow translations to work
Fix suggested by Helmut

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • freevo/src/plugins/oneclick.py

    r1772 r1863  
    978978        lines = [] 
    979979        try: 
    980             lines.append('%s %s' % (_('As of:'), weather.getLastUpdated())) 
    981             lines.append('%s %s' % (_('at'), weather.getObservationStation())) 
     980            lines.append('%s: %s' % (_('As of'), weather.getLastUpdated())) 
     981            lines.append('%s: %s' % (_('at'), weather.getObservationStation())) 
    982982            lines.append('  %s' % (weather.getCurrentCondition())) 
    983             lines.append('  %s %s' % (_('Temperature:'), weather.getTemperature())) 
    984             lines.append('  %s %s' % (_('Dew Point:'), weather.getDewPoint())) 
    985             lines.append('  %s %s' % (_('Humidity:'), weather.getHumidity())) 
    986             lines.append('  %s %s' % (_('Visibility:'), weather.getVisibility())) 
    987             lines.append('  %s %s' % (_('Pressure:'), weather.getPressure())) 
    988             lines.append('  %s %s' % (_('Winds:'), weather.getWind())) 
    989             lines.append('%s' % (_('Tonight:'))) 
    990             lines.append('  %s %s' % (_('Sunset:'), weather.getSunset())) 
    991             lines.append('  %s %s' % (_('Moon Phase:'), weather.getMoonPhase())) 
     983            lines.append('  %s: %s' % (_('Temperature'), weather.getTemperature())) 
     984            lines.append('  %s: %s' % (_('Dew Point'), weather.getDewPoint())) 
     985            lines.append('  %s: %s' % (_('Humidity'), weather.getHumidity())) 
     986            lines.append('  %s: %s' % (_('Visibility'), weather.getVisibility())) 
     987            lines.append('  %s: %s' % (_('Pressure'), weather.getPressure())) 
     988            lines.append('  %s: %s' % (_('Winds'), weather.getWind())) 
     989            lines.append('%s:' % (_('Tonight'))) 
     990            lines.append('  %s: %s' % (_('Sunset'), weather.getSunset())) 
     991            lines.append('  %s: %s' % (_('Moon Phase'), weather.getMoonPhase())) 
    992992        except Exception, error: 
    993993            print error