summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2016-10-10 15:05:58 +0000
committerDart Raiden <wowemuh@gmail.com>2016-10-10 15:05:58 +0000
commit5fd4cb7cbf50a154c356b0a16171d6f56977b57e (patch)
tree17dbb829989d8257b3b89ec75cc64aecb48c1d69
parent25b33996e85b86570e0dd53bb235488a655acc2d (diff)
Avatar History: decapitalization
git-svn-id: http://svn.miranda-ng.org/main/trunk@17356 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/AvatarHistory/res/AvatarHistory.rc18
-rw-r--r--plugins/AvatarHistory/src/AvatarDlg.cpp16
-rw-r--r--plugins/AvatarHistory/src/AvatarHistory.cpp10
-rw-r--r--plugins/AvatarHistory/src/icolib.cpp4
-rw-r--r--plugins/AvatarHistory/src/options.cpp4
-rw-r--r--plugins/AvatarHistory/src/utils.cpp8
6 files changed, 30 insertions, 30 deletions
diff --git a/plugins/AvatarHistory/res/AvatarHistory.rc b/plugins/AvatarHistory/res/AvatarHistory.rc
index 74c1409e23..7f5c8ac3aa 100644
--- a/plugins/AvatarHistory/res/AvatarHistory.rc
+++ b/plugins/AvatarHistory/res/AvatarHistory.rc
@@ -26,9 +26,9 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDR_MENU1 MENU
BEGIN
- POPUP "Avatar List Popup"
+ POPUP "Avatar list popup"
BEGIN
- MENUITEM "Save As...", ID_AVATARLISTPOPUP_SAVEAS
+ MENUITEM "Save as...", ID_AVATARLISTPOPUP_SAVEAS
MENUITEM "Delete this entry", ID_AVATARLISTPOPUP_DELETE
MENUITEM "Delete this entry and the bitmap file", ID_AVATARLISTPOPUP_DELETE_BOTH
END
@@ -42,13 +42,13 @@ END
IDD_AVATARDLG DIALOGEX 0, 0, 216, 195
STYLE DS_SETFONT | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
-CAPTION "Avatar History"
+CAPTION "Avatar history"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
LISTBOX IDC_AVATARLIST,7,7,110,74,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
CONTROL "",IDC_AVATAR,"Static",SS_BITMAP | SS_NOTIFY | SS_CENTERIMAGE | SS_REALSIZEIMAGE | SS_SUNKEN,125,7,84,74
LTEXT "Static",IDC_AVATARPATH,7,105,204,26
- PUSHBUTTON "Open Folder",IDC_OPENFOLDER,6,81,49,14
+ PUSHBUTTON "Open folder",IDC_OPENFOLDER,6,81,49,14
PUSHBUTTON "<",IDC_BACK,138,82,31,10,BS_CENTER | BS_VCENTER
PUSHBUTTON ">",IDC_NEXT,172,82,31,10,BS_CENTER | BS_VCENTER
CONTROL "Store this user's old avatars in disk",IDC_LOGUSER,
@@ -105,7 +105,7 @@ END
IDD_FIRST_RUN DIALOGEX 0, 0, 451, 253
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
-CAPTION "Avatar History: Select how to store history avatars"
+CAPTION "Avatar history: Select how to store history avatars"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
LTEXT "Please select how the avatar history should be stored. This setting CANNOT be changed in future, because it would cause all previous history to be lost.",IDC_STATIC,15,7,416,23
@@ -120,13 +120,13 @@ BEGIN
CONTROL "Store history avatars in per contact folders",IDC_DUP,
"Button",BS_AUTORADIOBUTTON,15,181,416,11
LTEXT "History is stored inside Miranda database. It can be seen by History++ or Avatar History internal viewer.",IDC_STATIC,15,44,416,10
- LTEXT "All avatars are stored as <Profile>\\Avatars History\\<Avatar Hash>",IDC_STATIC,15,54,416,10
+ LTEXT "All avatars are stored as <Profile>\\Avatars History\\<Avatar hash>",IDC_STATIC,15,54,416,10
LTEXT "History is stored inside Miranda database. It can be seen by History++ or Avatar History internal viewer.",IDC_STATIC,15,77,416,10
- LTEXT "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar Hash>",IDC_STATIC,15,87,416,10
+ LTEXT "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar hash>",IDC_STATIC,15,87,416,10
LTEXT "History is stored inside Miranda database. It can be seen by History++ or Avatar History internal viewer.",IDC_STATIC,15,110,416,10
- LTEXT "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar Hash> and have a shortcut per history entry in <Profile>\\Avatars History\\<Protocol>\\<Contact ID>\\<Timestamp>",IDC_STATIC,15,120,416,18
+ LTEXT "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar hash> and have a shortcut per history entry in <Profile>\\Avatars History\\<Protocol>\\<Contact ID>\\<Timestamp>",IDC_STATIC,15,120,416,18
LTEXT "History is stored only in disk. It can be seen by Avatar History internal viewer.",IDC_STATIC,15,151,416,10
- LTEXT "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar Hash> and have a shortcut per history entry in <Profile>\\Avatars History\\<Protocol>\\<Contact ID>\\<Timestamp>",IDC_STATIC,15,161,416,18
+ LTEXT "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Avatar hash> and have a shortcut per history entry in <Profile>\\Avatars History\\<Protocol>\\<Contact ID>\\<Timestamp>",IDC_STATIC,15,161,416,18
LTEXT "History is stored only in disk. It can be seen by Avatar History internal viewer.",IDC_STATIC,15,192,416,10
LTEXT "All avatars are stored as <Profile>\\Avatars History\\<Protocol>\\<Contact ID>\\<Timestamp> (the same image can be stored lot of times)",IDC_STATIC,15,203,416,18
DEFPUSHBUTTON "OK",IDOK,151,232,50,14
diff --git a/plugins/AvatarHistory/src/AvatarDlg.cpp b/plugins/AvatarHistory/src/AvatarDlg.cpp
index c645d9f9fc..59f41519c2 100644
--- a/plugins/AvatarHistory/src/AvatarDlg.cpp
+++ b/plugins/AvatarHistory/src/AvatarDlg.cpp
@@ -136,7 +136,7 @@ static INT_PTR CALLBACK AvatarDlgProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM l
wchar_t *displayName = pcli->pfnGetContactDisplayName(data->hContact, 0);
if (displayName) {
wchar_t title[MAX_PATH];
- mir_snwprintf(title, TranslateT("Avatar History for %s"), displayName);
+ mir_snwprintf(title, TranslateT("Avatar history for %s"), displayName);
SetWindowText(hwnd, title);
}
@@ -260,10 +260,10 @@ static INT_PTR CALLBACK AvatarDlgProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM l
BOOL blDelete;
if (le->hDbEvent)
- blDelete = MessageBox(hwnd, TranslateT("Are you sure you wish to delete this archived avatar?\nThis will delete the history entry and the bitmap file.\nWARNING:This can affect more than one entry in history!"),
+ blDelete = MessageBox(hwnd, TranslateT("Are you sure you wish to delete this archived avatar?\nThis will delete the history entry and the bitmap file.\nWARNING: This can affect more than one entry in history!"),
TranslateT("Delete avatar?"), MB_YESNO|MB_ICONWARNING|MB_DEFBUTTON2|MB_SETFOREGROUND|MB_TOPMOST) == IDYES;
else
- blDelete = MessageBox(hwnd, TranslateT("Are you sure you wish to delete this archived avatar?\nThis will delete the shortcut and the bitmap file.\nWARNING:This can affect more than one shortcut!"),
+ blDelete = MessageBox(hwnd, TranslateT("Are you sure you wish to delete this archived avatar?\nThis will delete the shortcut and the bitmap file.\nWARNING: This can affect more than one shortcut!"),
TranslateT("Delete avatar?"), MB_YESNO|MB_ICONWARNING|MB_DEFBUTTON2|MB_SETFOREGROUND|MB_TOPMOST) == IDYES;
if (blDelete) {
@@ -465,7 +465,7 @@ bool UpdateAvatarPic(HWND hwnd)
int cursel = SendMessage(list, LB_GETCURSEL, 0, 0);
if (cursel < 0)
{
- SetDlgItemText(hwnd,IDC_AVATARPATH,TranslateT("Avatar History is empty!"));
+ SetDlgItemText(hwnd,IDC_AVATARPATH,TranslateT("Avatar history is empty!"));
return false;
}
@@ -473,7 +473,7 @@ bool UpdateAvatarPic(HWND hwnd)
if (!le || !le->filename)
{
- SetDlgItemText(hwnd,IDC_AVATARPATH,TranslateT("avatar path is null."));
+ SetDlgItemText(hwnd,IDC_AVATARPATH,TranslateT("Avatar path is null."));
return 0;
}
SetDlgItemText(hwnd,IDC_AVATARPATH,le->filename);
@@ -514,7 +514,7 @@ void InitMenuItem()
CMenuItem mi;
SET_UID(mi,0x2fb5c7eb, 0xa606, 0x4145, 0x9e, 0x86, 0x73, 0x88, 0x73, 0x1d, 0xe7, 0x5c);
- mi.name.w = LPGENW("View Avatar History");
+ mi.name.w = LPGENW("View avatar history");
mi.flags = CMIF_UNICODE;
mi.position = 1000090010;
mi.hIcolibItem = createDefaultOverlayedIcon(FALSE);
@@ -550,12 +550,12 @@ int ShowSaveDialog(HWND hwnd, wchar_t* fn, MCONTACT hContact)
wchar_t title[MAX_PATH];
if (displayName)
{
- mir_snwprintf(title, TranslateT("Save Avatar for %s"), displayName);
+ mir_snwprintf(title, TranslateT("Save avatar for %s"), displayName);
ofn.lpstrTitle = title;
}
else
{
- ofn.lpstrTitle = TranslateT("Save Avatar");
+ ofn.lpstrTitle = TranslateT("Save avatar");
}
ofn.nMaxFile = MAX_PATH;
ofn.Flags = OFN_PATHMUSTEXIST | OFN_DONTADDTORECENT;
diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp
index 0ffab0984f..129eb1e468 100644
--- a/plugins/AvatarHistory/src/AvatarHistory.cpp
+++ b/plugins/AvatarHistory/src/AvatarHistory.cpp
@@ -152,7 +152,7 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam)
if (opts.log_per_contact_folders) {
GetOldStyleAvatarName(history_filename, hContact);
if (CopyImageFile(avatar->filename, history_filename))
- ShowPopup(hContact, TranslateT("Avatar History: Unable to save avatar"), history_filename);
+ ShowPopup(hContact, TranslateT("Avatar history: Unable to save avatar"), history_filename);
else
ShowDebugPopup(hContact, L"AVH Debug: File copied successfully", history_filename);
@@ -162,7 +162,7 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam)
GetOldStyleAvatarName(filename, hMetaContact);
if (CopyImageFile(avatar->filename, filename))
- ShowPopup(hContact, TranslateT("Avatar History: Unable to save avatar"), filename);
+ ShowPopup(hContact, TranslateT("Avatar history: Unable to save avatar"), filename);
else
ShowDebugPopup(hContact, L"AVH Debug: File copied successfully", filename);
}
@@ -191,7 +191,7 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam)
L"%s\\%s", history_filename, hash);
if (CopyImageFile(avatar->filename, history_filename))
- ShowPopup(hContact, TranslateT("Avatar History: Unable to save avatar"), history_filename);
+ ShowPopup(hContact, TranslateT("Avatar history: Unable to save avatar"), history_filename);
else
ShowDebugPopup(hContact, L"AVH Debug: File copied successfully", history_filename);
}
@@ -345,8 +345,8 @@ extern "C" __declspec(dllexport) int Load(void)
Profile_GetPathW(MAX_PATH, profilePath);
- SkinAddNewSoundExW("avatar_changed",LPGENW("Avatar History"),LPGENW("Contact changed avatar"));
- SkinAddNewSoundExW("avatar_removed",LPGENW("Avatar History"),LPGENW("Contact removed avatar"));
+ SkinAddNewSoundExW("avatar_changed",LPGENW("Avatar history"),LPGENW("Contact changed avatar"));
+ SkinAddNewSoundExW("avatar_removed",LPGENW("Avatar history"),LPGENW("Contact removed avatar"));
hAvatarWindowsList = WindowList_Create();
diff --git a/plugins/AvatarHistory/src/icolib.cpp b/plugins/AvatarHistory/src/icolib.cpp
index 39778ab801..36d039d765 100644
--- a/plugins/AvatarHistory/src/icolib.cpp
+++ b/plugins/AvatarHistory/src/icolib.cpp
@@ -9,7 +9,7 @@ enum IconIndex
static IconItem iconList[] =
{
{ LPGEN("History"), "", IDI_AVATARHIST },
- { LPGEN("Avatar Overlay"), "avh_overlay", IDI_AVATAROVERLAY }
+ { LPGEN("Avatar overlay"), "avh_overlay", IDI_AVATAROVERLAY }
};
static HICON LoadIconEx(IconIndex i)
@@ -38,7 +38,7 @@ int IcoLibIconsChanged(WPARAM, LPARAM)
void SetupIcoLib()
{
iconList[0].hIcolib = Skin_GetIconHandle(SKINICON_OTHER_HISTORY);
- Icon_Register(hInst, LPGEN("Avatar History"), iconList+1, _countof(iconList)-1);
+ Icon_Register(hInst, LPGEN("Avatar history"), iconList+1, _countof(iconList)-1);
IcoLibUpdateMenus();
}
diff --git a/plugins/AvatarHistory/src/options.cpp b/plugins/AvatarHistory/src/options.cpp
index 63e4680071..b8c7883560 100644
--- a/plugins/AvatarHistory/src/options.cpp
+++ b/plugins/AvatarHistory/src/options.cpp
@@ -134,7 +134,7 @@ static INT_PTR CALLBACK PopupsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
op.popup_use_default_colors = IsDlgButtonChecked(hwndDlg, IDC_DEFAULTCOLORS) != 0;
MCONTACT hContact = db_find_first();
- ShowTestPopup(hContact,TranslateT("Test Contact"), TranslateT("Test description"), &op);
+ ShowTestPopup(hContact,TranslateT("Test contact"), TranslateT("Test description"), &op);
break;
}
}
@@ -157,7 +157,7 @@ int OptInit(WPARAM wParam, LPARAM)
if (ServiceExists(MS_POPUP_ADDPOPUPT)) {
odp.pwszGroup = LPGENW("Popups");
- odp.pwszTitle = LPGENW("Avatar Change");
+ odp.pwszTitle = LPGENW("Avatar change");
odp.pfnDlgProc = PopupsDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPS);
odp.flags = ODPF_BOLDGROUPS | ODPF_UNICODE;
diff --git a/plugins/AvatarHistory/src/utils.cpp b/plugins/AvatarHistory/src/utils.cpp
index ac3e3ab1fd..2f15252694 100644
--- a/plugins/AvatarHistory/src/utils.cpp
+++ b/plugins/AvatarHistory/src/utils.cpp
@@ -102,7 +102,7 @@ wchar_t* GetProtocolFolder(wchar_t *fn, char *proto)
GetHistoryFolder(fn);
if (proto == NULL)
- proto = Translate("Unknown Protocol");
+ proto = Translate("Unknown protocol");
mir_snwprintf(fn, MAX_PATH, L"%s\\%S", fn, proto);
CreateDirectoryTreeW(fn);
@@ -140,7 +140,7 @@ wchar_t* GetOldStyleAvatarName(wchar_t *fn, MCONTACT hContact)
L"%s\\%04d-%02d-%02d %02dh%02dm%02ds", fn,
curtime.wYear, curtime.wMonth, curtime.wDay,
curtime.wHour, curtime.wMinute, curtime.wSecond);
- ShowDebugPopup(hContact,L"AVH Debug: GetOldStyleAvatarName",fn);
+ ShowDebugPopup(hContact, L"AVH Debug: GetOldStyleAvatarName",fn);
return fn;
}
@@ -155,11 +155,11 @@ void CreateOldStyleShortcut(MCONTACT hContact, wchar_t *history_filename)
if (!CreateShortcut(history_filename, shortcut))
{
- ShowPopup(hContact, TranslateT("Avatar History: Unable to create shortcut"), shortcut);
+ ShowPopup(hContact, TranslateT("Avatar history: Unable to create shortcut"), shortcut);
}
else
{
- ShowDebugPopup(hContact, L"AVH Debug: Shortcut created successfully", shortcut);
+ ShowDebugPopup(hContact, L"AVH Debug: Shortcut created successfully"), shortcut);
}
}