Mark quote source strings for translations

This commit is contained in:
Przemysław Kryger 2024-10-21 16:10:15 +01:00
parent 3dd9a70164
commit cba868231b
2 changed files with 66 additions and 66 deletions

View File

@ -778,7 +778,7 @@ gnc_ui_source_menu_create(QuoteSourceType type)
supported = gnc_quote_source_get_supported(source);
gtk_list_store_append(store, &iter);
gtk_list_store_set(store, &iter,
SOURCE_COL_NAME, name,
SOURCE_COL_NAME, g_dpgettext2(NULL, "FQ Source", name),
SOURCE_COL_FQ_SUPPORTED, supported,
-1);
}

View File

@ -188,75 +188,75 @@ static QuoteSourceList currency_quote_sources =
*/
static QuoteSourceList single_quote_sources =
{
{ false, SOURCE_SINGLE, "Alphavantage", "alphavantage" },
{ false, SOURCE_SINGLE, "Amsterdam Euronext eXchange, NL", "aex" },
{ false, SOURCE_SINGLE, "Association of Mutual Funds in India", "amfiindia" },
{ false, SOURCE_SINGLE, "Athens Exchange Group, GR", "asegr" },
{ false, SOURCE_SINGLE, "Australian Stock Exchange, AU", "asx" },
{ false, SOURCE_SINGLE, "Bloomberg", "bloomberg" },
{ false, SOURCE_SINGLE, "Italian Stock Exchange, IT", "borsa_italiana" },
{ false, SOURCE_SINGLE, "BSE India, IN", "bseindia" },
{ false, SOURCE_SINGLE, "Bucharest Stock Exchange, RO", "bvb" },
{ false, SOURCE_SINGLE, "Colombo Stock Exchange, LK", "cse" },
{ false, SOURCE_SINGLE, "comdirect, DE", "comdirect" },
{ false, SOURCE_SINGLE, "Consors Bank, DE", "consorsbank" },
{ false, SOURCE_SINGLE, "Deka Investments, DE", "deka" },
{ false, SOURCE_SINGLE, "DWS, DE", "dwsfunds" },
{ false, SOURCE_SINGLE, "Financial Times Funds service, GB", "ftfunds" },
{ false, SOURCE_SINGLE, "Finanzpartner, DE", "finanzpartner" },
{ false, SOURCE_SINGLE, "FondsWeb, DE", "fondsweb" },
{ false, SOURCE_SINGLE, "GoldMoney precious metals", "goldmoney" },
{ false, SOURCE_SINGLE, "Google Web, US Stocks", "googleweb" },
{ false, SOURCE_SINGLE, "IEX (Investors Exchange), US", "iexcloud" },
{ false, SOURCE_SINGLE, "Market Watch", "marketwatch" },
{ false, SOURCE_SINGLE, "Morningstar, AU", "morningstarau" },
{ false, SOURCE_SINGLE, "Morningstar, CH", "morningstarch" },
{ false, SOURCE_SINGLE, "Morningstar, GB", "morningstaruk" },
{ false, SOURCE_SINGLE, "Morningstar, JP", "morningstarjp" },
{ false, SOURCE_SINGLE, "Motley Fool", "fool" },
{ false, SOURCE_SINGLE, "New Zealand stock eXchange, NZ", "nzx" },
{ false, SOURCE_SINGLE, "NSE (National Stock Exchange), IN", "nseindia" },
{ false, SOURCE_SINGLE, "OnVista, DE", "onvista"},
{ false, SOURCE_SINGLE, "Paris Stock Exchange/Boursorama, FR", "bourso" },
{ false, SOURCE_SINGLE, "S-Investor, DE", "sinvestor"},
{ false, SOURCE_SINGLE, "Sharenet, ZA", "za" },
{ false, SOURCE_SINGLE, "SIX Swiss Exchange shares, CH", "six" },
{ false, SOURCE_SINGLE, "Skandinaviska Enskilda Banken, SE", "seb_funds" },
{ false, SOURCE_SINGLE, "StockData", "stockdata" },
{ false, SOURCE_SINGLE, "Stooq, PL", "stooq" },
{ false, SOURCE_SINGLE, "T. Rowe Price, US", "troweprice" },
{ false, SOURCE_SINGLE, "Tesouro Direto bonds, BR", "tesouro_direto" },
{ false, SOURCE_SINGLE, "TIAA-CREF, US", "tiaacref" },
{ false, SOURCE_SINGLE, "Toronto Stock eXchange, CA", "tsx" },
{ false, SOURCE_SINGLE, "Tradegate, DE", "tradegate" },
{ false, SOURCE_SINGLE, "Treasury Direct bonds, US", "treasurydirect" },
{ false, SOURCE_SINGLE, "Twelve Data", "twelvedata" },
{ false, SOURCE_SINGLE, "Union Investment, DE", "unionfunds" },
{ false, SOURCE_SINGLE, "US Govt. Thrift Savings Plan", "tsp" },
{ false, SOURCE_SINGLE, "XETRA, DE", "xetra" },
{ false, SOURCE_SINGLE, "Yahoo as JSON", "yahoo_json" },
{ false, SOURCE_SINGLE, "Yahoo Web", "yahooweb" },
{ false, SOURCE_SINGLE, "YH Finance (FinanceAPI)", "financeapi" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Alphavantage"), "alphavantage" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Amsterdam Euronext eXchange, NL"), "aex" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Association of Mutual Funds in India"), "amfiindia" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Athens Exchange Group, GR"), "asegr" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Australian Stock Exchange, AU"), "asx" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Bloomberg"), "bloomberg" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Italian Stock Exchange, IT"), "borsa_italiana" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "BSE India, IN"), "bseindia" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Bucharest Stock Exchange, RO"), "bvb" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Colombo Stock Exchange, LK"), "cse" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "comdirect, DE"), "comdirect" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Consors Bank, DE"), "consorsbank" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Deka Investments, DE"), "deka" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "DWS, DE"), "dwsfunds" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Financial Times Funds service, GB"), "ftfunds" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Finanzpartner, DE"), "finanzpartner" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "FondsWeb, DE"), "fondsweb" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "GoldMoney precious metals"), "goldmoney" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Google Web, US Stocks"), "googleweb" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "IEX (Investors Exchange), US"), "iexcloud" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Market Watch"), "marketwatch" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Morningstar, AU"), "morningstarau" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Morningstar, CH"), "morningstarch" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Morningstar, GB"), "morningstaruk" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Morningstar, JP"), "morningstarjp" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Motley Fool"), "fool" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "New Zealand stock eXchange, NZ"), "nzx" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "NSE (National Stock Exchange), IN"), "nseindia" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "OnVista, DE"), "onvista"},
{ false, SOURCE_SINGLE, NC_("FQ Source", "Paris Stock Exchange/Boursorama, FR"), "bourso" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "S-Investor, DE"), "sinvestor"},
{ false, SOURCE_SINGLE, NC_("FQ Source", "Sharenet, ZA"), "za" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "SIX Swiss Exchange shares, CH"), "six" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Skandinaviska Enskilda Banken, SE"), "seb_funds" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "StockData"), "stockdata" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Stooq, PL"), "stooq" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "T. Rowe Price, US"), "troweprice" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Tesouro Direto bonds, BR"), "tesouro_direto" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "TIAA-CREF, US"), "tiaacref" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Toronto Stock eXchange, CA"), "tsx" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Tradegate, DE"), "tradegate" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Treasury Direct bonds, US"), "treasurydirect" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Twelve Data"), "twelvedata" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Union Investment, DE"), "unionfunds" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "US Govt. Thrift Savings Plan"), "tsp" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "XETRA, DE"), "xetra" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Yahoo as JSON"), "yahoo_json" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "Yahoo Web"), "yahooweb" },
{ false, SOURCE_SINGLE, NC_("FQ Source", "YH Finance (FinanceAPI)"), "financeapi" },
};
static QuoteSourceList multiple_quote_sources =
{
{ false, SOURCE_MULTI, "Australia (ASX)", "australia" },
{ false, SOURCE_MULTI, "Australia Funds (MorningstarAU)", "aufunds" },
{ false, SOURCE_MULTI, "Canada (Alphavantage, TMX)", "canada" },
{ false, SOURCE_MULTI, "Dutch (AEX)", "dutch" },
{ false, SOURCE_MULTI, "Europe (ASEGR, Bourso, …)", "europe" },
{ false, SOURCE_MULTI, "France (Bourso)", "france" },
{ false, SOURCE_MULTI, "Greece (ASEGR)", "greece" },
{ false, SOURCE_MULTI, "India (BSEIndia, NSEIndia)", "india"},
{ false, SOURCE_MULTI, "India Mutual (AMFI)", "indiamutual" },
{ false, SOURCE_MULTI, "Nasdaq (Alphavantage, FinanceAPI, …)", "nasdaq" },
{ false, SOURCE_MULTI, "NYSE (Alphavantage, FinanceAPI, …)", "nyse" },
{ false, SOURCE_MULTI, "Poland (Stooq)", "poland" },
{ false, SOURCE_MULTI, "Romania (BVB)", "romania" },
{ false, SOURCE_MULTI, "South Africa (Sharenet)", "za" },
{ false, SOURCE_MULTI, "U.K. Funds (FTfunds, MorningstarUK)", "ukfunds" },
{ false, SOURCE_MULTI, "USA (Alphavantage, FinanceAPI, …)", "usa" },
{ false, SOURCE_MULTI, NC_("FQ Source", "Australia (ASX)"), "australia" },
{ false, SOURCE_MULTI, NC_("FQ Source", "Australia Funds (MorningstarAU)"), "aufunds" },
{ false, SOURCE_MULTI, NC_("FQ Source", "Canada (Alphavantage, TMX)"), "canada" },
{ false, SOURCE_MULTI, NC_("FQ Source", "Dutch (AEX)"), "dutch" },
{ false, SOURCE_MULTI, NC_("FQ Source", "Europe (ASEGR, Bourso, …)"), "europe" },
{ false, SOURCE_MULTI, NC_("FQ Source", "France (Bourso)"), "france" },
{ false, SOURCE_MULTI, NC_("FQ Source", "Greece (ASEGR)"), "greece" },
{ false, SOURCE_MULTI, NC_("FQ Source", "India (BSEIndia, NSEIndia)"), "india"},
{ false, SOURCE_MULTI, NC_("FQ Source", "India Mutual (AMFI)"), "indiamutual" },
{ false, SOURCE_MULTI, NC_("FQ Source", "Nasdaq (Alphavantage, FinanceAPI, …)"), "nasdaq" },
{ false, SOURCE_MULTI, NC_("FQ Source", "NYSE (Alphavantage, FinanceAPI, …)"), "nyse" },
{ false, SOURCE_MULTI, NC_("FQ Source", "Poland (Stooq)"), "poland" },
{ false, SOURCE_MULTI, NC_("FQ Source", "Romania (BVB)"), "romania" },
{ false, SOURCE_MULTI, NC_("FQ Source", "South Africa (Sharenet)"), "za" },
{ false, SOURCE_MULTI, NC_("FQ Source", "U.K. Funds (FTfunds, MorningstarUK)"), "ukfunds" },
{ false, SOURCE_MULTI, NC_("FQ Source", "USA (Alphavantage, FinanceAPI, …)"), "usa" },
};
static QuoteSourceList new_quote_sources;