kunitconversion: update currency URLs

reference:
https://github.com/fluxer/katana/issues/24

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-06-26 10:54:08 +03:00
parent a147d62f1a
commit d6139ae24c

View file

@ -45,13 +45,13 @@
using namespace KUnitConversion;
static const char URL[] = "http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml";
static const char URL[] = "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml";
Currency::Currency() : UnitCategory(CurrencyCategory)
{
setName(i18n("Currency"));
setDescription(i18n("From ECB"));
setUrl(KUrl("http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html"));
setUrl(KUrl("https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html"));
setSymbolStringFormat(ki18nc("%1 value, %2 unit symbol (currency)", "%1 %2"));
// Static rates