From 18738a3452bc980a943734aad8fa1c23366342ce Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 3 Apr 2025 14:50:35 +0300 Subject: =?UTF-8?q?files=20#4837=20(Weather:=20=D0=BD=D0=B5=20=D1=80=D0=B0?= =?UTF-8?q?=D0=B1=D0=BE=D1=82=D0=B0=D0=B5=D1=82=20=D0=BA=D0=BD=D0=BE=D0=BF?= =?UTF-8?q?=D0=BA=D0=B0=20"=D0=95=D1=89=D1=91=20=D0=BF=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=BD=D1=8B=D0=B5")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Weather/src/weather_update.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'protocols/Weather/src/weather_update.cpp') 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); + } } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3