From ed348afe049c9651602edf07c03617d0366b6cdc Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Sat, 22 Mar 2014 19:57:30 +0000 Subject: Sametime: decapitalization git-svn-id: http://svn.miranda-ng.org/main/trunk@8694 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Sametime/res/resource.rc | 14 +++++++------- protocols/Sametime/src/conference.cpp | 6 +++--- protocols/Sametime/src/messaging.cpp | 2 +- protocols/Sametime/src/sametime.cpp | 4 ++-- protocols/Sametime/src/sametime_proto.cpp | 2 +- protocols/Sametime/src/sametime_session.cpp | 6 +++--- protocols/Sametime/src/userlist.cpp | 4 ++-- protocols/Sametime/src/version.h | 2 +- 8 files changed, 20 insertions(+), 20 deletions(-) (limited to 'protocols/Sametime') diff --git a/protocols/Sametime/res/resource.rc b/protocols/Sametime/res/resource.rc index 1f7384711d..94aa8fcc6e 100644 --- a/protocols/Sametime/res/resource.rc +++ b/protocols/Sametime/res/resource.rc @@ -36,15 +36,15 @@ BEGIN EDITTEXT IDC_ED_PORT,70,77,36,14,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER CONTROL "Get contacts from server",IDC_CHK_GETSERVERCONTACTS, "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,180,15,115,15 - PUSHBUTTON "Upload Contacts",IDC_BTN_UPLOADCONTACTS,180,29,115,15 + PUSHBUTTON "Upload contacts",IDC_BTN_UPLOADCONTACTS,180,29,115,15 PUSHBUTTON "Import from file...",IDC_BTN_IMPORTCONTACTS,180,48,115,15 COMBOBOX IDC_CMB_CLIENT,10,109,114,107,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP EDITTEXT IDC_ED_CLIENTID,126,109,37,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER - RTEXT "Id:",IDC_STATIC,14,17,49,8 + RTEXT "ID:",IDC_STATIC,14,17,49,8 EDITTEXT IDC_ED_NAME,70,13,92,14,ES_AUTOHSCROLL RTEXT "Password:",IDC_STATIC,14,39,49,8 EDITTEXT IDC_ED_PWORD,70,35,92,14,ES_PASSWORD | ES_AUTOHSCROLL - GROUPBOX "Error Display",IDC_STATIC,7,143,161,53 + GROUPBOX "Error display",IDC_STATIC,7,143,161,53 CONTROL "Use message boxes",IDC_RAD_ERRMB,"Button",BS_AUTORADIOBUTTON | WS_GROUP,20,156,122,10 CONTROL "Use popups",IDC_RAD_ERRPOP,"Button",BS_AUTORADIOBUTTON,20,169,122,10 CONTROL "Use system tray baloons",IDC_RAD_ERRBAL,"Button",BS_AUTORADIOBUTTON,21,182,122,10 @@ -65,16 +65,16 @@ END IDD_SESSIONANNOUNCE DIALOG 0, 0, 286, 263 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Send Announcement" +CAPTION "Send announcement" FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "OK",IDOK,95,242,50,14 PUSHBUTTON "Cancel",IDCANCEL,150,242,50,14 EDITTEXT IDC_ED_ANMSG,10,20,264,60,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN - LTEXT "Message Text:",IDC_STATIC,9,9,142,8 + LTEXT "Message text:",IDC_STATIC,9,9,142,8 CONTROL "List1",IDC_LST_ANTO,"SysListView32",LVS_REPORT | WS_BORDER | WS_TABSTOP,10,92,197,132 - PUSHBUTTON "Select All",IDC_BUT_SELALL,214,122,58,36 - PUSHBUTTON "Invert\n Selection",IDC_BUT_SELINV,214,167,58,36,BS_MULTILINE + PUSHBUTTON "Select all",IDC_BUT_SELALL,214,122,58,36 + PUSHBUTTON "Invert\n selection",IDC_BUT_SELINV,214,167,58,36,BS_MULTILINE END IDD_USERSEARCH DIALOG 0, 0, 155, 86 diff --git a/protocols/Sametime/src/conference.cpp b/protocols/Sametime/src/conference.cpp index e72c089e73..7583ad54f8 100644 --- a/protocols/Sametime/src/conference.cpp +++ b/protocols/Sametime/src/conference.cpp @@ -432,7 +432,7 @@ INT_PTR CSametimeProto::onMenuCreateChat(WPARAM wParam, LPARAM lParam) if (my_login_info && GetAwareIdFromContact(hContact, &id_block)) { TCHAR title[512]; TCHAR* ts = mir_utf8decodeT(my_login_info->user_name); - mir_sntprintf(title, SIZEOF(title), TranslateT("%s's Conference"), ts); + mir_sntprintf(title, SIZEOF(title), TranslateT("%s's conference"), ts); mir_free(ts); idb.user = id_block.user; @@ -542,13 +542,13 @@ void CSametimeProto::InitConferenceMenu() mi.flags = CMIF_TCHAR | CMIF_NOTOFFLINE; mi.pszContactOwner = m_szModuleName; - mi.ptszName = LPGENT("Leave Conference"); + mi.ptszName = LPGENT("Leave conference"); mir_snprintf(service, sizeof(service), "%s%s", m_szModuleName, MS_SAMETIME_MENULEAVECHAT); mi.pszService = service; mi.icolibItem = GetIconHandle(IDI_ICON_LEAVE); hLeaveChatMenuItem = Menu_AddContactMenuItem(&mi); - mi.ptszName = LPGENT("Start Conference"); + mi.ptszName = LPGENT("Start conference"); mir_snprintf(service, sizeof(service), "%s%s", m_szModuleName, MS_SAMETIME_MENUCREATECHAT); mi.pszService = service; mi.icolibItem = GetIconHandle(IDI_ICON_INVITE); diff --git a/protocols/Sametime/src/messaging.cpp b/protocols/Sametime/src/messaging.cpp index 58cc83b600..7825a9f2e0 100644 --- a/protocols/Sametime/src/messaging.cpp +++ b/protocols/Sametime/src/messaging.cpp @@ -108,7 +108,7 @@ void mwIm_place_invite(struct mwConversation* conv, const char* message, const c TCHAR* tszMessage = mir_utf8decodeT(message); TCHAR msg[512]; - mir_sntprintf(msg, SIZEOF(msg), TranslateT("SERVICE UNIMPLEMENTED. %s"), tszMessage); + mir_sntprintf(msg, SIZEOF(msg), TranslateT("SERVICE NOT IMPLEMENTED. %s"), tszMessage); proto->showPopup(msg, SAMETIME_POPUP_INFO); mir_free(tszMessage); diff --git a/protocols/Sametime/src/sametime.cpp b/protocols/Sametime/src/sametime.cpp index 5cec8f873a..87bf29c5d9 100644 --- a/protocols/Sametime/src/sametime.cpp +++ b/protocols/Sametime/src/sametime.cpp @@ -90,8 +90,8 @@ INT_PTR CSametimeProto::SametimeLoadIcon(WPARAM wParam, LPARAM lParam) static IconItem iconList[] = { { LPGEN("Protocol icon"), "protoicon", IDI_ICON_PROTO, 0 } - , { LPGEN("Start Conference"), "leaveconference", IDI_ICON_INVITE, 0 } - , { LPGEN("Leave Conference"), "startconference", IDI_ICON_LEAVE, 0 } + , { LPGEN("Start conference"), "leaveconference", IDI_ICON_INVITE, 0 } + , { LPGEN("Leave conference"), "startconference", IDI_ICON_LEAVE, 0 } , { LPGEN("Announce"), "announce", IDI_ICON_ANNOUNCE, 0 } , { LPGEN("Notification"), "notify", IDI_ICON_NOTIFY, 0 } , { LPGEN("Error"), "error", IDI_ICON_ERROR, 0 } diff --git a/protocols/Sametime/src/sametime_proto.cpp b/protocols/Sametime/src/sametime_proto.cpp index eb1839dc3a..d3f3435705 100644 --- a/protocols/Sametime/src/sametime_proto.cpp +++ b/protocols/Sametime/src/sametime_proto.cpp @@ -176,7 +176,7 @@ DWORD_PTR CSametimeProto::GetCaps(int type, MCONTACT hContact) ret = PF2_LIGHTDND; break; case PFLAG_UNIQUEIDTEXT: - ret = (DWORD_PTR) Translate("Id"); + ret = (DWORD_PTR) Translate("ID"); break; case PFLAG_MAXLENOFMESSAGE: ret = MAX_MESSAGE_SIZE; diff --git a/protocols/Sametime/src/sametime_session.cpp b/protocols/Sametime/src/sametime_session.cpp index bc03f86a03..9ddfaf9f88 100644 --- a/protocols/Sametime/src/sametime_session.cpp +++ b/protocols/Sametime/src/sametime_session.cpp @@ -153,7 +153,7 @@ void __cdecl SessionAdmin(struct mwSession* session, const char* text) CSametimeProto* proto = (CSametimeProto*)mwSession_getProperty(session, "PROTO_STRUCT_PTR"); proto->debugLog(_T("SessionAdmin()")); TCHAR* tt = mir_utf8decodeT(text); - MessageBox(0, tt, TranslateT("Sametime Administrator Message"), MB_OK); + MessageBox(0, tt, TranslateT("Sametime administrator message"), MB_OK); mir_free(tt); } @@ -166,7 +166,7 @@ void __cdecl SessionAnnounce(struct mwSession* session, struct mwLoginInfo* from TCHAR stzFromBuff[256]; stzFrom = mir_utf8decodeT(from->user_name); stzText = mir_utf8decodeT(text); - mir_sntprintf(stzFromBuff, 256, TranslateT("Session Announcement - from '%s'"), stzFrom); + mir_sntprintf(stzFromBuff, 256, TranslateT("Session announcement - from '%s'"), stzFrom); MessageBox(0, TranslateTS(stzText), stzFromBuff, MB_OK); mir_free(stzText); mir_free(stzFrom); @@ -592,7 +592,7 @@ void CSametimeProto::InitSessionMenu() mi.flags = CMIF_TCHAR; mi.popupPosition = 500085001; mi.position = 2000060000; - mi.ptszName = LPGENT("Send Announcement..."); + mi.ptszName = LPGENT("Send announcement..."); mir_snprintf(service, sizeof(service), "%s%s", m_szModuleName, MS_SAMETIME_MENUANNOUNCESESSION); mi.pszService = service; mi.icolibItem = GetIconHandle(IDI_ICON_ANNOUNCE); diff --git a/protocols/Sametime/src/userlist.cpp b/protocols/Sametime/src/userlist.cpp index 89e11a0a81..f5a7f4cccc 100644 --- a/protocols/Sametime/src/userlist.cpp +++ b/protocols/Sametime/src/userlist.cpp @@ -328,7 +328,7 @@ void CSametimeProto::ExportContactsToServer() debugLog(_T("CSametimeProto::ExportContactsToServer() start")); if (MW_SERVICE_IS_DEAD(service_storage)) { debugLog(_T("CSametimeProto::ExportContactsToServer() Failed")); - showPopup(TranslateT("Failed to upload contacts - Storage service unavailable."), SAMETIME_POPUP_ERROR); + showPopup(TranslateT("Failed to upload contacts - storage service unavailable."), SAMETIME_POPUP_ERROR); return; } @@ -658,7 +658,7 @@ void mwResolve_handler_callback(mwServiceResolve* srvc, guint32 id, guint32 code if (advanced == TRUE) { // send column names mcsr.psr.cbSize = 0; - _tcsncpy(mcsr.pszFields[0], TranslateT("Id"), 512); + _tcsncpy(mcsr.pszFields[0], TranslateT("ID"), 512); _tcsncpy(mcsr.pszFields[1], TranslateT("Name"), 512); _tcsncpy(mcsr.pszFields[2], TranslateT("Description"), 512); _tcsncpy(mcsr.pszFields[3], TranslateT("Group?"), 512); diff --git a/protocols/Sametime/src/version.h b/protocols/Sametime/src/version.h index 7df1c78f66..f1332359be 100644 --- a/protocols/Sametime/src/version.h +++ b/protocols/Sametime/src/version.h @@ -7,7 +7,7 @@ #define __PLUGIN_NAME "Sametime Protocol" #define __FILENAME "Sametime.dll" -#define __DESCRIPTION "Implementation of Instant Messaging for the Lotus Sametime protocol." +#define __DESCRIPTION "Implementation of instant messaging for the Lotus Sametime protocol." #define __AUTHOR "Scott Ellis, Szymon Tokarz" #define __AUTHOREMAIL "mail"/*antispam*/"@"/*antispam*/"scottellis.com.au, wsx22"/*antispam*/"@"/*antispam*/"o2.pl" #define __COPYRIGHT "© 2005 Scott Ellis, 2014 wsx22" -- cgit v1.2.3