summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2013-10-27 22:41:05 +0000
committerDart Raiden <wowemuh@gmail.com>2013-10-27 22:41:05 +0000
commit70c938b678146fb3ae65be2173e3ff27a513889c (patch)
treeff5ea26fe36e407a2c070f4d60f125e44d620866
parent4475f7c71b774faae68a1272cbf0e8df4b8161a4 (diff)
WebView: so much capitalization
git-svn-id: http://svn.miranda-ng.org/main/trunk@6654 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/WebView/res/webview.rc104
-rw-r--r--plugins/WebView/src/main.cpp24
-rw-r--r--plugins/WebView/src/webview.cpp6
-rw-r--r--plugins/WebView/src/webview_alerts.cpp16
-rw-r--r--plugins/WebView/src/webview_datawnd.cpp12
-rw-r--r--plugins/WebView/src/webview_opts.cpp8
-rw-r--r--plugins/WebView/src/webview_services.cpp2
7 files changed, 86 insertions, 86 deletions
diff --git a/plugins/WebView/res/webview.rc b/plugins/WebView/res/webview.rc
index 31cb5e0847..578fc07c9c 100644
--- a/plugins/WebView/res/webview.rc
+++ b/plugins/WebView/res/webview.rc
@@ -59,19 +59,19 @@ BEGIN
BS_AUTOCHECKBOX | WS_TABSTOP,150,20,128,8
CONTROL "Disable main menu items",IDC_DISABLEMENU,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,150,30,128,8
- CONTROL "Load Page on Window Open",IDC_UPDATE_ON_OPEN,"Button",
+ CONTROL "Load page on window open",IDC_UPDATE_ON_OPEN,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,150,40,128,8
- CONTROL "Update data on start-up",IDC_UPDATE_ONSTART,"Button",
+ CONTROL "Update data on startup",IDC_UPDATE_ONSTART,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,150,50,128,8
- CONTROL "Only Update Window on Alert",IDC_UPDATE_ONALERT,"Button",
+ CONTROL "Only update window on alert",IDC_UPDATE_ONALERT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,150,60,128,8
///////////
- GROUPBOX "Window Appearance",IDC_STATIC,1,75,278,62
- LTEXT "Background Color:",IDC_STATIC,16,85,69,8
+ GROUPBOX "Window appearance",IDC_STATIC,1,75,278,62
+ LTEXT "Background color:",IDC_STATIC,16,85,69,8
CONTROL "",IDC_BGCOLOR,"ColourPicker",WS_TABSTOP,85,85,20,8
- LTEXT "Text Color:",IDC_STATIC,16,95,69,8
+ LTEXT "Text color:",IDC_STATIC,16,95,69,8
CONTROL "",IDC_TXTCOLOR,"ColourPicker",WS_TABSTOP,85,95,20,8
COMBOBOX IDC_TYPEFACE,16,105,136,182,CBS_DROPDOWN | CBS_SORT |
@@ -87,23 +87,23 @@ BEGIN
BS_AUTOCHECKBOX | WS_TABSTOP,160,100,48,8
CONTROL "Underline",IDC_FONT_UNDERLINE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,160,110,58,8
- CONTROL "Save Individual Window Positions",IDC_SAVE_INDIVID_POS,"Button",
+ CONTROL "Save individual window positions",IDC_SAVE_INDIVID_POS,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,132,122,146,8
///////////
- GROUPBOX "Error Messages",IDC_STATIC,1,137,278,25
+ GROUPBOX "Error messages",IDC_STATIC,1,137,278,25
CONTROL "Suppress error messages",IDC_SUPPRESS,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,16,149,110,8
CONTROL "Display using Popup or OSD plugin",IDC_ERROR_POPUP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,140,149,130,8
//////////
- GROUPBOX "Expert Options",IDC_ADV_GRP,142,163,137,35,WS_GROUP
- CONTROL "Disable Download Protection",IDC_NO_PROTECT,"Button",
+ GROUPBOX "Expert options",IDC_ADV_GRP,142,163,137,35,WS_GROUP
+ CONTROL "Disable download protection",IDC_NO_PROTECT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,148,175,130,8
- LTEXT "(Not Recommended)",IDC_NOT_RECOMND_TXT,148,185,122,8
+ LTEXT "(not recommended)",IDC_NOT_RECOMND_TXT,148,185,122,8
//////////
- GROUPBOX "Display Data in Popup on Alert",IDC_STATIC, 1, 164, 139, 34
- CONTROL "Display Data in Popup", IDC_DATAPOPUP , "Button",
+ GROUPBOX "Display data in popup on alert",IDC_STATIC, 1, 164, 139, 34
+ CONTROL "Display data in popup", IDC_DATAPOPUP , "Button",
BS_AUTOCHECKBOX | WS_TABSTOP, 16, 177, 120, 8
/////
LTEXT "You may need to restart Miranda NG for this change to take effect.",IDC_RESTART,
@@ -165,7 +165,7 @@ BEGIN
EDITTEXT IDC_URL, 80, 26, 158, 12,ES_AUTOHSCROLL
//
GROUPBOX "Display", IDC_STATIC, 245, 1, 120, 92,WS_GROUP
- CONTROL "Between Start and End strings",IDC_U_SE_STRINGS,"Button",
+ CONTROL "Between start and end strings",IDC_U_SE_STRINGS,"Button",
BS_AUTORADIOBUTTON, 249, 25, 113, 8
CONTROL "Whole web page",IDC_U_ALLSITE,"Button",
BS_AUTORADIOBUTTON, 249, 12, 113, 8
@@ -173,16 +173,16 @@ BEGIN
EDITTEXT IDC_START, 280, 37, 70, 12 ,ES_AUTOHSCROLL
RTEXT "End:",IDC_STATIC,249, 53, 30, 8
EDITTEXT IDC_END, 280, 51, 70, 12 ,ES_AUTOHSCROLL
- DEFPUSHBUTTON "Copy Strings to Alerts",IDC_CPY_STRINGS, 249, 66, 101, 12
+ DEFPUSHBUTTON "Copy strings to alerts",IDC_CPY_STRINGS, 249, 66, 101, 12
//LTEXT "(pastes strings)",IDC_CPY_STR_TXT, 270, 81, 92, 8
//
GROUPBOX "Double click action",IDC_STATIC, 4, 47, 111, 47 ,WS_GROUP
- CONTROL "Opens Web page",IDC_DBLE_WEB,"Button",
+ CONTROL "Opens web page",IDC_DBLE_WEB,"Button",
BS_AUTORADIOBUTTON, 6, 68, 105, 8
- CONTROL "Opens Data Window",IDC_DBLE_WIN,"Button",
+ CONTROL "Opens data window",IDC_DBLE_WIN,"Button",
BS_AUTORADIOBUTTON,6, 81, 105, 8
//
- GROUPBOX "Display Clean-up",IDC_STATIC, 117, 47, 126, 47 ,WS_GROUP
+ GROUPBOX "Display clean-up",IDC_STATIC, 117, 47, 126, 47 ,WS_GROUP
CONTROL "Remove HTML",IDC_CLEAN,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP, 120, 59, 100, 8
CONTROL "Slider1",IDC_RWSPACE,"msctls_trackbar32",TBS_BOTH |
@@ -206,9 +206,9 @@ CAPTION "Find"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
EDITTEXT IDC_FINDWHAT,48,11,115,12,ES_AUTOHSCROLL
- DEFPUSHBUTTON "&Find Next",IDC_OK,173,7,50,14
+ DEFPUSHBUTTON "&Find next",IDC_OK,173,7,50,14
PUSHBUTTON "Cancel",IDC_CANCEL,173,24,50,14
- LTEXT "Find What:",IDC_STATIC,7,13,39,9
+ LTEXT "Find what:",IDC_STATIC,7,13,39,9
GROUPBOX "",IDC_STATIC,48,24,115,18
LTEXT "Search was completed.",IDC_SEARCH_COMPLETE,
52,30,90,8,NOT WS_VISIBLE
@@ -222,42 +222,42 @@ END
IDD_ALRT_OPT DIALOGEX 0, 0, 337, 185
STYLE DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_SYSMENU | WS_CAPTION
EXSTYLE WS_EX_CONTROLPARENT
-CAPTION "Alert Options"
+CAPTION "Alert options"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
- GROUPBOX "Events And Alerts",IDC_STATIC,3, 4, 331, 71,WS_GROUP
- CONTROL "Enable Alerts",IDC_ENABLE_ALERTS,"Button",
+ GROUPBOX "Events and alerts",IDC_STATIC,3, 4, 331, 71,WS_GROUP
+ CONTROL "Enable alerts",IDC_ENABLE_ALERTS,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP, 9, 13, 82, 13
- CONTROL "Always Log To File",IDC_ALWAYS_LOG,"Button",
+ CONTROL "Always log to file",IDC_ALWAYS_LOG,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP, 9, 25, 82, 13
//
GROUPBOX "",IDC_STATIC,7, 36, 324, 35 ,WS_GROUP
- CONTROL "Add Time And Date Of Alert To Contact Name",IDC_ADD_DATE_NAME,"Button",
+ CONTROL "Add time and date of alert to contact name",IDC_ADD_DATE_NAME,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP, 9, 42, 235, 13
CONTROL "Use 24 hour time format instead of 12 hour",IDC_24_HOUR,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,9, 57, 235, 13
- CONTROL "Add As Prefix",IDC_PREFIX,"Button",
+ CONTROL "Add as prefix",IDC_PREFIX,"Button",
BS_AUTORADIOBUTTON, 248, 46, 82, 8
- CONTROL "Add As Suffix",IDC_SUFFIX,"Button",
+ CONTROL "Add as suffix",IDC_SUFFIX,"Button",
BS_AUTORADIOBUTTON, 248, 58, 82, 8
//
- RTEXT "Alert When:",IDC_STATIC, 120, 13, 63, 9
+ RTEXT "Alert when:",IDC_STATIC, 120, 13, 63, 9
COMBOBOX IDC_EVENT_TYPE,184, 11, 147, 63 ,CBS_DROPDOWN |
WS_VSCROLL | WS_TABSTOP
- RTEXT "Alert Type:",IDC_STATIC, 120, 27, 63, 9
+ RTEXT "Alert type:",IDC_STATIC, 120, 27, 63, 9
COMBOBOX IDC_ALERT_TYPE, 184, 26, 147, 67 ,CBS_DROPDOWN |
WS_VSCROLL | WS_TABSTOP
//
//////////
- GROUPBOX "Test Conditions",IDC_STATIC, 3, 77, 331, 58 ,WS_GROUP
+ GROUPBOX "Test conditions",IDC_STATIC, 3, 77, 331, 58 ,WS_GROUP
//
- GROUPBOX "Alert When String Is Present On Web Page",IDC_STATIC, 7, 85, 144, 44 ,WS_GROUP
+ GROUPBOX "Alert when string is present on web page",IDC_STATIC, 7, 85, 144, 44 ,WS_GROUP
RTEXT "String:",IDC_STATIC, 10, 99, 34, 8
EDITTEXT IDC_ALERT_STRING, 45, 97, 103, 12 ,ES_AUTOHSCROLL
//
- GROUPBOX "Alert When Specific Area Of Web Page Changes",IDC_STATIC,155, 85, 176, 44 ,WS_GROUP
+ GROUPBOX "Alert when specific area of web page changes",IDC_STATIC,155, 85, 176, 44 ,WS_GROUP
RTEXT "Start:",IDC_STATIC, 163, 97, 36, 8
EDITTEXT IDC_START2,200, 95, 126, 12,ES_AUTOHSCROLL
RTEXT "End:",IDC_STATIC, 163, 112, 36, 8
@@ -265,8 +265,8 @@ BEGIN
//
/////////
//
- GROUPBOX "Log To file",IDC_STATIC, 3, 137, 246, 37,WS_GROUP
- RTEXT "Log File:",IDC_STATIC, 8, 148, 39, 9
+ GROUPBOX "Log to file",IDC_STATIC, 3, 137, 246, 37,WS_GROUP
+ RTEXT "Log file:",IDC_STATIC, 8, 148, 39, 9
EDITTEXT IDC_FILENAME, 48, 147, 174, 12,ES_AUTOHSCROLL
PUSHBUTTON "...",IDC_BROWSE, 228, 148, 15, 11
CONTROL "Append data to file",IDC_APPEND,"Button",
@@ -294,15 +294,15 @@ EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
////
- GROUPBOX "Popup Delay",IDC_STATIC,8,5,150,54,WS_GROUP
+ GROUPBOX "Popup delay",IDC_STATIC,8,5,150,54,WS_GROUP
//CONTROL "Delay",IDC_PD3,"Button",BS_AUTORADIOBUTTON,18,15,47,8
LTEXT "Delay",IDC_STATIC,18,15,47,8
EDITTEXT IDC_DELAY,65,15,31,9,ES_RIGHT | ES_AUTOHSCROLL |
ES_NUMBER | NOT WS_BORDER,WS_EX_STATICEDGE
LTEXT "seconds",IDC_STATIC,106,15,34,10
- //CONTROL "From PopUp Plugin",IDC_PD1,"Button",BS_AUTORADIOBUTTON,
+ //CONTROL "From Popup plugin",IDC_PD1,"Button",BS_AUTORADIOBUTTON,
// 18,30,110,8
- CONTROL "From Popup Plugin",IDC_PD1,"MButtonClass",WS_TABSTOP,
+ CONTROL "From Popup plugin",IDC_PD1,"MButtonClass",WS_TABSTOP,
18,30,110,8
//CONTROL "Permanent",IDC_PD2,"Button",BS_AUTORADIOBUTTON,18,45,
// 110,8
@@ -314,36 +314,36 @@ BEGIN
45,11,0x18000000L
////
GROUPBOX "Colors",IDC_STATIC,8,60,270,60,WS_GROUP
- CONTROL "Use Custom Colors",IDC_POP_USECUSTCOLORS,"Button",
+ CONTROL "Use custom colors",IDC_POP_USECUSTCOLORS,"Button",
BS_AUTORADIOBUTTON,18,70,111,13
LTEXT "Background",IDC_STATIC,223,65,50,8,SS_CENTERIMAGE
LTEXT "Text",IDC_STATIC,147,65,50,8,SS_CENTERIMAGE
CONTROL "",IDC_POP_BGCOLOUR,"ColourPicker",WS_TABSTOP,223,75,35,11
CONTROL "",IDC_POP_TEXTCOLOUR,"ColourPicker",WS_TABSTOP,147,75,35,11
- CONTROL "Use Windows Colors",IDC_POP_USEWINCOLORS,"Button",
+ CONTROL "Use Windows colors",IDC_POP_USEWINCOLORS,"Button",
BS_AUTORADIOBUTTON,18,85,121,13
- CONTROL "Use Same Colors As Data Window", IDC_POP_USESAMECOLORS,"Button",
+ CONTROL "Use same colors as data window", IDC_POP_USESAMECOLORS,"Button",
BS_AUTORADIOBUTTON,18,100,161,13
////
- GROUPBOX "Left Click Action",IDC_STATIC,8,125,120,54,WS_GROUP
- CONTROL "Open Data Display Window",IDC_LCLK_WINDOW,"Button",
+ GROUPBOX "Left click action",IDC_STATIC,8,125,120,54,WS_GROUP
+ CONTROL "Open data display window",IDC_LCLK_WINDOW,"Button",
BS_AUTORADIOBUTTON,18,135,100,8
- CONTROL "Open Web Page",IDC_LCLK_WEB_PGE,"Button",
+ CONTROL "Open web page",IDC_LCLK_WEB_PGE,"Button",
BS_AUTORADIOBUTTON,18,150,100,8
- CONTROL "Dismiss Popup",IDC_LCLK_DISMISS,"Button",
+ CONTROL "Dismiss popup",IDC_LCLK_DISMISS,"Button",
BS_AUTORADIOBUTTON,18,165,100,8
- GROUPBOX "Right Click Action",IDC_STATIC,160,125,120,54,WS_GROUP
- CONTROL "Open Data Display Window",IDC_RCLK_WINDOW,"Button",
+ GROUPBOX "Right click action",IDC_STATIC,160,125,120,54,WS_GROUP
+ CONTROL "Open data display window",IDC_RCLK_WINDOW,"Button",
BS_AUTORADIOBUTTON,170,135,100,8
- CONTROL "Open Web Page",IDC_RCLK_WEB_PGE,"Button",
+ CONTROL "Open web page",IDC_RCLK_WEB_PGE,"Button",
BS_AUTORADIOBUTTON,170,150,100,8
- CONTROL "Dismiss Popup",IDC_RCLK_DISMISS,"Button",
+ CONTROL "Dismiss popup",IDC_RCLK_DISMISS,"Button",
BS_AUTORADIOBUTTON,170,165,100,8
- //CONTROL "Use Popup Plugins Notify Popups",IDC_PUALERT,"Button",
+ //CONTROL "Use popup plugins notify popups",IDC_PUALERT,"Button",
// BS_AUTOCHECKBOX | WS_TABSTOP,16,185,130,8
END
@@ -367,9 +367,9 @@ BEGIN
MENUITEM "&Delete", IDM_DELETE
MENUITEM "&Paste", IDM_PASTE
MENUITEM SEPARATOR
- MENUITEM "Co&py All", IDM_COPYALL
- MENUITEM "&Select All", IDM_SELECTALL
- MENUITEM "C&lear All", IDM_CLEAR_ALL
+ MENUITEM "Co&py all", IDM_COPYALL
+ MENUITEM "&Select all", IDM_SELECTALL
+ MENUITEM "C&lear all", IDM_CLEAR_ALL
END
END
diff --git a/plugins/WebView/src/main.cpp b/plugins/WebView/src/main.cpp
index 9f642e8b28..7b90f167b9 100644
--- a/plugins/WebView/src/main.cpp
+++ b/plugins/WebView/src/main.cpp
@@ -188,7 +188,7 @@ extern "C" int __declspec(dllexport) Load()
InitServices();
//add sound event to options
- SkinAddNewSoundExT("webviewalert", _T(MODULENAME), LPGENT("Alert Event"));
+ SkinAddNewSoundExT("webviewalert", _T(MODULENAME), LPGENT("Alert event"));
//value is 1 if menu is disabled
db_set_b(NULL, MODULENAME, MENU_IS_DISABLED_KEY, 1);
@@ -206,9 +206,9 @@ extern "C" int __declspec(dllexport) Load()
mi.ptszPopupName = _T(MODULENAME);
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_SITE));
if (db_get_b(NULL, MODULENAME, DISABLE_AUTOUPDATE_KEY, 0))
- mi.ptszName = LPGENT("Auto Update Disabled");
+ mi.ptszName = LPGENT("Auto update disabled");
else
- mi.ptszName = LPGENT("Auto Update Enabled");
+ mi.ptszName = LPGENT("Auto update enabled");
mi.pszService = "DisableWebview";
hMenuItem1 = Menu_AddMainMenuItem(&mi);
@@ -221,7 +221,7 @@ extern "C" int __declspec(dllexport) Load()
mi.position = 500090002;
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_UPDATEALL));
- mi.ptszName = LPGENT("Update All Webview Sites");
+ mi.ptszName = LPGENT("Update all Webview sites");
mi.pszService = "UpdateAll";
Menu_AddMainMenuItem(&mi);
@@ -233,7 +233,7 @@ extern "C" int __declspec(dllexport) Load()
mi.position = 500090099;
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_MARKALLREAD));
- mi.ptszName = LPGENT("Mark All Webview Sites Read");
+ mi.ptszName = LPGENT("Mark all Webview sites read");
mi.pszService = "MarkAllSitesRead";
Menu_AddMainMenuItem(&mi);
@@ -243,7 +243,7 @@ extern "C" int __declspec(dllexport) Load()
CreateServiceFunction("OpenCacheFolder", OpenCacheDir);
mi.position = 500090099;
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_FOLDER));
- mi.ptszName = LPGENT("Open Cache Folder");
+ mi.ptszName = LPGENT("Open cache folder");
mi.pszService = "OpenCacheFolder";
Menu_AddMainMenuItem(&mi);
@@ -255,7 +255,7 @@ extern "C" int __declspec(dllexport) Load()
mi.flags |= CMIF_KEEPUNTRANSLATED;
TCHAR countername[100];
- mir_sntprintf(countername, SIZEOF(countername), TranslateT("%d Minutes to Update"), db_get_dw(NULL, MODULENAME, COUNTDOWN_KEY, 0));
+ mir_sntprintf(countername, SIZEOF(countername), TranslateT("%d minutes to update"), db_get_dw(NULL, MODULENAME, COUNTDOWN_KEY, 0));
mi.position = 600090099;
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_UPDATEALL));
mi.pszContactOwner = NULL;
@@ -286,31 +286,31 @@ extern "C" int __declspec(dllexport) Load()
mi.position = 2222220;
mi.pszService = "UpdateData";
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_UPDATE));
- mi.ptszName = LPGENT("Update Data");
+ mi.ptszName = LPGENT("Update data");
Menu_AddContactMenuItem(&mi);
CreateServiceFunction("ContactOptions", CntOptionsMenuCommand);
mi.pszService = "ContactOptions";
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_OPTIONS));
- mi.ptszName = LPGENT("Contact Options");
+ mi.ptszName = LPGENT("Contact options");
Menu_AddContactMenuItem(&mi);
CreateServiceFunction("ContactAlertOpts", CntAlertMenuCommand);
mi.pszService = "ContactAlertOpts";
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_ALERT));
- mi.ptszName = LPGENT("Contact Alert Options");
+ mi.ptszName = LPGENT("Contact alert options");
Menu_AddContactMenuItem(&mi);
CreateServiceFunction("PingWebsite", PingWebsiteMenuCommand);
mi.pszService = "PingWebsite";
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_PING));
- mi.ptszName = LPGENT("Ping Web Site");
+ mi.ptszName = LPGENT("Ping web site");
Menu_AddContactMenuItem(&mi);
CreateServiceFunction("StopDataProcessing", StpPrcssMenuCommand);
mi.pszService = "StopDataProcessing";
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_STOP));
- mi.ptszName = LPGENT("Stop Data Processing");
+ mi.ptszName = LPGENT("Stop data processing");
Menu_AddContactMenuItem(&mi);
hWindowList = (HANDLE) CallService(MS_UTILS_ALLOCWINDOWLIST, 0, 0);
diff --git a/plugins/WebView/src/webview.cpp b/plugins/WebView/src/webview.cpp
index b47f9a63d1..5ce833865b 100644
--- a/plugins/WebView/src/webview.cpp
+++ b/plugins/WebView/src/webview.cpp
@@ -55,9 +55,9 @@ void ChangeMenuItem1()
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_SITE));
if (!db_get_b(NULL, MODULENAME, DISABLE_AUTOUPDATE_KEY, 0))
- mi.ptszName = LPGENT("Auto Update Enabled");
+ mi.ptszName = LPGENT("Auto update enabled");
else
- mi.ptszName = LPGENT("Auto Update Disabled");
+ mi.ptszName = LPGENT("Auto update disabled");
CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuItem1, (LPARAM)&mi);
}
@@ -73,7 +73,7 @@ void ChangeMenuItemCountdown()
mi.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_UPDATEALL));
TCHAR countername[100];
- mir_sntprintf(countername,SIZEOF(countername), TranslateT("%d Minutes to Update"), db_get_dw(NULL, MODULENAME, COUNTDOWN_KEY, 0));
+ mir_sntprintf(countername,SIZEOF(countername), TranslateT("%d minutes to update"), db_get_dw(NULL, MODULENAME, COUNTDOWN_KEY, 0));
mi.ptszName = countername;
CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuItemCountdown, (LPARAM)&mi);
diff --git a/plugins/WebView/src/webview_alerts.cpp b/plugins/WebView/src/webview_alerts.cpp
index 05a9864b53..5da24a6c4d 100644
--- a/plugins/WebView/src/webview_alerts.cpp
+++ b/plugins/WebView/src/webview_alerts.cpp
@@ -460,7 +460,7 @@ int ProcessAlerts(HANDLE hContact, char *truncated, char *tstr, char *contactnam
HWND hwndDlg = WindowList_Find(hWindowList, hContact);
SetDlgItemText(hwndDlg, IDC_STATUSBAR, TranslateT("Download successful; about to process data..."));
}
- else MessageBox(NULL, TranslateT("Unknown Alert Type."), _T(MODULENAME), MB_OK);
+ else MessageBox(NULL, TranslateT("Unknown alert type."), _T(MODULENAME), MB_OK);
}
}
}
@@ -504,13 +504,13 @@ int ProcessAlerts(HANDLE hContact, char *truncated, char *tstr, char *contactnam
if (!notpresent) {
if (alertIndex == 0) { // popup
- WAlertPopup(hContact, TranslateT("The Web Page Has Changed."));
+ WAlertPopup(hContact, TranslateT("The web page has changed."));
// contactlist name//
if ( db_get_b(hContact, MODULENAME, APND_DATE_NAME_KEY, 0))
db_set_s(hContact, "CList", "MyHandle", tstr);
}
else if (alertIndex == 3) { // osd
- WAlertOSD(hContact, TranslateT("The Web Page Has Changed."));
+ WAlertOSD(hContact, TranslateT("The web page has changed."));
// contactlist name//
if ( db_get_b(hContact, MODULENAME, APND_DATE_NAME_KEY, 0))
db_set_s(hContact, "CList", "MyHandle", tstr);
@@ -555,7 +555,7 @@ int ProcessAlerts(HANDLE hContact, char *truncated, char *tstr, char *contactnam
if ( db_get_b(hContact, MODULENAME, APND_DATE_NAME_KEY, 0))
db_set_s(hContact, "CList", "MyHandle", tstr);
}
- else MessageBox(NULL, TranslateT("Unknown Alert Type."), _T(MODULENAME), MB_OK);
+ else MessageBox(NULL, TranslateT("Unknown alert type."), _T(MODULENAME), MB_OK);
}
}
}
@@ -715,13 +715,13 @@ int ProcessAlerts(HANDLE hContact, char *truncated, char *tstr, char *contactnam
if (!notpresent) {
if (alertIndex == 0) { // popup
- WAlertPopup(hContact, TranslateT("Specific Part Of The Web Page Has Changed."));
+ WAlertPopup(hContact, TranslateT("Specific part of the web page has changed."));
// contactlist name//
if ( db_get_b(hContact, MODULENAME, APND_DATE_NAME_KEY, 0))
db_set_s(hContact, "CList", "MyHandle", tstr);
}
else if (alertIndex == 3) { // osd
- WAlertOSD(hContact, TranslateT("Specific Part Of The Web Page Has Changed."));
+ WAlertOSD(hContact, TranslateT("Specific part of the web page has changed."));
// contactlist name//
if ( db_get_b(hContact, MODULENAME, APND_DATE_NAME_KEY, 0))
db_set_s(hContact, "CList", "MyHandle", tstr);
@@ -765,7 +765,7 @@ int ProcessAlerts(HANDLE hContact, char *truncated, char *tstr, char *contactnam
if ( db_get_b(hContact, MODULENAME, APND_DATE_NAME_KEY, 0))
db_set_s(hContact, "CList", "MyHandle", tstr);
}
- else MessageBox(NULL, TranslateT("Unknown Alert Type."), _T(MODULENAME), MB_OK);
+ else MessageBox(NULL, TranslateT("Unknown alert type."), _T(MODULENAME), MB_OK);
}
}
}
@@ -890,6 +890,6 @@ void ReadFromFile(HANDLE hContact)
Removewhitespace(truncated);
SendToRichEdit(hwndDlg, truncated, TextClr, BackgoundClr);
- SetDlgItemText(hwndDlg, IDC_STATUSBAR, TranslateT("Loaded From Cache"));
+ SetDlgItemText(hwndDlg, IDC_STATUSBAR, TranslateT("Loaded from cache"));
}
}
diff --git a/plugins/WebView/src/webview_datawnd.cpp b/plugins/WebView/src/webview_datawnd.cpp
index cfaae10b78..2c166e17ae 100644
--- a/plugins/WebView/src/webview_datawnd.cpp
+++ b/plugins/WebView/src/webview_datawnd.cpp
@@ -183,19 +183,19 @@ INT_PTR CALLBACK DlgProcDisplayData(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
SendDlgItemMessage(hwndDlg, IDC_DATA, EM_SETBKGNDCOLOR, 0, colour);
SendDlgItemMessage(hwndDlg, IDC_UPDATE_BUTTON, BM_SETIMAGE, IMAGE_ICON, (LPARAM) LoadImage(hInst, MAKEINTRESOURCE(IDI_UPDATE), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), 0));
- SendDlgItemMessage(hwndDlg, IDC_UPDATE_BUTTON, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Update Data"), BATF_TCHAR);
+ SendDlgItemMessage(hwndDlg, IDC_UPDATE_BUTTON, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Update data"), BATF_TCHAR);
SendDlgItemMessage(hwndDlg, IDC_FIND_BUTTON, BM_SETIMAGE, IMAGE_ICON, (LPARAM) LoadImage(hInst, MAKEINTRESOURCE(IDI_FIND), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), 0));
SendDlgItemMessage(hwndDlg, IDC_FIND_BUTTON, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Find"), BATF_TCHAR);
SendDlgItemMessage(hwndDlg, IDC_OPTIONS_BUTTON, BM_SETIMAGE, IMAGE_ICON, (LPARAM) LoadImage(hInst, MAKEINTRESOURCE(IDI_OPTIONS), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), 0));
- SendDlgItemMessage(hwndDlg, IDC_OPTIONS_BUTTON, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Contact Options"), BATF_TCHAR);
+ SendDlgItemMessage(hwndDlg, IDC_OPTIONS_BUTTON, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Contact options"), BATF_TCHAR);
SendDlgItemMessage(hwndDlg, IDC_ALERT_BUTTON, BM_SETIMAGE, IMAGE_ICON, (LPARAM) LoadImage(hInst, MAKEINTRESOURCE(IDI_ALERT), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), 0));
- SendDlgItemMessage(hwndDlg, IDC_ALERT_BUTTON, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Alert Options"), BATF_TCHAR);
+ SendDlgItemMessage(hwndDlg, IDC_ALERT_BUTTON, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Alert options"), BATF_TCHAR);
SendDlgItemMessage(hwndDlg, IDC_STOP, BM_SETIMAGE, IMAGE_ICON, (LPARAM) LoadImage(hInst, MAKEINTRESOURCE(IDI_STOP), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), 0));
- SendDlgItemMessage(hwndDlg, IDC_STOP, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Stop Processing"), BATF_TCHAR);
+ SendDlgItemMessage(hwndDlg, IDC_STOP, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Stop processing"), BATF_TCHAR);
SendDlgItemMessage(hwndDlg, IDC_OPEN_URL, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Click here to open this URL in a browser window."), BATF_TCHAR);
@@ -205,7 +205,7 @@ INT_PTR CALLBACK DlgProcDisplayData(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
}
else {
SendDlgItemMessage(hwndDlg, IDC_STICK_BUTTON, BM_SETIMAGE, IMAGE_ICON, (LPARAM) LoadImage(hInst, MAKEINTRESOURCE(IDI_STICK), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), 0));
- SendDlgItemMessage(hwndDlg, IDC_STICK_BUTTON, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Disable Stick to the Front"), BATF_TCHAR);
+ SendDlgItemMessage(hwndDlg, IDC_STICK_BUTTON, BUTTONADDTOOLTIP, (WPARAM) TranslateT("Disable stick to the front"), BATF_TCHAR);
}
SendDlgItemMessage(hwndDlg, IDC_DATA, WM_SETFONT, (WPARAM) h_font, 1);
@@ -366,7 +366,7 @@ INT_PTR CALLBACK DlgProcDisplayData(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
}
else {
hTopmost = HWND_TOPMOST;
- ptszToolTip = TranslateT("Disable Stick to the front");
+ ptszToolTip = TranslateT("Disable stick to the front");
}
SendDlgItemMessage(hwndDlg, IDC_STICK_BUTTON, BM_SETIMAGE, IMAGE_ICON, (LPARAM) LoadImage(hInst, MAKEINTRESOURCE(IDI_UNSTICK), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), 0));
SendMessage(GetDlgItem(hwndDlg, IDC_STICK_BUTTON), BUTTONADDTOOLTIP, (WPARAM)ptszToolTip, BATF_TCHAR);
diff --git a/plugins/WebView/src/webview_opts.cpp b/plugins/WebView/src/webview_opts.cpp
index 2c4cfdc053..d7606ecb12 100644
--- a/plugins/WebView/src/webview_opts.cpp
+++ b/plugins/WebView/src/webview_opts.cpp
@@ -32,8 +32,8 @@ const TCHAR *szTrackerBarDescr[] = {
};
static char *fontSizes[] = {"8", "10", "14", "16", "18", "20", "24", "28"};
-static TCHAR *AlertTypes[] = { LPGENT("Popup Plugin"), LPGENT("Log To File"), LPGENT("Open Data Display Window"), LPGENT("Use OSD Plugin") };
-static TCHAR *EventTypes[] = { LPGENT("A String Is Present"), LPGENT("The Web Page Changes"), LPGENT("A Specific Part of Web Page Changes") };
+static TCHAR *AlertTypes[] = { LPGENT("Popup plugin"), LPGENT("Log to file"), LPGENT("Open data display window"), LPGENT("Use OSD plugin") };
+static TCHAR *EventTypes[] = { LPGENT("A string is present"), LPGENT("The web page changes"), LPGENT("A specific part of web page changes") };
#define M_FILLSCRIPTCOMBO (WM_USER+16)
@@ -289,7 +289,7 @@ INT_PTR CALLBACK DlgProcAlertOpt(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
SetWindowLong(hwndDlg, GWLP_USERDATA, (LONG) hContact);
- SetWindowText(hwndDlg, TranslateT("Alert Options"));
+ SetWindowText(hwndDlg, TranslateT("Alert options"));
SendMessage(hwndDlg, WM_SETICON, ICON_SMALL, (LPARAM) LoadIcon(hInst, MAKEINTRESOURCE(IDI_ALERT)));
@@ -829,7 +829,7 @@ INT_PTR CALLBACK DlgProcContactOpt(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
SetWindowLong(hwndDlg, GWLP_USERDATA, (LONG) hContact);
WindowList_Add(hWindowList, hwndDlg, hContact);
- SetWindowText(hwndDlg, TranslateT("Contact Options"));
+ SetWindowText(hwndDlg, TranslateT("Contact options"));
SendMessage(hwndDlg, WM_SETICON, ICON_SMALL, (LPARAM) LoadIcon(hInst, MAKEINTRESOURCE(IDI_OPTIONS)));
diff --git a/plugins/WebView/src/webview_services.cpp b/plugins/WebView/src/webview_services.cpp
index 3c73882553..776c5431e1 100644
--- a/plugins/WebView/src/webview_services.cpp
+++ b/plugins/WebView/src/webview_services.cpp
@@ -359,7 +359,7 @@ INT_PTR AddToList(WPARAM wParam, LPARAM lParam)
}
if (psr->nick == NULL) {
- WErrorPopup("ERROR", TranslateT("Please select site in Find/Add Contacts..."));
+ WErrorPopup("ERROR", TranslateT("Please select site in Find/Add contacts..."));
return 0;
}