summaryrefslogtreecommitdiff
path: root/protocols/Weather/src/weather_update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Weather/src/weather_update.cpp')
-rw-r--r--protocols/Weather/src/weather_update.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/Weather/src/weather_update.cpp b/protocols/Weather/src/weather_update.cpp
index fc3d49afd9..3082d8d2c1 100644
--- a/protocols/Weather/src/weather_update.cpp
+++ b/protocols/Weather/src/weather_update.cpp
@@ -470,8 +470,11 @@ int CWeatherProto::GetWeatherData(MCONTACT hContact)
void GetVarsDescr(CMStringW &str)
{
- for (int i=1; i <= 7; i++)
- str.AppendFormat(L"a%d\t%s %d\r\n", i, TranslateT("Forecast Day"), i);
+ for (int i = 1; i <= 7; i++) {
+ if (i != 1)
+ str.Append(L", ");
+ str.AppendFormat(L"%%[Forecast Day %d]", i);
+ }
}
/////////////////////////////////////////////////////////////////////////////////////////