diff options
author | Dart Raiden <wowemuh@gmail.com> | 2016-10-10 15:05:58 +0000 |
---|---|---|
committer | Dart Raiden <wowemuh@gmail.com> | 2016-10-10 15:05:58 +0000 |
commit | 5fd4cb7cbf50a154c356b0a16171d6f56977b57e (patch) | |
tree | 17dbb829989d8257b3b89ec75cc64aecb48c1d69 /plugins/AvatarHistory/src | |
parent | 25b33996e85b86570e0dd53bb235488a655acc2d (diff) |
Avatar History: decapitalization
git-svn-id: http://svn.miranda-ng.org/main/trunk@17356 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AvatarHistory/src')
-rw-r--r-- | plugins/AvatarHistory/src/AvatarDlg.cpp | 16 | ||||
-rw-r--r-- | plugins/AvatarHistory/src/AvatarHistory.cpp | 10 | ||||
-rw-r--r-- | plugins/AvatarHistory/src/icolib.cpp | 4 | ||||
-rw-r--r-- | plugins/AvatarHistory/src/options.cpp | 4 | ||||
-rw-r--r-- | plugins/AvatarHistory/src/utils.cpp | 8 |
5 files changed, 21 insertions, 21 deletions
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);
}
}
|