X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Ffunction%2Fweather%2FWeatherTableModel.java;h=35444b6dc9387786e5b870cc34f0c4f9da8000ea;hp=274490e12256bfade9b79ceb7ce06f689cb1ccb4;hb=88f2c3647ed9e055090484f01a959d4581f85e7d;hpb=326f489e36aa7f235bc19409a57bf4955cd50f24 diff --git a/tim/prune/function/weather/WeatherTableModel.java b/tim/prune/function/weather/WeatherTableModel.java index 274490e..35444b6 100644 --- a/tim/prune/function/weather/WeatherTableModel.java +++ b/tim/prune/function/weather/WeatherTableModel.java @@ -84,13 +84,12 @@ public class WeatherTableModel extends AbstractTableModel return buildDisplayString(null, I18nManager.getText("dialog.weather.day." + dayDesc)); } case ROW_DESC: return buildDisplayString(null, forecast.getDescription()); - case ROW_WIND: return buildDisplayString("Wind", forecast.getWindDescription()); + case ROW_WIND: return buildDisplayString(I18nManager.getText("dialog.weather.wind"), forecast.getWindDescription()); case ROW_ICON: return forecast.getImageName(); - case ROW_TEMP: return buildDisplayString("Temp", forecast.getTemps() + case ROW_TEMP: return buildDisplayString(I18nManager.getText("dialog.weather.temp"), forecast.getTemps() + (_results.isCelsius() ? UNITS_DEGC : UNITS_DEGF)); - case ROW_HUMID: return buildDisplayString("Humidity", forecast.getHumidity()); + case ROW_HUMID: return buildDisplayString(I18nManager.getText("dialog.weather.humidity"), forecast.getHumidity()); } - // TODO: Use language-specific texts for wind, temp and humidity } return ""; }