diff options
author | dartraiden <wowemuh@gmail.com> | 2018-08-02 21:15:17 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2018-08-02 21:15:17 +0300 |
commit | 4c47c97da317d3f4ff233411c212a8ac98847cfa (patch) | |
tree | 5bf8c597752093a19647d3ee31d64803640904ca /plugins/CurrencyRates | |
parent | 2d2977af995a333820bfa64650d4c43e8876b153 (diff) |
CurrencyRates: fix capitalization, spelling correction
Diffstat (limited to 'plugins/CurrencyRates')
-rw-r--r-- | plugins/CurrencyRates/src/CurrencyRatesProviderVisitorFormatSpecificator.cpp | 12 | ||||
-rw-r--r-- | plugins/CurrencyRates/src/Forex.cpp | 4 | ||||
-rw-r--r-- | plugins/CurrencyRates/src/IconLib.cpp | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/plugins/CurrencyRates/src/CurrencyRatesProviderVisitorFormatSpecificator.cpp b/plugins/CurrencyRates/src/CurrencyRatesProviderVisitorFormatSpecificator.cpp index 3f5fdb4cdb..05fceba8ac 100644 --- a/plugins/CurrencyRates/src/CurrencyRatesProviderVisitorFormatSpecificator.cpp +++ b/plugins/CurrencyRates/src/CurrencyRatesProviderVisitorFormatSpecificator.cpp @@ -10,8 +10,8 @@ CCurrencyRatesProviderVisitorFormatSpecificator::~CCurrencyRatesProviderVisitorF void CCurrencyRatesProviderVisitorFormatSpecificator::Visit(const CCurrencyRatesProviderDukasCopy&/* rProvider*/) { - m_aSpecificators.push_back(CFormatSpecificator(L"%s", TranslateT("Currency Rate Symbol"))); - m_aSpecificators.push_back(CFormatSpecificator(L"%d", TranslateT("Currency Rate Name"))); + m_aSpecificators.push_back(CFormatSpecificator(L"%s", TranslateT("Currency Symbol"))); + m_aSpecificators.push_back(CFormatSpecificator(L"%d", TranslateT("Currency Name"))); } void CCurrencyRatesProviderVisitorFormatSpecificator::Visit(const CCurrencyRatesProviderBase&/* rProvider*/) @@ -29,8 +29,8 @@ void CCurrencyRatesProviderVisitorFormatSpecificator::Visit(const CCurrencyRates void CCurrencyRatesProviderVisitorFormatSpecificator::Visit(const CCurrencyRatesProviderGoogleFinance&/* rProvider*/) { - m_aSpecificators.push_back(CFormatSpecificator(L"%s", TranslateT("Currency Rate Symbol"))); - m_aSpecificators.push_back(CFormatSpecificator(L"%n", TranslateT("Currency Rate Name"))); + m_aSpecificators.push_back(CFormatSpecificator(L"%s", TranslateT("Currency Symbol"))); + m_aSpecificators.push_back(CFormatSpecificator(L"%n", TranslateT("Currency Name"))); m_aSpecificators.push_back(CFormatSpecificator(L"%o", TranslateT("Open Price"))); m_aSpecificators.push_back(CFormatSpecificator(L"%d", TranslateT("Percent Change to After Hours"))); m_aSpecificators.push_back(CFormatSpecificator(L"%y", TranslateT("Percent Change to Yesterday Close"))); @@ -43,8 +43,8 @@ const CCurrencyRatesProviderVisitorFormatSpecificator::TFormatSpecificators& CCu void CCurrencyRatesProviderVisitorFormatSpecificator::Visit(const CCurrencyRatesProviderYahoo&) { - m_aSpecificators.push_back(CFormatSpecificator(L"%s", TranslateT("Currency Rate Symbol"))); - m_aSpecificators.push_back(CFormatSpecificator(L"%n", TranslateT("Currency Rate Name"))); + m_aSpecificators.push_back(CFormatSpecificator(L"%s", TranslateT("Currency Symbol"))); + m_aSpecificators.push_back(CFormatSpecificator(L"%n", TranslateT("Currency Name"))); m_aSpecificators.push_back(CFormatSpecificator(L"%o", TranslateT("Open Price"))); m_aSpecificators.push_back(CFormatSpecificator(L"%h", TranslateT("Day's High"))); m_aSpecificators.push_back(CFormatSpecificator(L"%g", TranslateT("Day's Low"))); diff --git a/plugins/CurrencyRates/src/Forex.cpp b/plugins/CurrencyRates/src/Forex.cpp index cd4e6dfd53..2715beaca0 100644 --- a/plugins/CurrencyRates/src/Forex.cpp +++ b/plugins/CurrencyRates/src/Forex.cpp @@ -63,7 +63,7 @@ void InitMenu() { CMenuItem mi(&g_plugin); mi.flags = CMIF_UNICODE; - mi.root = g_plugin.addRootMenu(MO_MAIN, LPGENW("Currency rates"), 0, CurrencyRates_GetIconHandle(IDI_ICON_MAIN)); + mi.root = g_plugin.addRootMenu(MO_MAIN, LPGENW("Currency Rates"), 0, CurrencyRates_GetIconHandle(IDI_ICON_MAIN)); Menu_ConfigureItem(mi.root, MCI_OPT_UID, "B474F556-22B6-42A1-A91E-22FE4F671388"); SET_UID(mi, 0x9de6716, 0x3591, 0x48c4, 0x9f, 0x64, 0x1b, 0xfd, 0xc6, 0xd1, 0x34, 0x97); @@ -109,7 +109,7 @@ void InitMenu() HookEvent(ME_CLIST_PREBUILDCONTACTMENU, CurrencyRates_PrebuildContactMenu); - g_hMenuRoot = mi.root = g_plugin.addRootMenu(MO_CONTACT, LPGENW("Currency rates"), 0, CurrencyRates_GetIconHandle(IDI_ICON_MAIN)); + g_hMenuRoot = mi.root = g_plugin.addRootMenu(MO_CONTACT, LPGENW("Currency Rates"), 0, CurrencyRates_GetIconHandle(IDI_ICON_MAIN)); Menu_ConfigureItem(mi.root, MCI_OPT_UID, "C259BE01-642C-461E-997D-0E756B2A3AD6"); SET_UID(mi, 0xb9812194, 0x3235, 0x4e76, 0xa3, 0xa4, 0x73, 0x32, 0x96, 0x1c, 0x1c, 0xf4); diff --git a/plugins/CurrencyRates/src/IconLib.cpp b/plugins/CurrencyRates/src/IconLib.cpp index df33941ad9..da67d1310f 100644 --- a/plugins/CurrencyRates/src/IconLib.cpp +++ b/plugins/CurrencyRates/src/IconLib.cpp @@ -4,9 +4,9 @@ static IconItem iconList[] = { { LPGEN("Protocol icon"), ICON_STR_MAIN, IDI_ICON_MAIN }, { LPGEN("Auto Update Disabled"), "auto_update_disabled", IDI_ICON_DISABLED }, - { LPGEN("Currency Rate/Rate up"), "currencyrate_up", IDI_ICON_UP }, - { LPGEN("Currency Rate/Rate down"), "currencyrate_down", IDI_ICON_DOWN }, - { LPGEN("Currency Rate/Rate not changed"), "currencyrate_not_changed", IDI_ICON_NOTCHANGED }, + { LPGEN("Currency Rate up"), "currencyrate_up", IDI_ICON_UP }, + { LPGEN("Currency Rate down"), "currencyrate_down", IDI_ICON_DOWN }, + { LPGEN("Currency Rate not changed"), "currencyrate_not_changed", IDI_ICON_NOTCHANGED }, { LPGEN("Currency Rate Section"), "currencyrate_section", IDI_ICON_SECTION }, { LPGEN("Currency Rate"), ICON_STR_CURRENCYRATE, IDI_ICON_CURRENCYRATE }, { LPGEN("Currency Converter"), "currency_converter", IDI_ICON_CURRENCY_CONVERTER }, |