[weather dataengine] bbc: adapt to changed strings for same day in forecast

parent 41909754
......@@ -991,6 +991,10 @@ void UKMETIon::updateWeather(const QString& source)
int i = 0;
for (const WeatherData::ForecastInfo* forecastInfo : forecasts) {
QString period = forecastInfo->period;
// same day
period.replace(QStringLiteral("Today"), i18nc("Short for Today", "Today"));
period.replace(QStringLiteral("Tonight"), i18nc("Short for Tonight", "Tonight"));
// upcoming days
period.replace(QStringLiteral("Saturday"), i18nc("Short for Saturday", "Sat"));
period.replace(QStringLiteral("Sunday"), i18nc("Short for Sunday", "Sun"));
period.replace(QStringLiteral("Monday"), i18nc("Short for Monday", "Mon"));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment