summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2018-08-02 20:42:26 +0300
committerdartraiden <wowemuh@gmail.com>2018-08-02 20:42:26 +0300
commit2d2977af995a333820bfa64650d4c43e8876b153 (patch)
tree577374f30929a2b1f65b3ddf4f4ca357e4babafc /plugins
parent5a4659d5269479fee674a8fac958bdc770a81953 (diff)
CurrencyRates: this is not plugin name, but just words
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CurrencyRates/res/Forex.rc2
-rw-r--r--plugins/CurrencyRates/src/CurrencyRateInfoDlg.cpp4
-rw-r--r--plugins/CurrencyRates/src/CurrencyRatesProviderVisitorFormatSpecificator.cpp12
-rw-r--r--plugins/CurrencyRates/src/IconLib.cpp10
4 files changed, 14 insertions, 14 deletions
diff --git a/plugins/CurrencyRates/res/Forex.rc b/plugins/CurrencyRates/res/Forex.rc
index 05b0d2732c..ecd52b4664 100644
--- a/plugins/CurrencyRates/res/Forex.rc
+++ b/plugins/CurrencyRates/res/Forex.rc
@@ -251,7 +251,7 @@ END
IDD_DIALOG_CURRENCYRATE_INFO_1 DIALOGEX 0, 0, 222, 143
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
-CAPTION "CurrencyRate\\Rate Info"
+CAPTION "Rate Info"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
CTEXT "",IDC_STATIC_CURRENCYRATE_NAME,7,7,208,8
diff --git a/plugins/CurrencyRates/src/CurrencyRateInfoDlg.cpp b/plugins/CurrencyRates/src/CurrencyRateInfoDlg.cpp
index 927fa7197d..c523acbe9d 100644
--- a/plugins/CurrencyRates/src/CurrencyRateInfoDlg.cpp
+++ b/plugins/CurrencyRates/src/CurrencyRateInfoDlg.cpp
@@ -8,7 +8,7 @@ extern HGENMENU g_hMenuChart;
#endif
extern HGENMENU g_hMenuRefresh, g_hMenuRoot;
-#define WINDOW_PREFIX_INFO "CurrencyRate Info"
+#define WINDOW_PREFIX_INFO "Currency Rate Info"
MCONTACT g_hContact;
@@ -111,7 +111,7 @@ int CurrencyRatesEventFunc_OnUserInfoInit(WPARAM wp, LPARAM lp)
odp.pfnDlgProc = CurrencyRateInfoDlgProc;
odp.position = -2000000000;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_DIALOG_CURRENCYRATE_INFO);
- odp.szTitle.a = LPGEN("CurrencyRate");
+ odp.szTitle.a = LPGEN("Currency Rate");
g_plugin.addUserInfo(wp, &odp);
return 0;
}
diff --git a/plugins/CurrencyRates/src/CurrencyRatesProviderVisitorFormatSpecificator.cpp b/plugins/CurrencyRates/src/CurrencyRatesProviderVisitorFormatSpecificator.cpp
index e9f6450d94..3f5fdb4cdb 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("CurrencyRate Symbol")));
- m_aSpecificators.push_back(CFormatSpecificator(L"%d", TranslateT("CurrencyRate Name")));
+ m_aSpecificators.push_back(CFormatSpecificator(L"%s", TranslateT("Currency Rate Symbol")));
+ m_aSpecificators.push_back(CFormatSpecificator(L"%d", TranslateT("Currency Rate 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("CurrencyRate Symbol")));
- m_aSpecificators.push_back(CFormatSpecificator(L"%n", TranslateT("CurrencyRate Name")));
+ 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"%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("CurrencyRate Symbol")));
- m_aSpecificators.push_back(CFormatSpecificator(L"%n", TranslateT("CurrencyRate Name")));
+ 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"%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/IconLib.cpp b/plugins/CurrencyRates/src/IconLib.cpp
index 52a3ca1acf..df33941ad9 100644
--- a/plugins/CurrencyRates/src/IconLib.cpp
+++ b/plugins/CurrencyRates/src/IconLib.cpp
@@ -4,11 +4,11 @@ static IconItem iconList[] =
{
{ LPGEN("Protocol icon"), ICON_STR_MAIN, IDI_ICON_MAIN },
{ LPGEN("Auto Update Disabled"), "auto_update_disabled", IDI_ICON_DISABLED },
- { LPGEN("CurrencyRate/Rate up"), "currencyrate_up", IDI_ICON_UP },
- { LPGEN("CurrencyRate/Rate down"), "currencyrate_down", IDI_ICON_DOWN },
- { LPGEN("CurrencyRate/Rate not changed"), "currencyrate_not_changed", IDI_ICON_NOTCHANGED },
- { LPGEN("CurrencyRate Section"), "currencyrate_section", IDI_ICON_SECTION },
- { LPGEN("CurrencyRate"), ICON_STR_CURRENCYRATE, IDI_ICON_CURRENCYRATE },
+ { 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 Section"), "currencyrate_section", IDI_ICON_SECTION },
+ { LPGEN("Currency Rate"), ICON_STR_CURRENCYRATE, IDI_ICON_CURRENCYRATE },
{ LPGEN("Currency Converter"), "currency_converter", IDI_ICON_CURRENCY_CONVERTER },
{ LPGEN("Refresh"), "refresh", IDI_ICON_REFRESH },
{ LPGEN("Export"), "export", IDI_ICON_EXPORT },