summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-03-21 07:10:04 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-03-21 07:10:04 +0000
commit3550e8251c0f30700172b7b8e68c03bc61a3503a (patch)
tree5621073fed4cd47a3fc192c49ba60ae555515a0c
parentc7b2a6e0d77b813d24ff5d746b231831b258d4ea (diff)
- translation fixes (patch from Basil)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4134 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/FavContacts/src/main.cpp2
-rw-r--r--plugins/Popup/src/font.cpp6
-rw-r--r--plugins/TrafficCounter/src/TrafficCounter.cpp2
-rw-r--r--protocols/JabberG/src/jabber_menu.cpp8
4 files changed, 9 insertions, 9 deletions
diff --git a/plugins/FavContacts/src/main.cpp b/plugins/FavContacts/src/main.cpp
index 3ce457fc7b..878b7d01bd 100644
--- a/plugins/FavContacts/src/main.cpp
+++ b/plugins/FavContacts/src/main.cpp
@@ -224,7 +224,7 @@ int ProcessModulesLoaded(WPARAM wParam, LPARAM lParam)
HOTKEYDESC hotkey = {0};
hotkey.cbSize = sizeof(hotkey);
hotkey.pszName = "FavContacts/ShowMenu";
- hotkey.pszDescription = "Show favourite contacts";
+ hotkey.pszDescription = LPGEN("Show favourite contacts");
hotkey.pszSection = "Contacts";
hotkey.pszService = MS_FAVCONTACTS_SHOWMENU_CENTERED;
hotkey.DefHotKey = MAKEWORD('Q', HOTKEYF_EXT);
diff --git a/plugins/Popup/src/font.cpp b/plugins/Popup/src/font.cpp
index 6e7026b24a..723c3f29bd 100644
--- a/plugins/Popup/src/font.cpp
+++ b/plugins/Popup/src/font.cpp
@@ -62,7 +62,7 @@ void InitFonts() {
fid.deffontsettings.colour = RGB(0,0,255);
FontRegisterT(&fid);
- lstrcpy(fid.name, _T("Hovered Action"));
+ lstrcpy(fid.name, LPGENT("Hovered Action"));
mir_snprintf(fid.prefix, sizeof(fid.prefix), PU_FNT_PREFIX, "Hovered Action");
fid.deffontsettings.style = DBFONTF_UNDERLINE;
//fid.deffontsettings.colour = RGB(0,0,255);
@@ -104,7 +104,7 @@ void ReloadFonts()
fonts.clTitle = (COLORREF)CallService(MS_FONT_GETT, (WPARAM)&fid, (LPARAM)&lf);
fonts.title = CreateFontIndirect(&lf);
- lstrcpy(fid.name, _T(PU_FNT_NAME_CLOCK));
+ lstrcpy(fid.name, LPGENT("Clock"));
fonts.clClock = (COLORREF)CallService(MS_FONT_GETT, (WPARAM)&fid, (LPARAM)&lf);
fonts.clock = CreateFontIndirect(&lf);
@@ -116,7 +116,7 @@ void ReloadFonts()
fonts.clAction = (COLORREF)CallService(MS_FONT_GETT, (WPARAM)&fid, (LPARAM)&lf);
fonts.action = CreateFontIndirect(&lf);
- lstrcpy(fid.name, _T("Hovered Action"));
+ lstrcpy(fid.name, LPGENT("Hovered Action"));
fonts.clActionHover = (COLORREF)CallService(MS_FONT_GETT, (WPARAM)&fid, (LPARAM)&lf);
fonts.actionHover = CreateFontIndirect(&lf);
diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp
index 81ad671711..8670714d42 100644
--- a/plugins/TrafficCounter/src/TrafficCounter.cpp
+++ b/plugins/TrafficCounter/src/TrafficCounter.cpp
@@ -282,7 +282,7 @@ int TrafficCounterModulesLoaded(WPARAM wParam, LPARAM lParam)
hkd.cbSize = sizeof(hkd);
hkd.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL|HOTKEYF_SHIFT,'T');
hkd.pszSection = "Traffic Counter";
- hkd.pszDescription = "Show/Hide frame";
+ hkd.pszDescription = LPGEN("Show/Hide frame");
hkd.pszName = "TC_Show_Hide";
hkd.pszService = "TrafficCounter/ShowHide";
Hotkey_Register(&hkd);
diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp
index 833753eb2b..70ea480613 100644
--- a/protocols/JabberG/src/jabber_menu.cpp
+++ b/protocols/JabberG/src/jabber_menu.cpp
@@ -906,19 +906,19 @@ void CJabberProto::GlobalMenuInit()
hkd.dwFlags = HKD_TCHAR;
strcpy(tDest, "/Groupchat");
- hkd.ptszDescription = _T("Join conference");
+ hkd.ptszDescription = LPGENT("Join conference");
Hotkey_Register(&hkd);
strcpy(tDest, "/Bookmarks");
- hkd.ptszDescription = _T("Open bookmarks");
+ hkd.ptszDescription = LPGENT("Open bookmarks");
Hotkey_Register(&hkd);
strcpy(tDest, "/PrivacyLists");
- hkd.ptszDescription = _T("Privacy lists");
+ hkd.ptszDescription = LPGENT("Privacy lists");
Hotkey_Register(&hkd);
strcpy(tDest, "/ServiceDiscovery");
- hkd.ptszDescription = _T("Service discovery");
+ hkd.ptszDescription = LPGENT("Service discovery");
Hotkey_Register(&hkd);
}