summaryrefslogtreecommitdiff
path: root/protocols/AimOscar
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2017-01-01 15:02:06 +0300
committerdartraiden <wowemuh@gmail.com>2017-01-01 15:02:06 +0300
commit093c475510144343dd2bffea37848d51d0315f59 (patch)
treef820ed94c153e691ec01010a82713d36ac50c795 /protocols/AimOscar
parent09768fdb0f9de1927ff55292af87714eceefb562 (diff)
AIM: decapitalization
Diffstat (limited to 'protocols/AimOscar')
-rwxr-xr-xprotocols/AimOscar/res/aim.rc70
-rw-r--r--protocols/AimOscar/src/error.cpp68
-rw-r--r--protocols/AimOscar/src/links.cpp2
-rw-r--r--protocols/AimOscar/src/popup.cpp2
-rw-r--r--protocols/AimOscar/src/server.cpp4
-rw-r--r--protocols/AimOscar/src/theme.cpp44
-rwxr-xr-xprotocols/AimOscar/src/utility.cpp2
7 files changed, 96 insertions, 96 deletions
diff --git a/protocols/AimOscar/res/aim.rc b/protocols/AimOscar/res/aim.rc
index 492b18051b..dbef88d58a 100755
--- a/protocols/AimOscar/res/aim.rc
+++ b/protocols/AimOscar/res/aim.rc
@@ -55,35 +55,35 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
- GROUPBOX "AIM User Details",IDC_DETAILS,3,7,147,72,WS_GROUP
- RTEXT "Screen Name:",IDC_STATIC,8,20,50,11
+ GROUPBOX "AIM user details",IDC_DETAILS,3,7,147,72,WS_GROUP
+ RTEXT "Screen name:",IDC_STATIC,8,20,50,11
EDITTEXT IDC_SN,60,17,87,15,ES_LOWERCASE | ES_AUTOHSCROLL
- RTEXT "Display Name:",IDC_STATIC,8,39,50,9
+ RTEXT "Display name:",IDC_STATIC,8,39,50,9
EDITTEXT IDC_NK,60,37,87,15,ES_AUTOHSCROLL
RTEXT "Password:",IDC_STATIC,8,59,50,11
EDITTEXT IDC_PW,60,57,87,15,ES_PASSWORD | ES_AUTOHSCROLL
- GROUPBOX "AIM Options",IDC_OPTIONS,3,83,147,120,WS_GROUP
- CONTROL "Message Delivery Confirmation",IDC_DC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,93,139,13
- CONTROL "Do Not Autoreply When Away",IDC_DM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,105,139,13
- CONTROL "Convert Incoming Messages to BBCode",IDC_FI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,117,139,13
- CONTROL "Convert Outgoing Messages to HTML",IDC_FO,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,129,139,13
- CONTROL "Disable Avatars",IDC_DA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,141,139,13
- CONTROL "Disable Account Type Icons",IDC_AT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,153,139,13
- CONTROL "Disable Extended Status Icons",IDC_ES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,165,139,13
+ GROUPBOX "AIM options",IDC_OPTIONS,3,83,147,120,WS_GROUP
+ CONTROL "Message delivery confirmation",IDC_DC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,93,139,13
+ CONTROL "Do not autoreply when away",IDC_DM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,105,139,13
+ CONTROL "Convert incoming messages to BBCode",IDC_FI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,117,139,13
+ CONTROL "Convert outgoing messages to HTML",IDC_FO,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,129,139,13
+ CONTROL "Disable avatars",IDC_DA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,141,139,13
+ CONTROL "Disable account type icons",IDC_AT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,153,139,13
+ CONTROL "Disable extended status icons",IDC_ES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,165,139,13
CONTROL "Notify about new mail",IDC_CM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,177,139,13
- CONTROL "Manage Server Groups",IDC_MG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,188,139,13
- GROUPBOX "Advanced Options",IDC_EXPERT,154,7,145,72,WS_GROUP
- CONTROL "Instant Idle on Login",IDC_II,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,18,138,15
- CONTROL "Force Proxy File Transfers",IDC_FP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,33,138,11
- CONTROL "Masquerade as a Sidekick/Hiptop User",IDC_HF,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,46,138,13
+ CONTROL "Manage server groups",IDC_MG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,188,139,13
+ GROUPBOX "Advanced options",IDC_EXPERT,154,7,145,72,WS_GROUP
+ CONTROL "Instant idle on login",IDC_II,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,18,138,15
+ CONTROL "Force proxy file transfers",IDC_FP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,33,138,11
+ CONTROL "Masquerade as a Sidekick/Hiptop user",IDC_HF,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,46,138,13
GROUPBOX "Connection",IDC_STATIC,154,83,145,80
- RTEXT "Login Server:",IDC_STATIC,157,98,52,12
+ RTEXT "Login server:",IDC_STATIC,157,98,52,12
EDITTEXT IDC_HN,212,96,83,13,ES_AUTOHSCROLL
RTEXT "Port:",IDC_STATIC,157,115,52,12
EDITTEXT IDC_PN,212,113,38,13,ES_AUTOHSCROLL
PUSHBUTTON "Reset",IDC_SVRRESET,260,112,35,14
CONTROL "Disable SSL",IDC_DSSL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,129,138,10
- CONTROL "Force Single Client",IDC_FSC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,149,138,10
+ CONTROL "Force single client",IDC_FSC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,149,138,10
CONTROL "Use ""clientlogin"" (recommended)",IDC_CLIENTLOGIN,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,139,138,10
CTEXT "* Some changes will take effect the next time you connect to the AIM network",IDC_MASQ,157,168,138,28,NOT WS_VISIBLE
@@ -94,7 +94,7 @@ STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT | WS_EX_APPWINDOW
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
- PUSHBUTTON "Save Profile",IDC_SETPROFILE,157,4,60,30,WS_DISABLED
+ PUSHBUTTON "Save profile",IDC_SETPROFILE,157,4,60,30,WS_DISABLED
CONTROL "",IDC_PROFILE,"RichEdit50W",WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP | 0x11c4,4,36,213,112
CONTROL "",IDC_BOLD,"Button",BS_OWNERDRAW,4,4,16,14,WS_EX_RIGHT
CONTROL "",IDC_ITALIC,"Button",BS_OWNERDRAW,20,4,16,14,WS_EX_RIGHT
@@ -115,7 +115,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
- LTEXT "Screen Name:",IDC_STATIC,0,0,53,12
+ LTEXT "Screen name:",IDC_STATIC,0,0,53,12
EDITTEXT IDC_SN,54,0,131,12,ES_AUTOHSCROLL
LTEXT "Password:",IDC_STATIC,0,16,53,12
EDITTEXT IDC_PW,54,16,131,12,ES_PASSWORD | ES_AUTOHSCROLL
@@ -126,15 +126,15 @@ END
IDD_IDLE DIALOGEX 0, 0, 173, 74
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOPMOST
-CAPTION "AIM Instant Idler"
+CAPTION "AIM instant idler"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
EDITTEXT IDC_IIH,86,11,28,12,ES_AUTOHSCROLL | ES_NUMBER,WS_EX_RIGHT
- LTEXT "Number of Hours:",IDC_STATIC,18,13,62,12
- LTEXT "Number of Minutes:",IDC_STATIC,12,29,64,12
+ LTEXT "Number of hours:",IDC_STATIC,18,13,62,12
+ LTEXT "Number of minutes:",IDC_STATIC,12,29,64,12
EDITTEXT IDC_IIM,86,28,28,12,ES_AUTOHSCROLL | ES_NUMBER,WS_EX_RIGHT
- DEFPUSHBUTTON "Set Idle",IDOK,78,50,46,14
- PUSHBUTTON "Unset Idle",IDCANCEL,129,50,39,14
+ DEFPUSHBUTTON "Set idle",IDOK,78,50,46,14
+ PUSHBUTTON "Unset idle",IDCANCEL,129,50,39,14
END
IDD_PRIVACY DIALOGEX 0, 0, 305, 220
@@ -163,10 +163,10 @@ END
IDD_CHAT DIALOGEX 0, 0, 162, 82
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOPMOST
-CAPTION "Join Chat Room"
+CAPTION "Join chat room"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
- LTEXT "Chat Room",IDC_STATIC,7,10,86,9
+ LTEXT "Chat room",IDC_STATIC,7,10,86,9
EDITTEXT IDC_ROOM,6,26,96,12,ES_LOWERCASE | ES_AUTOHSCROLL
DEFPUSHBUTTON "&Join",IDOK,110,6,46,14
PUSHBUTTON "&Cancel",IDCANCEL,110,24,45,14
@@ -178,7 +178,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | DS_CENTER | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
- GROUPBOX "Change Password",IDC_STATIC,2,2,101,103
+ GROUPBOX "Change password",IDC_STATIC,2,2,101,103
LTEXT "Original",IDC_STATIC,8,14,87,8
EDITTEXT IDC_CPW,5,23,90,14,ES_PASSWORD | ES_AUTOHSCROLL
LTEXT "New",IDC_STATIC,7,40,87,8
@@ -186,22 +186,22 @@ BEGIN
LTEXT "Repeat",IDC_STATIC,7,65,88,8
EDITTEXT IDC_NPW2,5,74,90,14,ES_PASSWORD | ES_AUTOHSCROLL
LTEXT "*Passwords don't match.",IDC_PINFO,7,92,82,9,NOT WS_VISIBLE
- LTEXT "Screen Name",IDC_STATIC,118,15,92,8
+ LTEXT "Screen name",IDC_STATIC,118,15,92,8
EDITTEXT IDC_FNAME,117,23,93,14,ES_AUTOHSCROLL
LTEXT "E-mail",IDC_STATIC,118,41,92,8
EDITTEXT IDC_CEMAIL,117,49,93,14,ES_AUTOHSCROLL
- PUSHBUTTON "Confirm Account",IDC_CONFIRM,5,122,86,16,BS_MULTILINE
+ PUSHBUTTON "Confirm account",IDC_CONFIRM,5,122,86,16,BS_MULTILINE
LTEXT "*Applied upon reconnect",IDC_STATIC,127,109,80,8
- PUSHBUTTON "Save Changes",IDC_SAVECHANGES,131,122,79,16
+ PUSHBUTTON "Save changes",IDC_SAVECHANGES,131,122,79,16
END
IDD_CHATROOM_INVITE DIALOGEX 0, 0, 302, 125
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOPMOST
-CAPTION "Invite Buddy To Chat Room"
+CAPTION "Invite buddy to chat room"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
- LTEXT "Screen Name",IDC_STATIC,154,31,43,9
+ LTEXT "Screen name",IDC_STATIC,154,31,43,9
PUSHBUTTON "&Invite",IDOK,165,107,46,14
PUSHBUTTON "&Cancel",IDCANCEL,234,107,45,14
LTEXT "Invitation reason",IDC_STATIC,155,58,60,9
@@ -215,7 +215,7 @@ END
IDD_CHATROOM_INVITE_REQ DIALOGEX 0, 0, 177, 116
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION
EXSTYLE WS_EX_TOPMOST | WS_EX_WINDOWEDGE
-CAPTION "Chat Room Invitation Request"
+CAPTION "Chat room invitation request"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
DEFPUSHBUTTON "&Join",IDOK,77,97,46,14
@@ -224,7 +224,7 @@ BEGIN
CTEXT "",IDC_ROOMNAME,80,4,93,12,SS_SUNKEN
EDITTEXT IDC_MSG,6,50,166,40,ES_MULTILINE | ES_LOWERCASE | ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | WS_HSCROLL
LTEXT "Room",IDC_STATIC,5,6,73,8
- LTEXT "Screen Name",IDC_STATIC,5,24,73,8
+ LTEXT "Screen name",IDC_STATIC,5,24,73,8
CTEXT "",IDC_SCREENNAME,80,22,93,12,SS_SUNKEN
END
diff --git a/protocols/AimOscar/src/error.cpp b/protocols/AimOscar/src/error.cpp
index 885d13deb0..e0988f5170 100644
--- a/protocols/AimOscar/src/error.cpp
+++ b/protocols/AimOscar/src/error.cpp
@@ -23,11 +23,11 @@ void CAimProto::login_error(unsigned short error)
{
switch (error) {
case 0x0004:
- ShowPopup(LPGEN("Invalid Screen Name or password."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid screen name or password."), ERROR_POPUP);
break;
case 0x0005:
- ShowPopup(LPGEN("Mismatched Screen Name or password."), ERROR_POPUP);
+ ShowPopup(LPGEN("Mismatched screen name or password."), ERROR_POPUP);
break;
case 0x0018:
@@ -120,7 +120,7 @@ void CAimProto::get_error(unsigned short error)
break;
case 0x14:
- ShowPopup(LPGEN("No Match."), ERROR_POPUP);
+ ShowPopup(LPGEN("No match."), ERROR_POPUP);
break;
case 0x15:
@@ -145,15 +145,15 @@ void CAimProto::admin_error(unsigned short error)
{
switch (error) {
case 0x01:
- ShowPopup(LPGEN("Check your Screen Name."), ERROR_POPUP);
+ ShowPopup(LPGEN("Check your screen name."), ERROR_POPUP);
break;
case 0x02:
- ShowPopup(LPGEN("Check your Password."), ERROR_POPUP);
+ ShowPopup(LPGEN("Check your password."), ERROR_POPUP);
break;
case 0x03:
- ShowPopup(LPGEN("Check your Email Address."), ERROR_POPUP);
+ ShowPopup(LPGEN("Check your email address."), ERROR_POPUP);
break;
case 0x04:
@@ -165,59 +165,59 @@ void CAimProto::admin_error(unsigned short error)
break;
case 0x06:
- ShowPopup(LPGEN("Invalid Screen Name."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid screen name."), ERROR_POPUP);
break;
case 0x07:
- ShowPopup(LPGEN("Invalid Password."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid password."), ERROR_POPUP);
break;
case 0x08:
- ShowPopup(LPGEN("Invalid Email."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid email."), ERROR_POPUP);
break;
case 0x09:
- ShowPopup(LPGEN("Invalid Registration Preference."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid registration preference."), ERROR_POPUP);
break;
case 0x0a:
- ShowPopup(LPGEN("Invalid Old Password."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid old password."), ERROR_POPUP);
break;
case 0x0b:
- ShowPopup(LPGEN("Invalid Screen Name Length."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid screen name Length."), ERROR_POPUP);
break;
case 0x0c:
- ShowPopup(LPGEN("Invalid Password Length."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid password length."), ERROR_POPUP);
break;
case 0x0d:
- ShowPopup(LPGEN("Invalid Email Length."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid email length."), ERROR_POPUP);
break;
case 0x0e:
- ShowPopup(LPGEN("Invalid Old Password Length."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid old password length."), ERROR_POPUP);
break;
case 0x0f:
- ShowPopup(LPGEN("Need Old Password."), ERROR_POPUP);
+ ShowPopup(LPGEN("Need old password."), ERROR_POPUP);
break;
case 0x10:
- ShowPopup(LPGEN("Read Only Field."), ERROR_POPUP);
+ ShowPopup(LPGEN("Read only field."), ERROR_POPUP);
break;
case 0x11:
- ShowPopup(LPGEN("Write Only Field."), ERROR_POPUP);
+ ShowPopup(LPGEN("Write only field."), ERROR_POPUP);
break;
case 0x12:
- ShowPopup(LPGEN("Unsupported Type."), ERROR_POPUP);
+ ShowPopup(LPGEN("Unsupported type."), ERROR_POPUP);
break;
case 0x13:
- ShowPopup(LPGEN("An Error has occurred."), ERROR_POPUP);
+ ShowPopup(LPGEN("An error has occurred."), ERROR_POPUP);
break;
case 0x14:
@@ -225,39 +225,39 @@ void CAimProto::admin_error(unsigned short error)
break;
case 0x15:
- ShowPopup(LPGEN("Invalid Account."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid account."), ERROR_POPUP);
break;
case 0x16:
- ShowPopup(LPGEN("Delete Account."), ERROR_POPUP);
+ ShowPopup(LPGEN("Deleted account."), ERROR_POPUP);
break;
case 0x17:
- ShowPopup(LPGEN("Expired Account."), ERROR_POPUP);
+ ShowPopup(LPGEN("Expired account."), ERROR_POPUP);
break;
case 0x18:
- ShowPopup(LPGEN("No Database access."), ERROR_POPUP);
+ ShowPopup(LPGEN("No database access."), ERROR_POPUP);
break;
case 0x19:
- ShowPopup(LPGEN("Invalid Database fields."), ERROR_POPUP);
+ ShowPopup(LPGEN("Invalid database fields."), ERROR_POPUP);
break;
case 0x1a:
- ShowPopup(LPGEN("Bad Database status."), ERROR_POPUP);
+ ShowPopup(LPGEN("Bad database status."), ERROR_POPUP);
break;
case 0x1b:
- ShowPopup(LPGEN("Migration Cancel."), ERROR_POPUP);
+ ShowPopup(LPGEN("Migration cancel."), ERROR_POPUP);
break;
case 0x1c:
- ShowPopup(LPGEN("Internal Error."), ERROR_POPUP);
+ ShowPopup(LPGEN("Internal error."), ERROR_POPUP);
break;
case 0x1d:
- ShowPopup(LPGEN("There is already a Pending Request for this Screen Name."), ERROR_POPUP);
+ ShowPopup(LPGEN("There is already a pending request for this screen name."), ERROR_POPUP);
break;
case 0x1e:
@@ -265,23 +265,23 @@ void CAimProto::admin_error(unsigned short error)
break;
case 0x1f:
- ShowPopup(LPGEN("Outstanding Confirmation."), ERROR_POPUP);
+ ShowPopup(LPGEN("Outstanding confirmation."), ERROR_POPUP);
break;
case 0x20:
- ShowPopup(LPGEN("No Email Address."), ERROR_POPUP);
+ ShowPopup(LPGEN("No email address."), ERROR_POPUP);
break;
case 0x21:
- ShowPopup(LPGEN("Over Limit."), ERROR_POPUP);
+ ShowPopup(LPGEN("Over limit."), ERROR_POPUP);
break;
case 0x22:
- ShowPopup(LPGEN("Email Host Fail."), ERROR_POPUP);
+ ShowPopup(LPGEN("Email host fail."), ERROR_POPUP);
break;
case 0x23:
- ShowPopup(LPGEN("DNS Fail."), ERROR_POPUP);
+ ShowPopup(LPGEN("DNS fail."), ERROR_POPUP);
break;
}
}
diff --git a/protocols/AimOscar/src/links.cpp b/protocols/AimOscar/src/links.cpp
index 15aab1fb90..f16fd3131b 100644
--- a/protocols/AimOscar/src/links.cpp
+++ b/protocols/AimOscar/src/links.cpp
@@ -169,7 +169,7 @@ void aim_links_init(void)
static const char szService[] = "AIM/ParseAimLink";
hServiceParseLink = CreateServiceFunction(szService, ServiceParseAimLink);
- AssocMgr_AddNewUrlTypeT("aim:", TranslateT("AIM Link Protocol"), hInstance, IDI_AOL, szService, 0);
+ AssocMgr_AddNewUrlTypeT("aim:", TranslateT("AIM link protocol"), hInstance, IDI_AOL, szService, 0);
}
void aim_links_destroy(void)
diff --git a/protocols/AimOscar/src/popup.cpp b/protocols/AimOscar/src/popup.cpp
index 082e6fe606..e62a66a174 100644
--- a/protocols/AimOscar/src/popup.cpp
+++ b/protocols/AimOscar/src/popup.cpp
@@ -65,7 +65,7 @@ void CAimProto::ShowPopup(const char* msg, int flags, char* url)
{
POPUPDATAT ppd = {0};
- mir_snwprintf(ppd.lptzContactName, TranslateT("%s Protocol"), m_tszUserName);
+ mir_snwprintf(ppd.lptzContactName, TranslateT("%s protocol"), m_tszUserName);
if (flags & ERROR_POPUP)
{
diff --git a/protocols/AimOscar/src/server.cpp b/protocols/AimOscar/src/server.cpp
index 7b9b04854d..3cc3be86ae 100644
--- a/protocols/AimOscar/src/server.cpp
+++ b/protocols/AimOscar/src/server.cpp
@@ -1178,7 +1178,7 @@ void CAimProto::snac_received_message(SNAC &snac, HANDLE hServerConn, unsigned s
if (channel == 1) { //Message not file
if (auto_response) { //this message must be an autoresponse
- T2Utf away(TranslateT("[Auto-Response]:"));
+ T2Utf away(TranslateT("[Auto-response]:"));
size_t len = mir_strlen(msg_buf) + mir_strlen(away) + 2;
char* buf = (char*)mir_alloc(len);
mir_snprintf(buf, len, "%s %s", away, msg_buf);
@@ -1202,7 +1202,7 @@ void CAimProto::snac_received_message(SNAC &snac, HANDLE hServerConn, unsigned s
if (away_time > msg_time && *msgptr) {
char* s_msg = process_status_msg(*msgptr, sn);
- T2Utf away(TranslateT("[Auto-Response]:"));
+ T2Utf away(TranslateT("[Auto-response]:"));
size_t len = mir_strlen(s_msg) + mir_strlen(away) + 2;
char* buf = (char*)alloca(len);
mir_snprintf(buf, len, "%s %s", away, s_msg);
diff --git a/protocols/AimOscar/src/theme.cpp b/protocols/AimOscar/src/theme.cpp
index ab6c8a80ad..627ffbfdb6 100644
--- a/protocols/AimOscar/src/theme.cpp
+++ b/protocols/AimOscar/src/theme.cpp
@@ -27,37 +27,37 @@ static IconItem iconList[] =
{ LPGEN("Add"), "add", IDI_ADD },
{ LPGEN("Block"), "block", IDI_BLOCK },
{ LPGEN("Profile"), "profile", IDI_PROFILE },
- { LPGEN("AOL Mail"), "mail", IDI_MAIL },
- { LPGEN("AIM Icon"), "aim", IDI_AIM },
+ { LPGEN("AOL mail"), "mail", IDI_MAIL },
+ { LPGEN("AIM icon"), "aim", IDI_AIM },
{ LPGEN("Hiptop"), "hiptop", IDI_HIPTOP },
- { LPGEN("AOL Bot"), "bot", IDI_BOT },
+ { LPGEN("AOL bot"), "bot", IDI_BOT },
{ LPGEN("Admin"), "admin", IDI_ADMIN },
{ LPGEN("Confirmed"), "confirm", IDI_CONFIRMED },
- { LPGEN("Not Confirmed"), "uconfirm", IDI_UNCONFIRMED },
+ { LPGEN("Not confirmed"), "uconfirm", IDI_UNCONFIRMED },
{ LPGEN("Blocked list"), "away", IDI_AWAY },
{ LPGEN("Idle"), "idle", IDI_IDLE },
{ LPGEN("AOL"), "aol", IDI_AOL },
- { LPGEN("Foreground Color"), "foreclr", IDI_FOREGROUNDCOLOR },
- { LPGEN("Background Color"), "backclr", IDI_BACKGROUNDCOLOR },
+ { LPGEN("Foreground color"), "foreclr", IDI_FOREGROUNDCOLOR },
+ { LPGEN("Background color"), "backclr", IDI_BACKGROUNDCOLOR },
{ LPGEN("Bold"), "bold", IDI_BOLD },
- { LPGEN("Not Bold"), "nbold", IDI_NBOLD },
+ { LPGEN("Not bold"), "nbold", IDI_NBOLD },
{ LPGEN("Italic"), "italic", IDI_ITALIC },
- { LPGEN("Not Italic"), "nitalic", IDI_NITALIC },
+ { LPGEN("Not italic"), "nitalic", IDI_NITALIC },
{ LPGEN("Underline"), "undrln", IDI_UNDERLINE },
- { LPGEN("Not Underline"), "nundrln", IDI_NUNDERLINE },
+ { LPGEN("Not underline"), "nundrln", IDI_NUNDERLINE },
{ LPGEN("Subscript"), "sub_scrpt", IDI_SUBSCRIPT },
- { LPGEN("Not Subscript"), "nsub_scrpt", IDI_NSUBSCRIPT },
+ { LPGEN("Not subscript"), "nsub_scrpt", IDI_NSUBSCRIPT },
{ LPGEN("Superscript"), "sup_scrpt", IDI_SUPERSCRIPT },
- { LPGEN("Not Superscript"), "nsup_scrpt", IDI_NSUPERSCRIPT },
- { LPGEN("Normal Script"), "norm_scrpt", IDI_NORMALSCRIPT },
- { LPGEN("Not Normal Script"), "nnorm_scrpt", IDI_NNORMALSCRIPT }
+ { LPGEN("Not superscript"), "nsup_scrpt", IDI_NSUPERSCRIPT },
+ { LPGEN("Normal script"), "norm_scrpt", IDI_NORMALSCRIPT },
+ { LPGEN("Not normal script"), "nnorm_scrpt", IDI_NNORMALSCRIPT }
};
void InitIcons(void)
{
Icon_Register(hInstance, "Protocols/AIM", iconList, 14, "AIM");
- Icon_Register(hInstance, "Protocols/AIM/" LPGEN("Profile Editor"), iconList + 14, 14, "AIM");
+ Icon_Register(hInstance, "Protocols/AIM/" LPGEN("Profile editor"), iconList + 14, 14, "AIM");
}
HICON LoadIconEx(const char *name, bool big)
@@ -158,8 +158,8 @@ void add_ES_icons(CAimProto* ppro)
void InitExtraIcons(void)
{
- hExtraAT = ExtraIcon_RegisterIcolib("aimaccounttype", LPGEN("AIM Account Type"), "AIM_aol");
- hExtraES = ExtraIcon_RegisterIcolib("aimextstatus", LPGEN("AIM Extended Status"), "AIM_hiptop");
+ hExtraAT = ExtraIcon_RegisterIcolib("aimaccounttype", LPGEN("AIM account type"), "AIM_aol");
+ hExtraES = ExtraIcon_RegisterIcolib("aimextstatus", LPGEN("AIM extended status"), "AIM_hiptop");
}
/////////////////////////////////////////////////////////////////////////////////////////
@@ -210,21 +210,21 @@ void CAimProto::InitMainMenus(void)
CreateProtoService(mi.pszService, &CAimProto::ManageAccount);
mi.position = 201001;
mi.hIcolibItem = GetIconHandle("aim");
- mi.name.a = LPGEN("Manage Account");
+ mi.name.a = LPGEN("Manage account");
m_hMainMenu[0] = Menu_AddProtoMenuItem(&mi, m_szModuleName);
mi.pszService = "/InstantIdle";
CreateProtoService(mi.pszService, &CAimProto::InstantIdle);
mi.position = 201002;
mi.hIcolibItem = GetIconHandle("idle");
- mi.name.a = LPGEN("Instant Idle");
+ mi.name.a = LPGEN("Instant idle");
m_hMainMenu[1] = Menu_AddProtoMenuItem(&mi, m_szModuleName);
mi.pszService = "/JoinChatRoom";
CreateProtoService(mi.pszService, &CAimProto::JoinChatUI);
mi.position = 201003;
mi.hIcolibItem = GetIconHandle("aol");
- mi.name.a = LPGEN("Join Chat Room");
+ mi.name.a = LPGEN("Join chat room");
m_hMainMenu[2] = Menu_AddProtoMenuItem(&mi, m_szModuleName);
}
@@ -237,7 +237,7 @@ void CAimProto::InitContactMenus(void)
mi.pszService = "/GetHTMLAwayMsg";
mi.position = -2000006000;
mi.hIcolibItem = GetIconHandle("away");
- mi.name.a = LPGEN("Read &HTML Away Message");
+ mi.name.a = LPGEN("Read &HTML away message");
mi.flags = CMIF_NOTOFFLINE | CMIF_HIDDEN;
m_hHTMLAwayContextMenuItem = Menu_AddContactMenuItem(&mi, m_szModuleName);
@@ -246,7 +246,7 @@ void CAimProto::InitContactMenus(void)
mi.pszService = "/GetProfile";
mi.position = -2000005090;
mi.hIcolibItem = GetIconHandle("profile");
- mi.name.a = LPGEN("Read Profile");
+ mi.name.a = LPGEN("Read profile");
mi.flags = CMIF_NOTOFFLINE;
Menu_AddContactMenuItem(&mi, m_szModuleName);
@@ -255,7 +255,7 @@ void CAimProto::InitContactMenus(void)
mi.pszService = "/AddToServerList";
mi.position = -2000005080;
mi.hIcolibItem = GetIconHandle("add");
- mi.name.a = LPGEN("Add To Server List");
+ mi.name.a = LPGEN("Add to server list");
mi.flags = CMIF_NOTONLINE | CMIF_HIDDEN;
m_hAddToServerListContextMenuItem = Menu_AddContactMenuItem(&mi, m_szModuleName);
diff --git a/protocols/AimOscar/src/utility.cpp b/protocols/AimOscar/src/utility.cpp
index 1e9601c836..546a1eaaa7 100755
--- a/protocols/AimOscar/src/utility.cpp
+++ b/protocols/AimOscar/src/utility.cpp
@@ -87,7 +87,7 @@ void CAimProto::start_connection(void*)
if (!getString(AIM_KEY_SN, &dbv))
db_free(&dbv);
else {
- ShowPopup(LPGEN("Please, enter a username in the options dialog."), 0);
+ ShowPopup(LPGEN("Please, enter a user name in the options dialog."), 0);
broadcast_status(ID_STATUS_OFFLINE);
return;
}