From b2ede364067e1317b34c9227f3de3e5f1451202e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 May 2021 19:07:11 +0300 Subject: Weather: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #2853 (Weather: разобраться с переменными) fixes #2852 (Weather: some strings cannot be translated) --- protocols/Weather/src/weather_data.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Weather/src') diff --git a/protocols/Weather/src/weather_data.cpp b/protocols/Weather/src/weather_data.cpp index 2ba284d2fa..472cf3073c 100644 --- a/protocols/Weather/src/weather_data.cpp +++ b/protocols/Weather/src/weather_data.cpp @@ -65,11 +65,11 @@ WEATHERINFO LoadWeatherInfo(MCONTACT hContact) wcsncpy(winfo.sunset, NODATA, _countof(winfo.sunset) - 1); if (db_get_wstatic(hContact, WEATHERCONDITION, "Sunrise", winfo.sunrise, _countof(winfo.sunrise))) wcsncpy(winfo.sunrise, NODATA, _countof(winfo.sunrise) - 1); - if (db_get_wstatic(hContact, WEATHERCONDITION, "Wind Speed", winfo.wind, _countof(winfo.wind))) + if (db_get_wstatic(hContact, WEATHERCONDITION, "Wind speed", winfo.wind, _countof(winfo.wind))) wcsncpy(winfo.wind, NODATA, _countof(winfo.wind) - 1); - if (db_get_wstatic(hContact, WEATHERCONDITION, "Wind Direction", winfo.winddir, _countof(winfo.winddir))) + if (db_get_wstatic(hContact, WEATHERCONDITION, "Wind direction", winfo.winddir, _countof(winfo.winddir))) wcsncpy(winfo.winddir, NODATA, _countof(winfo.winddir) - 1); - if (db_get_wstatic(hContact, WEATHERCONDITION, "Dewpoint", winfo.dewpoint, _countof(winfo.dewpoint))) + if (db_get_wstatic(hContact, WEATHERCONDITION, "Dew point", winfo.dewpoint, _countof(winfo.dewpoint))) wcsncpy(winfo.dewpoint, NODATA, _countof(winfo.dewpoint) - 1); if (db_get_wstatic(hContact, WEATHERCONDITION, "Pressure", winfo.pressure, _countof(winfo.pressure))) wcsncpy(winfo.pressure, NODATA, _countof(winfo.pressure) - 1); -- cgit v1.2.3