Author: jerome
Date: 2009-06-25 20:42:56 +0200 (Thu, 25 Jun 2009)
New Revision: 4903
Modified:
software_suite_v3/software/plugin/plugin-weather/trunk/plugin-weather/src/net/karmaLab/tuxDroid/plugins/WeatherPlugin.java
Log:
* Fixed a tts bug.
Modified:
software_suite_v3/software/plugin/plugin-weather/trunk/plugin-weather/src/net/karmaLab/tuxDroid/plugins/WeatherPlugin.java
===================================================================
---
software_suite_v3/software/plugin/plugin-weather/trunk/plugin-weather/src/net/karmaLab/tuxDroid/plugins/WeatherPlugin.java
2009-06-25 18:16:18 UTC (rev 4902)
+++
software_suite_v3/software/plugin/plugin-weather/trunk/plugin-weather/src/net/karmaLab/tuxDroid/plugins/WeatherPlugin.java
2009-06-25 18:42:56 UTC (rev 4903)
@@ -172,10 +172,10 @@
humidity = humidity.split(":")[1]; //$NON-NLS-1$
humidity = ((String) humidity.subSequence(0,
humidity.length() - 1)).trim();
if (weather.length() == 0) {
- throwMessage("Current weather at {0} is
\"unknown\" with a temperature of {1} degrees {2}; Humidity level is {3}
percent.", configuration().getLocation(), temperature,
configuration().getUnit() == Unit.celsius ? "celsius" : "fahrenheit",
+ throwMessage("Current weather at {0} is
\"unknown\" with a temperature of {1} degrees {2}; Humidity level is {3}
percent.", configuration().getLocation().replace("%20", " "), temperature,
configuration().getUnit() == Unit.celsius ? "celsius" : "fahrenheit",
humidity);
} else {
- throwMessage("Current weather at {0} is \"{1}\"
with a temperature of {2} degrees {3}; Humidity level is {4} percent.",
configuration().getLocation(), weather, temperature, configuration().getUnit()
== Unit.celsius ? "celsius" : "fahrenheit",
+ throwMessage("Current weather at {0} is \"{1}\"
with a temperature of {2} degrees {3}; Humidity level is {4} percent.",
configuration().getLocation().replace("%20", " "), weather, temperature,
configuration().getUnit() == Unit.celsius ? "celsius" : "fahrenheit",
humidity);
}
------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn