summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-06-13 12:53:21 +0000
committerRobert Pösel <robyer@seznam.cz>2014-06-13 12:53:21 +0000
commit8295b0c22176ee57078ff0d5b5334bb12bca7501 (patch)
tree1bf951b265bcceb38dfdd74d54d880b76ad3e66b
parent00e544fc9b776aadbd740ac13eb7dbee0ac6fab0 (diff)
Few translation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@9459 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/TopToolBar/src/InternalButtons.cpp16
-rw-r--r--plugins/XSoundNotify/src/xsn_main.cpp20
-rw-r--r--src/modules/netlib/netlibopts.cpp2
3 files changed, 19 insertions, 19 deletions
diff --git a/plugins/TopToolBar/src/InternalButtons.cpp b/plugins/TopToolBar/src/InternalButtons.cpp
index 7981315660..fa28ad79e0 100644
--- a/plugins/TopToolBar/src/InternalButtons.cpp
+++ b/plugins/TopToolBar/src/InternalButtons.cpp
@@ -14,14 +14,14 @@ struct {
HANDLE hButton;
}
static stdButtons[] = {
- { "Show only online users", MS_CLIST_SETHIDEOFFLINE, IDI_SHOWONLINEUP, IDI_SHOWONLINEDN, "Hide offline users", "Show all users" },
- { "Groups on/off", TTBI_GROUPSHOWHIDE, IDI_GROUPSUP, IDI_GROUPSDN, "Hide groups", "Show groups" },
- { "Sounds enable/disable", TTBI_SOUNDSONOFF, IDI_SOUNDUP, IDI_SOUNDDN, "Disable sounds", "Enable sounds" },
-
- { "Show options page", "Options/OptionsCommand", IDI_OPTIONSUP, 0, "Show options" },
- { "Minimize button", MS_CLIST_SHOWHIDE, IDI_MINIMIZEUP, 0, NULL },
- { "Find/Add contacts", MS_FINDADD_FINDADD, IDI_FINDADDUP, 0, NULL },
- { "Show main menu", TTBI_MAINMENUBUTT, IDI_MIRANDAUP, 0, "Show main menu" }
+ { LPGEN("Show only online users"), MS_CLIST_SETHIDEOFFLINE, IDI_SHOWONLINEUP, IDI_SHOWONLINEDN, LPGEN("Hide offline users"), LPGEN("Show all users") },
+ { LPGEN("Groups on/off"), TTBI_GROUPSHOWHIDE, IDI_GROUPSUP, IDI_GROUPSDN, LPGEN("Hide groups"), LPGEN("Show groups") },
+ { LPGEN("Sounds enable/disable"), TTBI_SOUNDSONOFF, IDI_SOUNDUP, IDI_SOUNDDN, LPGEN("Disable sounds"), LPGEN("Enable sounds") },
+
+ { LPGEN("Show options page"), "Options/OptionsCommand", IDI_OPTIONSUP, 0, LPGEN("Show options") },
+ { LPGEN("Minimize button"), MS_CLIST_SHOWHIDE, IDI_MINIMIZEUP, 0, NULL },
+ { LPGEN("Find/Add contacts"), MS_FINDADD_FINDADD, IDI_FINDADDUP, 0, NULL },
+ { LPGEN("Show main menu"), TTBI_MAINMENUBUTT, IDI_MIRANDAUP, 0, LPGEN("Show main menu") }
};
///////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/XSoundNotify/src/xsn_main.cpp b/plugins/XSoundNotify/src/xsn_main.cpp
index c53aaf2715..7ad5f5c9bb 100644
--- a/plugins/XSoundNotify/src/xsn_main.cpp
+++ b/plugins/XSoundNotify/src/xsn_main.cpp
@@ -50,16 +50,16 @@ struct {
}
static selfSounds[] =
{
- { ID_STATUS_OFFLINE, "SelfOffline", _T("Offline") },
- { ID_STATUS_ONLINE, "SelfOnline", _T("Online") },
- { ID_STATUS_AWAY, "SelfAway", _T("Away") },
- { ID_STATUS_DND, "SelfDND", _T("Do Not Disturb") },
- { ID_STATUS_NA, "SelfNA", _T("Not Available") },
- { ID_STATUS_OCCUPIED, "SelfOccupied", _T("Occupied") },
- { ID_STATUS_FREECHAT, "SelfFreeForChat", _T("Free For Chat") },
- { ID_STATUS_INVISIBLE, "SelfInvisible", _T("Invisible") },
- { ID_STATUS_ONTHEPHONE, "SelfOnThePhone", _T("On The Phone") },
- { ID_STATUS_OUTTOLUNCH, "SelfOutToLunch", _T("Out To Lunch") }
+ { ID_STATUS_OFFLINE, "SelfOffline", LPGENT("Offline") },
+ { ID_STATUS_ONLINE, "SelfOnline", LPGENT("Online") },
+ { ID_STATUS_AWAY, "SelfAway", LPGENT("Away") },
+ { ID_STATUS_DND, "SelfDND", LPGENT("Do Not Disturb") },
+ { ID_STATUS_NA, "SelfNA", LPGENT("Not Available") },
+ { ID_STATUS_OCCUPIED, "SelfOccupied", LPGENT("Occupied") },
+ { ID_STATUS_FREECHAT, "SelfFreeForChat", LPGENT("Free For Chat") },
+ { ID_STATUS_INVISIBLE, "SelfInvisible", LPGENT("Invisible") },
+ { ID_STATUS_ONTHEPHONE, "SelfOnThePhone", LPGENT("On The Phone") },
+ { ID_STATUS_OUTTOLUNCH, "SelfOutToLunch", LPGENT("Out To Lunch") }
};
void InitSelfSounds()
diff --git a/src/modules/netlib/netlibopts.cpp b/src/modules/netlib/netlibopts.cpp
index 5d54ef3cde..fc2ef658f0 100644
--- a/src/modules/netlib/netlibopts.cpp
+++ b/src/modules/netlib/netlibopts.cpp
@@ -67,7 +67,7 @@ static const UINT specifyPortsControls[] = {
IDC_PORTSRANGE,
IDC_STATIC52};
-static const TCHAR* szProxyTypes[] = {_T("<mixed>"), _T("SOCKS4"), _T("SOCKS5"), _T("HTTP"), _T("HTTPS"), _T("Internet Explorer")};
+static const TCHAR* szProxyTypes[] = {LPGENT("<mixed>"), _T("SOCKS4"), _T("SOCKS5"), _T("HTTP"), _T("HTTPS"), _T("Internet Explorer")};
static const WORD oftenProxyPorts[] = {1080, 1080, 1080, 8080, 8080, 8080};
#define M_REFRESHALL (WM_USER+100)