diff --git a/skgbankmodeler/sources/org.kde.skrooge-source-ratesapi.desktop b/skgbankmodeler/sources/org.kde.skrooge-source-ratesapi.desktop index 83d908d2d..8e2ecba36 100644 --- a/skgbankmodeler/sources/org.kde.skrooge-source-ratesapi.desktop +++ b/skgbankmodeler/sources/org.kde.skrooge-source-ratesapi.desktop @@ -1,56 +1,60 @@ [Desktop Entry] Name=RatesAPI Name[ca]=RatesAPI Name[cs]=RatesAPI Name[en_GB]=RatesAPI Name[es]=RatesAPI Name[fr]=RatesAPI Name[gl]=RatesAPI Name[it]=RatesAPI Name[nl]=RatesAPI Name[pl]=RatesAPI Name[pt]=RatesAPI Name[sv]=RatesAPI Name[uk]=RatesAPI Name[x-test]=xxRatesAPIxx Comment=You can get the list of available quotes from RatesAPI.
Then, enter the expected quote in format CURRENCY/BASE (eg. USD/EUR). +Comment[nl]=U kunt de lijst met namen van beschikbare koersen ophalen uit RatesAPI.
Voer dan de gewenste koers in in het formaat VALUTA/BASIS (bijv. USD/EUR). +Comment[pt]=Poderá obter a lista de cotações disponíveis a partir do RatesAPI.
Depois, indique o símbolo das cotações esperadas no formato MOEDA/BASE (p.ex., USD/EUR). +Comment[uk]=Ви можете отримати список доступних курсів з сайта RatesAPI.
Далі, введіть потрібний вам курс у форматі ВАЛЮТА/ЕТАЛОН (наприклад USD/EUR). +Comment[x-test]=xxYou can get the list of available quotes from RatesAPI.
Then, enter the expected quote in format CURRENCY/BASE (eg. USD/EUR).xx Encoding=UTF-8 Icon=skrooge Type=Service X-KDE-ServiceTypes=skrooge/source X-Krunner-ID=ratesapi X-KDE-PluginInfo-Author=Stephane MANKOWSKI,miraks X-KDE-PluginInfo-Email=stephane@mankowski.fr X-KDE-PluginInfo-Name=RatesAPI X-KDE-PluginInfo-Version=1.0 X-KDE-PluginInfo-Website=https://skrooge.org/ X-KDE-PluginInfo-Category=Plugins X-KDE-PluginInfo-Depends= X-KDE-PluginInfo-License=GPL X-KDE-PluginInfo-EnabledByDefault=true #The url or the command line to get the list of accounts in the standard output, something like this: #%1 will be replaced by the internet code of the unit #%2 will be replaced by the current day in format yyyy-MM-dd #%3 will be replaced by the previous date in format yyyy-MM-dd #Example: # X-SKROOGE-url=https://server/?s=%1 # or # X-SKROOGE-script=mydownloadscript %1 #This parameter is MANDATORY X-SKROOGE-script=skrooge-ratesapi.py %1 #The mode (HTML or CSV or CSVR). In HTML mode, only one value will be extracted from downloaded page. In CSV mode, a value per line will be extracted. CSVR means CSV in reverse mode X-SKROOGE-mode=CSV #Regular expression to capture the price of the quote #This parameter is not MANDATORY. X-SKROOGE-price=[^,]*,([^,]*) #Regular expression to capture the date of the quote #This parameter is not MANDATORY. X-SKROOGE-date=([^,]*),.* #The date format X-SKROOGE-dateformat=yyyy-MM-dd