summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-01-31 18:19:24 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-01-31 18:19:24 +0000
commit1eafcf387847f384eca282abfe5fa7242e1405ab (patch)
treec9d223934eacaaaf49638439f23b1ad1481d3b6b /plugins
parent4f544ed4b9508fe19882db64cc0617e6d8b0abf7 (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')
-rw-r--r--plugins/Clist_modern/src/modern_clistmenus.cpp10
-rw-r--r--plugins/HTTPServer/src/GuiElements.cpp5
2 files changed, 9 insertions, 6 deletions
diff --git a/plugins/Clist_modern/src/modern_clistmenus.cpp b/plugins/Clist_modern/src/modern_clistmenus.cpp
index 57a753c388..444fc233b3 100644
--- a/plugins/Clist_modern/src/modern_clistmenus.cpp
+++ b/plugins/Clist_modern/src/modern_clistmenus.cpp
@@ -72,13 +72,13 @@ static HANDLE *hFavoriteContactMenuItems = NULL;
static HANDLE hShowIfOflineItem = NULL;
static HANDLE hOnContactMenuBuild_FAV = NULL;
-static TCHAR * FAVMENUROOTNAME = _T("&Contact rate");
+static TCHAR * FAVMENUROOTNAME = LPGENT("&Contact rate");
static TCHAR *rates[] = {
- _T("None"),
- _T("Low"),
- _T("Medium"),
- _T("High")
+ LPGENT("None"),
+ LPGENT("Low"),
+ LPGENT("Medium"),
+ LPGENT("High")
};
static IconItem iconList[] =
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;