diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/addcontact/addcontact.cpp | 2 | ||||
-rw-r--r-- | src/modules/clist/clistsettings.cpp | 4 | ||||
-rw-r--r-- | src/modules/clist/contacts.cpp | 6 | ||||
-rw-r--r-- | src/modules/clist/genmenu.cpp | 2 | ||||
-rw-r--r-- | src/modules/clist/groups.cpp | 6 | ||||
-rw-r--r-- | src/modules/clist/keyboard.cpp | 10 | ||||
-rw-r--r-- | src/modules/clist/movetogroup.cpp | 4 | ||||
-rw-r--r-- | src/modules/database/database.cpp | 2 | ||||
-rw-r--r-- | src/modules/database/profilemanager.cpp | 8 | ||||
-rw-r--r-- | src/modules/extraicons/extraicons.cpp | 2 | ||||
-rw-r--r-- | src/modules/findadd/findadd.cpp | 4 | ||||
-rw-r--r-- | src/modules/fonts/FontOptions.cpp | 4 | ||||
-rw-r--r-- | src/modules/icolib/skin2opts.cpp | 4 | ||||
-rw-r--r-- | src/modules/netlib/netliblog.cpp | 4 | ||||
-rw-r--r-- | src/modules/netlib/netlibssl.cpp | 2 | ||||
-rw-r--r-- | src/modules/skin/skinicons.cpp | 2 | ||||
-rw-r--r-- | src/modules/skin/sounds.cpp | 4 | ||||
-rw-r--r-- | src/modules/utils/bmpfilter.cpp | 4 |
18 files changed, 37 insertions, 37 deletions
diff --git a/src/modules/addcontact/addcontact.cpp b/src/modules/addcontact/addcontact.cpp index e658ca100d..e81b7c2ce2 100644 --- a/src/modules/addcontact/addcontact.cpp +++ b/src/modules/addcontact/addcontact.cpp @@ -75,7 +75,7 @@ INT_PTR CALLBACK AddContactDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lp mir_sntprintf(szTitle, SIZEOF(szTitle), TranslateT("Add %s"), szName);
SetWindowText(hdlg, szTitle);
}
- else SetWindowText(hdlg, TranslateT("Add Contact"));
+ else SetWindowText(hdlg, TranslateT("Add contact"));
mir_free(tmpStr);
}
}
diff --git a/src/modules/clist/clistsettings.cpp b/src/modules/clist/clistsettings.cpp index fc5b202247..fa022967e8 100644 --- a/src/modules/clist/clistsettings.cpp +++ b/src/modules/clist/clistsettings.cpp @@ -151,7 +151,7 @@ TCHAR* fnGetContactDisplayName(HANDLE hContact, int mode) }
CallContactService(hContact, PSS_GETINFO, SGIF_MINIMAL, 0);
- TCHAR *buffer = TranslateT("(Unknown Contact)");
+ TCHAR *buffer = TranslateT("(Unknown contact)");
return (cacheEntry == NULL) ? mir_tstrdup(buffer) : buffer;
}
@@ -202,7 +202,7 @@ INT_PTR GetContactDisplayName(WPARAM wParam, LPARAM lParam) }
CallContactService(hContact, PSS_GETINFO, SGIF_MINIMAL, 0);
- char* result = Translate("(Unknown Contact)");
+ char* result = Translate("(Unknown contact)");
return (INT_PTR)((cacheEntry == NULL) ? mir_strdup(result) : result);
}
diff --git a/src/modules/clist/contacts.cpp b/src/modules/clist/contacts.cpp index 1a0ba89751..215265a044 100644 --- a/src/modules/clist/contacts.cpp +++ b/src/modules/clist/contacts.cpp @@ -34,7 +34,7 @@ static TCHAR* nameOrderDescr[ NAMEORDERCOUNT ] = LPGENT("Username"),
LPGENT("FirstName LastName"),
LPGENT("LastName FirstName"),
- LPGENT("'(Unknown Contact)' (not movable)")
+ LPGENT("'(Unknown contact)' (not movable)")
};
BYTE nameOrder[NAMEORDERCOUNT];
@@ -322,9 +322,9 @@ static INT_PTR GetContactInfo(WPARAM, LPARAM lParam) { case 8:
if (ci->dwFlag & CNF_UNICODE)
- ci->pszVal = (TCHAR*)mir_wstrdup(TranslateW(L"'(Unknown Contact)'"));
+ ci->pszVal = (TCHAR*)mir_wstrdup(TranslateW(L"'(Unknown contact)'"));
else
- ci->pszVal = (TCHAR*)mir_strdup(Translate("'(Unknown Contact)'"));
+ ci->pszVal = (TCHAR*)mir_strdup(Translate("'(Unknown contact)'"));
ci->type = CNFT_ASCIIZ;
return 0;
}
diff --git a/src/modules/clist/genmenu.cpp b/src/modules/clist/genmenu.cpp index b6d3af6cec..79dc7e40f9 100644 --- a/src/modules/clist/genmenu.cpp +++ b/src/modules/clist/genmenu.cpp @@ -1046,7 +1046,7 @@ static int MO_RegisterIcon(PMO_IntMenuItem pmi, void*) HICON hIcon = ImageList_GetIcon(pmi->parent->m_hMenuIcons, pmi->iconId, 0);
TCHAR sectionName[256];
- mir_sntprintf(sectionName, SIZEOF(sectionName), LPGENT("Menu Icons") _T("/%s"), (TCHAR*)_A2T(pmi->parent->Name));
+ mir_sntprintf(sectionName, SIZEOF(sectionName), LPGENT("Menu icons") _T("/%s"), (TCHAR*)_A2T(pmi->parent->Name));
char iconame[256];
mir_snprintf(iconame, sizeof(iconame), "genmenu_%s_%s", pmi->parent->Name, uname && *uname ? uname : descr);
diff --git a/src/modules/clist/groups.cpp b/src/modules/clist/groups.cpp index 73aba22dab..560261259f 100644 --- a/src/modules/clist/groups.cpp +++ b/src/modules/clist/groups.cpp @@ -73,7 +73,7 @@ static INT_PTR CreateGroupInternal(INT_PTR iParent, const TCHAR *ptszName) char str[33];
int i;
- const TCHAR* grpName = ptszName ? ptszName : TranslateT("New Group");
+ const TCHAR* grpName = ptszName ? ptszName : TranslateT("New group");
if (iParent) {
_itoa(iParent - 1, str, 10);
DBVARIANT dbv;
@@ -190,7 +190,7 @@ static INT_PTR DeleteGroup(WPARAM wParam, LPARAM) {
TCHAR szQuestion[256+100];
mir_sntprintf(szQuestion, SIZEOF(szQuestion), TranslateT("Are you sure you want to delete group '%s'? This operation cannot be undone."), name);
- if (MessageBox(cli.hwndContactList, szQuestion, TranslateT("Delete Group"), MB_YESNO|MB_ICONQUESTION) == IDNO)
+ if (MessageBox(cli.hwndContactList, szQuestion, TranslateT("Delete group"), MB_YESNO|MB_ICONQUESTION) == IDNO)
return 1;
}
SetCursor(LoadCursor(NULL, IDC_WAIT));
@@ -276,7 +276,7 @@ static int RenameGroupWithMove(int groupId, const TCHAR *szName, int move) DBVARIANT dbv;
if (GroupNameExists(szName, groupId)) {
- MessageBox(NULL, TranslateT("You already have a group with that name. Please enter a unique name for the group."), TranslateT("Rename Group"), MB_ICONERROR | MB_OK);
+ MessageBox(NULL, TranslateT("You already have a group with that name. Please enter a unique name for the group."), TranslateT("Rename group"), MB_ICONERROR | MB_OK);
return 1;
}
diff --git a/src/modules/clist/keyboard.cpp b/src/modules/clist/keyboard.cpp index 3433abf339..5ea408a8a6 100644 --- a/src/modules/clist/keyboard.cpp +++ b/src/modules/clist/keyboard.cpp @@ -82,14 +82,14 @@ int InitClistHotKeys(void) HOTKEYDESC shk = { sizeof(shk) };
shk.dwFlags = HKD_TCHAR;
- shk.ptszDescription = LPGENT("Show/Hide Contact List");
+ shk.ptszDescription = LPGENT("Show/Hide contact list");
shk.pszName = "ShowHide";
shk.ptszSection = _T("Main");
shk.pszService = "CLIST/HK/SHOWHIDE";
shk.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL|HOTKEYF_SHIFT, 'A');
Hotkey_Register(&shk);
- shk.ptszDescription = LPGENT("Read Message");
+ shk.ptszDescription = LPGENT("Read message");
shk.pszName = "ReadMessage";
shk.ptszSection = _T("Main");
shk.pszService = "CLIST/HK/Read";
@@ -103,21 +103,21 @@ int InitClistHotKeys(void) shk.DefHotKey = 846;
Hotkey_Register(&shk);
*/
- shk.ptszDescription = LPGENT("Open Options Page");
+ shk.ptszDescription = LPGENT("Open Options page");
shk.pszName = "ShowOptions";
shk.ptszSection = _T("Main");
shk.pszService = "CLIST/HK/Opts";
shk.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL|HOTKEYF_SHIFT, 'O') | HKF_MIRANDA_LOCAL;
Hotkey_Register(&shk);
- shk.ptszDescription = LPGENT("Open Logging Options");
+ shk.ptszDescription = LPGENT("Open logging options");
shk.pszName = "ShowLogOptions";
shk.ptszSection = _T("Main");
shk.pszService = "Netlib/Log/Win";
shk.DefHotKey = 0;
Hotkey_Register(&shk);
- shk.ptszDescription = LPGENT("Open Find User Dialog");
+ shk.ptszDescription = LPGENT("Open 'Find user' dialog");
shk.pszName = "FindUsers";
shk.ptszSection = _T("Main");
shk.pszService = "FindAdd/FindAddCommand";
diff --git a/src/modules/clist/movetogroup.cpp b/src/modules/clist/movetogroup.cpp index 8351010ac5..a3392a96d7 100644 --- a/src/modules/clist/movetogroup.cpp +++ b/src/modules/clist/movetogroup.cpp @@ -89,7 +89,7 @@ static int OnContactMenuBuild(WPARAM wParam, LPARAM) if ( !hMoveToGroupItem) {
CLISTMENUITEM mi = { sizeof(mi) };
mi.position = 100000;
- mi.pszName = LPGEN("&Move to Group");
+ mi.pszName = LPGEN("&Move to group");
mi.flags = CMIF_ROOTHANDLE;
mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_GROUP);
@@ -104,7 +104,7 @@ static int OnContactMenuBuild(WPARAM wParam, LPARAM) int pos = 1000;
- AddGroupItem(hMoveToGroupItem, TranslateT("<Root Group>"), pos, -1, !szContactGroup);
+ AddGroupItem(hMoveToGroupItem, TranslateT("<Root group>"), pos, -1, !szContactGroup);
pos += 100000; // Separator
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index 25cfed9520..a66e814e30 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -445,7 +445,7 @@ int LoadDatabaseModule(void) if ( arDbPlugins.getCount() == 0) {
TCHAR buf[256];
TCHAR* p = _tcsrchr(szProfile, '\\');
- mir_sntprintf(buf, SIZEOF(buf), TranslateT("Miranda is unable to open '%s' because you do not have any profile plugins installed.\nYou need to install dbx_3x.dll or equivalent."), p ? ++p : szProfile);
+ mir_sntprintf(buf, SIZEOF(buf), TranslateT("Miranda is unable to open '%s' because you do not have any profile plugins installed.\nYou need to install dbx_mmap.dll or equivalent."), p ? ++p : szProfile);
MessageBox(0, buf, TranslateT("No profile support installed!"), MB_OK | MB_ICONERROR);
}
diff --git a/src/modules/database/profilemanager.cpp b/src/modules/database/profilemanager.cpp index 430508a1bd..356d16277b 100644 --- a/src/modules/database/profilemanager.cpp +++ b/src/modules/database/profilemanager.cpp @@ -128,7 +128,7 @@ static int CreateProfile(TCHAR *profile, DATABASELINK * link, HWND hwndDlg) sf.fFlags = FOF_NOCONFIRMATION | FOF_NOERRORUI | FOF_SILENT | FOF_ALLOWUNDO;
mir_sntprintf(buf, SIZEOF(buf), _T("%s\0"), profile);
if (SHFileOperation(&sf) != 0) {
- mir_sntprintf(buf, SIZEOF(buf), TranslateT("Couldn't move '%s' to the Recycle Bin, Please select another profile name."), file);
+ mir_sntprintf(buf, SIZEOF(buf), TranslateT("Couldn't move '%s' to the Recycle Bin. Please select another profile name."), file);
MessageBox(0, buf, TranslateT("Problem moving profile"), MB_ICONINFORMATION|MB_OK);
return 0;
}
@@ -305,7 +305,7 @@ BOOL EnumProfilesForList(TCHAR *fullpath, TCHAR *profile, LPARAM lParam) if (dblink != NULL) {
if (bFileLocked) {
// file locked
- item2.pszText = TranslateT("<In Use>");
+ item2.pszText = TranslateT("<In use>");
item2.iSubItem = 1;
SendMessage(hwndList, LVM_SETITEMTEXT, iItem, (LPARAM)&item2);
}
@@ -813,13 +813,13 @@ int getProfileManager(PROFILEMANAGERDATA * pd) DetailsPageInit opi = { 0 };
OPTIONSDIALOGPAGE odp = { sizeof(odp) };
- odp.pszTitle = LPGEN("My Profiles");
+ odp.pszTitle = LPGEN("My profiles");
odp.pfnDlgProc = DlgProfileSelect;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_PROFILE_SELECTION);
odp.hInstance = hInst;
AddProfileManagerPage(&opi, &odp);
- odp.pszTitle = LPGEN("New Profile");
+ odp.pszTitle = LPGEN("New profile");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_PROFILE_NEW);
odp.pfnDlgProc = DlgProfileNew;
AddProfileManagerPage(&opi, &odp);
diff --git a/src/modules/extraicons/extraicons.cpp b/src/modules/extraicons/extraicons.cpp index a599e7c916..745083590b 100644 --- a/src/modules/extraicons/extraicons.cpp +++ b/src/modules/extraicons/extraicons.cpp @@ -506,7 +506,7 @@ static INT_PTR svcExtraIcon_Add(WPARAM wParam, LPARAM lParam) static IconItem iconList[] =
{
- { LPGEN("Chat Activity"), "ChatActivity", IDI_CHAT },
+ { LPGEN("Chat activity"), "ChatActivity", IDI_CHAT },
{ LPGEN("Male"), "gender_male", IDI_MALE },
{ LPGEN("Female"), "gender_female", IDI_FEMALE }
};
diff --git a/src/modules/findadd/findadd.cpp b/src/modules/findadd/findadd.cpp index bcc8733365..9bc9b73ec8 100644 --- a/src/modules/findadd/findadd.cpp +++ b/src/modules/findadd/findadd.cpp @@ -360,7 +360,7 @@ static INT_PTR CALLBACK DlgProcFindAdd(HWND hwndDlg, UINT msg, WPARAM wParam, LP hdc = GetDC(hwndDlg);
SelectObject(hdc, (HFONT)SendDlgItemMessage(hwndDlg, IDC_PROTOLIST, WM_GETFONT, 0, 0));
if (netProtoCount>1) {
- cbei.pszText = TranslateT("All Networks");
+ cbei.pszText = TranslateT("All networks");
GetTextExtentPoint32(hdc, cbei.pszText, lstrlen(cbei.pszText), &textSize);
if (textSize.cx > cbwidth)
cbwidth = textSize.cx;
@@ -1021,7 +1021,7 @@ int LoadFindAddModule(void) CLISTMENUITEM mi = { sizeof(mi) };
mi.position = 500020000;
mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_FINDUSER);
- mi.pszName = LPGEN("&Find/Add Contacts...");
+ mi.pszName = LPGEN("&Find/Add contacts...");
mi.pszService = MS_FINDADD_FINDADD;
hMainMenuItem = Menu_AddMainMenuItem(&mi);
return 0;
diff --git a/src/modules/fonts/FontOptions.cpp b/src/modules/fonts/FontOptions.cpp index 7a19451282..f9eff2e32d 100644 --- a/src/modules/fonts/FontOptions.cpp +++ b/src/modules/fonts/FontOptions.cpp @@ -1140,7 +1140,7 @@ static INT_PTR CALLBACK DlgProcLogOptions(HWND hwndDlg, UINT msg, WPARAM wParam, case IDC_BTN_EXPORT:
{
TCHAR fname_buff[MAX_PATH], filter[MAX_PATH];
- mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.ini)%c*.ini%c%s (*.txt)%c*.TXT%c%s (*.*)%c*.*%c"), TranslateT("Configuration Files"), 0, 0, TranslateT("Text Files"), 0, 0, TranslateT("All Files"), 0, 0);
+ mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.ini)%c*.ini%c%s (*.txt)%c*.TXT%c%s (*.*)%c*.*%c"), TranslateT("Configuration files"), 0, 0, TranslateT("Text files"), 0, 0, TranslateT("All files"), 0, 0);
OPENFILENAME ofn = {0};
ofn.lStructSize = sizeof(ofn);
@@ -1328,7 +1328,7 @@ static INT_PTR CALLBACK DlgProcModernOptions(HWND hwndDlg, UINT msg, WPARAM wPar SetBkMode(dis->hDC, TRANSPARENT);
SetTextColor(dis->hDC, GetSysColor(COLOR_BTNTEXT));
FillRect(dis->hDC, &dis->rcItem, GetSysColorBrush(COLOR_BTNFACE));
- DrawText(dis->hDC, TranslateT("Sample Text"), (int)_tcslen(TranslateT("Sample Text")), &dis->rcItem, DT_LEFT|DT_NOPREFIX|DT_SINGLELINE|DT_VCENTER|DT_WORD_ELLIPSIS|DT_CENTER);
+ DrawText(dis->hDC, TranslateT("Sample text"), (int)_tcslen(TranslateT("Sample text")), &dis->rcItem, DT_LEFT|DT_NOPREFIX|DT_SINGLELINE|DT_VCENTER|DT_WORD_ELLIPSIS|DT_CENTER);
if (hoFont)
SelectObject(dis->hDC, hoFont);
return TRUE;
diff --git a/src/modules/icolib/skin2opts.cpp b/src/modules/icolib/skin2opts.cpp index 093317a516..81be4a0b8d 100644 --- a/src/modules/icolib/skin2opts.cpp +++ b/src/modules/icolib/skin2opts.cpp @@ -258,7 +258,7 @@ static TCHAR* OpenFileDlg(HWND hParent, const TCHAR* szFile, BOOL bAll) ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400;
ofn.hwndOwner = hParent;
- lstrcpy(filter, TranslateT("Icon Sets"));
+ lstrcpy(filter, TranslateT("Icon sets"));
if (bAll)
lstrcat(filter, _T(" (*.dll;*.icl;*.exe;*.ico)"));
else
@@ -271,7 +271,7 @@ static TCHAR* OpenFileDlg(HWND hParent, const TCHAR* szFile, BOOL bAll) lstrcpy(pfilter, _T("*.DLL"));
pfilter += lstrlen(pfilter) + 1;
- lstrcpy(pfilter, TranslateT("All Files"));
+ lstrcpy(pfilter, TranslateT("All files"));
lstrcat(pfilter, _T(" (*)"));
pfilter += lstrlen(pfilter) + 1;
lstrcpy(pfilter, _T("*"));
diff --git a/src/modules/netlib/netliblog.cpp b/src/modules/netlib/netliblog.cpp index 0e121ef4fb..878289e826 100644 --- a/src/modules/netlib/netliblog.cpp +++ b/src/modules/netlib/netliblog.cpp @@ -116,7 +116,7 @@ static INT_PTR CALLBACK LogOptionsDlgProc(HWND hwndDlg, UINT message, WPARAM wPa TreeView_InsertItem(hwndFilter, &tvis);
}
tvis.item.lParam = -1;
- tvis.item.pszText = TranslateT("(Miranda Core Logging)");
+ tvis.item.pszText = TranslateT("(Miranda core logging)");
tvis.item.state = INDEXTOSTATEIMAGEMASK((logOptions.toLog) ? 2 : 1);
TreeView_InsertItem(hwndFilter, &tvis);
}
@@ -166,7 +166,7 @@ static INT_PTR CALLBACK LogOptionsDlgProc(HWND hwndDlg, UINT message, WPARAM wPa ofn.Flags|=OFN_PATHMUSTEXIST|OFN_FILEMUSTEXIST;
ofn.lpstrTitle = TranslateT("Select program to be run");
}
- _tcscpy(filter, TranslateT("All Files"));
+ _tcscpy(filter, TranslateT("All files"));
_tcscat(filter, _T(" (*)"));
pfilter = filter+lstrlen(filter)+1;
_tcscpy(pfilter, _T("*"));
diff --git a/src/modules/netlib/netlibssl.cpp b/src/modules/netlib/netlibssl.cpp index 65b564795c..926a952bff 100644 --- a/src/modules/netlib/netlibssl.cpp +++ b/src/modules/netlib/netlibssl.cpp @@ -87,7 +87,7 @@ static void ReportSslError(SECURITY_STATUS scRet, int line, bool showPopup = fal return;
case SEC_E_INVALID_TOKEN:
- _tcscpy(szMsgBuf, TranslateT("Client cannot decode host message. Possible causes: Host does not support SSL or requires not existing security package"));
+ _tcscpy(szMsgBuf, TranslateT("Client cannot decode host message. Possible causes: host does not support SSL or requires not existing security package"));
break;
case CERT_E_CN_NO_MATCH:
diff --git a/src/modules/skin/skinicons.cpp b/src/modules/skin/skinicons.cpp index 58053b01ff..3cb1725567 100644 --- a/src/modules/skin/skinicons.cpp +++ b/src/modules/skin/skinicons.cpp @@ -43,7 +43,7 @@ static struct StandardIconDescription mainIcons[] = { SKINICON_OTHER_GROUPOPEN, LPGEN("Group (Open)"), -IDI_GROUPOPEN }, // 5
{ SKINICON_OTHER_GROUPSHUT, LPGEN("Group (Closed)"), -IDI_GROUPSHUT }, // 6
{ SKINICON_OTHER_CONNECTING, LPGEN("Connecting"), -IDI_LOAD }, // 7
- { SKINICON_OTHER_ADDCONTACT, LPGEN("Add Contact"), -IDI_ADDCONTACT }, // 8
+ { SKINICON_OTHER_ADDCONTACT, LPGEN("Add contact"), -IDI_ADDCONTACT }, // 8
{ SKINICON_OTHER_USERDETAILS, LPGEN("User details"), -IDI_USERDETAILS }, // 9
{ SKINICON_OTHER_HISTORY, LPGEN("History"), -IDI_HISTORY }, // 10
{ SKINICON_OTHER_DOWNARROW, LPGEN("Down Arrow"), -IDI_DOWNARROW }, // 11
diff --git a/src/modules/skin/sounds.cpp b/src/modules/skin/sounds.cpp index e73a73d0bd..5e1ab91ff0 100644 --- a/src/modules/skin/sounds.cpp +++ b/src/modules/skin/sounds.cpp @@ -303,9 +303,9 @@ INT_PTR CALLBACK DlgProcSoundOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM OPENFILENAME ofn;
ZeroMemory(&ofn, sizeof(ofn));
if (GetModuleHandle(_T("bass_interface.dll")))
- mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.wav, *.mp3, *.ogg)%c*.wav;*.mp3;*.ogg%c%s (*)%c*%c"), TranslateT("Sound Files"), 0, 0, TranslateT("All Files"), 0, 0);
+ mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.wav, *.mp3, *.ogg)%c*.wav;*.mp3;*.ogg%c%s (*)%c*%c"), TranslateT("Sound Files"), 0, 0, TranslateT("All files"), 0, 0);
else
- mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.wav)%c*.wav%c%s (*)%c*%c"), TranslateT("WAV Files"), 0, 0, TranslateT("All Files"), 0, 0);
+ mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.wav)%c*.wav%c%s (*)%c*%c"), TranslateT("WAV Files"), 0, 0, TranslateT("All files"), 0, 0);
ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400;
ofn.hwndOwner = GetParent(hwndDlg);
ofn.hInstance = NULL;
diff --git a/src/modules/utils/bmpfilter.cpp b/src/modules/utils/bmpfilter.cpp index 411c822e33..12092b166c 100644 --- a/src/modules/utils/bmpfilter.cpp +++ b/src/modules/utils/bmpfilter.cpp @@ -172,7 +172,7 @@ static INT_PTR BmpFilterGetStrings(WPARAM wParam, LPARAM lParam) lstrcpynA(pfilter, "*.PNG", bytesLeft);
pfilter+=lstrlenA(pfilter)+1; bytesLeft = wParam-(pfilter-filter);
- lstrcpynA(pfilter, Translate("All Files"), bytesLeft); bytesLeft-=lstrlenA(pfilter);
+ lstrcpynA(pfilter, Translate("All files"), bytesLeft); bytesLeft-=lstrlenA(pfilter);
strncat(pfilter, " (*)", bytesLeft);
pfilter+=lstrlenA(pfilter)+1; bytesLeft = wParam-(pfilter-filter);
lstrcpynA(pfilter, "*", bytesLeft);
@@ -217,7 +217,7 @@ static INT_PTR BmpFilterGetStringsW(WPARAM wParam, LPARAM lParam) lstrcpyn(pfilter, _T("*.PNG"), bytesLeft);
pfilter+=lstrlen(pfilter)+1; bytesLeft = wParam-(pfilter-filter);
- lstrcpyn(pfilter, TranslateT("All Files"), bytesLeft); bytesLeft-=lstrlen(pfilter);
+ lstrcpyn(pfilter, TranslateT("All files"), bytesLeft); bytesLeft-=lstrlen(pfilter);
_tcsncat(pfilter, _T(" (*)"), bytesLeft);
pfilter+=lstrlen(pfilter)+1; bytesLeft = wParam-(pfilter-filter);
lstrcpyn(pfilter, _T("*"), bytesLeft);
|