diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-31 18:19:24 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-31 18:19:24 +0000 |
commit | 1eafcf387847f384eca282abfe5fa7242e1405ab (patch) | |
tree | c9d223934eacaaaf49638439f23b1ad1481d3b6b /plugins/HTTPServer | |
parent | 4f544ed4b9508fe19882db64cc0617e6d8b0abf7 (diff) |
- translation fixes (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3381 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HTTPServer')
-rw-r--r-- | plugins/HTTPServer/src/GuiElements.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp index 8c82d97595..034a69e9dc 100644 --- a/plugins/HTTPServer/src/GuiElements.cpp +++ b/plugins/HTTPServer/src/GuiElements.cpp @@ -433,7 +433,10 @@ UINT CALLBACK ShareNewFileDialogHook( bool bShowShareNewFileDlg(HWND hwndOwner, STFileShareInfo * pstNewShare) {
OPENFILENAME ofn = {0};
ofn.lStructSize = sizeof(OPENFILENAME);
- ofn.lpstrFilter = _T("All Files (*.*)\0*.*\0");
+
+ char temp[MAX_PATH];
+ mir_snprintf(temp, SIZEOF(temp), _T("%s (*.*)%c*.*%c%c"), Translate("All files"), 0, 0, 0);
+ ofn.lpstrFilter = temp;
ofn.lpstrFile = pstNewShare->pszRealPath;
ofn.nMaxFile = pstNewShare->dwMaxRealPath;
|