From 0b80c2136069b890b640de10ea21767a1687f1e1 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Tue, 9 Jun 2015 15:49:23 +0000 Subject: spelling correction git-svn-id: http://svn.miranda-ng.org/main/trunk@14077 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MessageState/src/global.h | 4 ++-- plugins/MessageState/src/messagestate.cpp | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/MessageState/src') diff --git a/plugins/MessageState/src/global.h b/plugins/MessageState/src/global.h index 51af6636ac..991d737d96 100644 --- a/plugins/MessageState/src/global.h +++ b/plugins/MessageState/src/global.h @@ -14,8 +14,8 @@ static IconItem Icons[] = enum SRMM_ICON_TYPE { ICON_HIDDEN, - ICON_READED, - ICON_UNREADED, + ICON_READ, + ICON_UNREAD, ICON_FAILED, ICON_NOSENT }; diff --git a/plugins/MessageState/src/messagestate.cpp b/plugins/MessageState/src/messagestate.cpp index 3595553ee1..d1c6a240c6 100644 --- a/plugins/MessageState/src/messagestate.cpp +++ b/plugins/MessageState/src/messagestate.cpp @@ -38,27 +38,27 @@ void SetSRMMIcon(MCONTACT hContact, SRMM_ICON_TYPE type, time_t time = 0) sid.flags |= MBF_HIDDEN; break; } - case ICON_READED: + case ICON_READ: { sid.hIcon = Skin_GetIcon("read_icon"); TCHAR ttime[64]; _locale_t locale = _create_locale(LC_ALL, ""); _tcsftime_l(ttime, SIZEOF(ttime), _T("%X %x"), localtime(&time), locale); _free_locale(locale); - CMString tooltip(FORMAT, L"%s %s", TranslateT("Last message readed at"), ttime); + CMString tooltip(FORMAT, L"%s %s", TranslateT("Last message read at"), ttime); sid.tszTooltip = mir_tstrdup(tooltip.GetBuffer()); break; } - case ICON_UNREADED: + case ICON_UNREAD: { sid.hIcon = Skin_GetIcon("unread_icon"); - sid.tszTooltip = TranslateT("Last message is not readed"); + sid.tszTooltip = TranslateT("Last message is not read"); break; } case ICON_FAILED: { sid.hIcon = Skin_GetIcon("fail_icon"); - sid.tszTooltip = TranslateT("Last message send failed"); + sid.tszTooltip = TranslateT("Last message was not sent."); break; } case ICON_NOSENT: @@ -82,7 +82,7 @@ int IconsUpdate(WPARAM hContact, LONGLONG readtime) LONGLONG lasttime = GetLastSentMessageTime(hContact); if (lasttime != -1 && readtime != 0) { - SetSRMMIcon(hContact, (readtime >= lasttime) ? ICON_READED : ICON_UNREADED, readtime); + SetSRMMIcon(hContact, (readtime >= lasttime) ? ICON_READ : ICON_UNREAD, readtime); } else SetSRMMIcon(hContact, ICON_HIDDEN); @@ -96,7 +96,7 @@ int OnProtoAck(WPARAM, LPARAM lParam) { if (pAck->result == ACKRESULT_SUCCESS) { - SetSRMMIcon(pAck->hContact, ICON_UNREADED); + SetSRMMIcon(pAck->hContact, ICON_UNREAD); } else if (pAck->result == ACKRESULT_FAILED) { -- cgit v1.2.3