use the local language to show the national bank name

This commit is contained in:
MaysWind
2024-11-17 13:16:22 +08:00
parent 8f944b1b46
commit fec100a273
5 changed files with 5 additions and 5 deletions
@@ -19,7 +19,7 @@ import (
const bankOfIsraelExchangeRateUrl = "https://boi.org.il/PublicApi/GetExchangeRates?asXml=true" const bankOfIsraelExchangeRateUrl = "https://boi.org.il/PublicApi/GetExchangeRates?asXml=true"
const bankOfIsraelExchangeRateReferenceUrl = "https://www.boi.org.il/en/economic-roles/financial-markets/exchange-rates/" const bankOfIsraelExchangeRateReferenceUrl = "https://www.boi.org.il/en/economic-roles/financial-markets/exchange-rates/"
const bankOfIsraelDataSource = "Bank of Israel" const bankOfIsraelDataSource = "בנק ישראל"
const bankOfIsraelBaseCurrency = "ILS" const bankOfIsraelBaseCurrency = "ILS"
const bankOfIsraelDataUpdateDateFormat = "2006-01-02T15:04:05.9999999Z" const bankOfIsraelDataUpdateDateFormat = "2006-01-02T15:04:05.9999999Z"
@@ -20,7 +20,7 @@ import (
const bankOfRussiaExchangeRateUrl = "https://cbr.ru/scripts/XML_daily_eng.asp" const bankOfRussiaExchangeRateUrl = "https://cbr.ru/scripts/XML_daily_eng.asp"
const bankOfRussiaExchangeRateReferenceUrl = "https://www.cbr.ru/eng/currency_base/daily/" const bankOfRussiaExchangeRateReferenceUrl = "https://www.cbr.ru/eng/currency_base/daily/"
const bankOfRussiaDataSource = "Bank of Russia" const bankOfRussiaDataSource = "Банк России"
const bankOfRussiaBaseCurrency = "RUB" const bankOfRussiaBaseCurrency = "RUB"
const bankOfRussiaUpdateDateFormat = "02.01.2006 15:04" const bankOfRussiaUpdateDateFormat = "02.01.2006 15:04"
@@ -16,7 +16,7 @@ import (
const nationalBankOfGeorgiaExchangeRateUrl = "https://nbg.gov.ge/gw/api/ct/monetarypolicy/currencies/en/json" const nationalBankOfGeorgiaExchangeRateUrl = "https://nbg.gov.ge/gw/api/ct/monetarypolicy/currencies/en/json"
const nationalBankOfGeorgiaExchangeRateReferenceUrl = "https://nbg.gov.ge/en/monetary-policy/currency" const nationalBankOfGeorgiaExchangeRateReferenceUrl = "https://nbg.gov.ge/en/monetary-policy/currency"
const nationalBankOfGeorgiaDataSource = "National Bank of Georgia" const nationalBankOfGeorgiaDataSource = "საქართველოს ეროვნული ბანკი"
const nationalBankOfGeorgiaBaseCurrency = "GEL" const nationalBankOfGeorgiaBaseCurrency = "GEL"
const nationalBankOfGeorgiaUpdateDateFormat = "2006-01-02T15:04:05.999Z" const nationalBankOfGeorgiaUpdateDateFormat = "2006-01-02T15:04:05.999Z"
@@ -19,7 +19,7 @@ import (
const nationalBankOfRomaniaExchangeRateUrl = "https://www.bnr.ro/nbrfxrates.xml" const nationalBankOfRomaniaExchangeRateUrl = "https://www.bnr.ro/nbrfxrates.xml"
const nationalBankOfRomaniaExchangeRateReferenceUrl = "https://www.bnr.ro/Exchange-rates-1224.aspx" const nationalBankOfRomaniaExchangeRateReferenceUrl = "https://www.bnr.ro/Exchange-rates-1224.aspx"
const nationalBankOfRomaniaDataSource = "National Bank of Romania" const nationalBankOfRomaniaDataSource = "Banca Naţională a României"
const nationalBankOfRomaniaUpdateDateFormat = "2006-01-02 15" const nationalBankOfRomaniaUpdateDateFormat = "2006-01-02 15"
const nationalBankOfRomaniaUpdateDateTimezone = "Europe/Bucharest" const nationalBankOfRomaniaUpdateDateTimezone = "Europe/Bucharest"
@@ -19,7 +19,7 @@ import (
const swissNationalBankExchangeRateUrl = "https://www.snb.ch/public/en/rss/exchangeRates" const swissNationalBankExchangeRateUrl = "https://www.snb.ch/public/en/rss/exchangeRates"
const swissNationalBankExchangeRateReferenceUrl = "https://www.snb.ch/en/the-snb/mandates-goals/statistics/statistics-pub/current_interest_exchange_rates" const swissNationalBankExchangeRateReferenceUrl = "https://www.snb.ch/en/the-snb/mandates-goals/statistics/statistics-pub/current_interest_exchange_rates"
const swissNationalBankDataSource = "Swiss National Bank" const swissNationalBankDataSource = "Schweizerische Nationalbank"
const swissNationalBankBaseCurrency = "CHF" const swissNationalBankBaseCurrency = "CHF"
const swissNationalBankDataUpdateDateFormat = "Mon, 02 Jan 2006 15:04:05 MST" const swissNationalBankDataUpdateDateFormat = "Mon, 02 Jan 2006 15:04:05 MST"