summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2018-08-02 21:15:17 +0300
committerdartraiden <wowemuh@gmail.com>2018-08-02 21:15:17 +0300
commit4c47c97da317d3f4ff233411c212a8ac98847cfa (patch)
tree5bf8c597752093a19647d3ee31d64803640904ca
parent2d2977af995a333820bfa64650d4c43e8876b153 (diff)
CurrencyRates: fix capitalization, spelling correction
-rw-r--r--langpacks/english/Plugins/CurrencyRates.txt14
-rw-r--r--plugins/CurrencyRates/src/CurrencyRatesProviderVisitorFormatSpecificator.cpp12
-rw-r--r--plugins/CurrencyRates/src/Forex.cpp4
-rw-r--r--plugins/CurrencyRates/src/IconLib.cpp6
4 files changed, 17 insertions, 19 deletions
diff --git a/langpacks/english/Plugins/CurrencyRates.txt b/langpacks/english/Plugins/CurrencyRates.txt
index 8cd862587f..884e2fb47e 100644
--- a/langpacks/english/Plugins/CurrencyRates.txt
+++ b/langpacks/english/Plugins/CurrencyRates.txt
@@ -75,8 +75,8 @@
[Error occurred during HTML parsing.]
[Error occurred during site access.]
;file \plugins\CurrencyRates\src\CurrencyRatesProviderVisitorFormatSpecificator.cpp
-[Currency Rate Symbol]
-[Currency Rate Name]
+[Currency Symbol]
+[Currency Name]
[Source of Information]
[Rate Value]
[Previous Rate Value]
@@ -101,7 +101,7 @@
;file \plugins\CurrencyRates\src\Forex.cpp
[Auto Update Enabled]
[Auto Update Disabled]
-[Currency rates]
+[Currency Rates]
[Enable/Disable Auto Update]
[Refresh All Rates]
[Currency Converter...]
@@ -114,16 +114,14 @@
[Enable/Disable Currency Rates Auto Update]
[Currency Rates Auto Update Enabled]
[Currency Rates Auto Update Disabled]
-[Currency Symbol]
-[Currency Rates]
[Network]
;file \plugins\CurrencyRates\src\HTTPSession.cpp
[CurrencyRates HTTP connections]
;file \plugins\CurrencyRates\src\IconLib.cpp
[Protocol icon]
-[Currency Rate/Rate up]
-[Currency Rate/Rate down]
-[Currency Rate/Rate not changed]
+[Currency Rate up]
+[Currency Rate down]
+[Currency Rate not changed]
[Currency Rate Section]
[Export]
[Swap button]
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 },