diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-07-25 19:44:19 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-07-25 19:44:19 +0000 |
commit | a61c8728b379057fe7f0a0d86fe0b037598229dd (patch) | |
tree | e7a0e328616cdc5a0920d9cb598ba1bd8dd88d9f /protocols/FacebookRM/src/proto.cpp | |
parent | 9c4ce5c83b1b782d9031896454823e478611f6c2 (diff) |
Facebook: Rename "On this day" to "Memories" as Facebook calls it, and use better icon for it
git-svn-id: http://svn.miranda-ng.org/main/trunk@17132 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 7f7720f350..0795f2ba16 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -667,11 +667,11 @@ INT_PTR FacebookProto::CheckNotifications(WPARAM, LPARAM) return 0; } -INT_PTR FacebookProto::CheckOnThisDay(WPARAM, LPARAM) +INT_PTR FacebookProto::CheckMemories(WPARAM, LPARAM) { if (!isOffline()) { - NotifyEvent(m_tszUserName, TranslateT("Loading what happened on this day..."), NULL, FACEBOOK_EVENT_OTHER); - ForkThread(&FacebookProto::ProcessOnThisDay, NULL); + NotifyEvent(m_tszUserName, TranslateT("Loading memories..."), NULL, FACEBOOK_EVENT_OTHER); + ForkThread(&FacebookProto::ProcessMemories, NULL); } return 0; } @@ -1074,12 +1074,12 @@ void FacebookProto::InitPopups() ppc.iSeconds = 0; popupClasses.push_back(Popup_RegisterClass(&ppc)); - // On this day - mir_sntprintf(desc, L"%s/%s", m_tszUserName, TranslateT("\"On this day\" posts")); - mir_snprintf(name, "%s_%s", m_szModuleName, "OnThisDay"); + // On this day (memories) + mir_sntprintf(desc, L"%s/%s", m_tszUserName, TranslateT("Memories")); + mir_snprintf(name, "%s_%s", m_szModuleName, "Memories"); ppc.ptszDescription = desc; ppc.pszName = name; - ppc.hIcon = IcoLib_GetIconByHandle(GetIconHandle("newsfeed")); + ppc.hIcon = IcoLib_GetIconByHandle(GetIconHandle("memories")); ppc.colorBack = RGB(255, 255, 255); // white ppc.colorText = RGB(0, 0, 0); // black ppc.iSeconds = 0; @@ -1125,7 +1125,7 @@ void FacebookProto::InitSounds() SkinAddNewSoundExT("OtherEvent", m_tszUserName, LPGENT("Other event")); SkinAddNewSoundExT("Friendship", m_tszUserName, LPGENT("Friendship event")); SkinAddNewSoundExT("Ticker", m_tszUserName, LPGENT("Ticker event")); - SkinAddNewSoundExT("OnThisDay", m_tszUserName, LPGENT("\"On this day\" event")); + SkinAddNewSoundExT("Memories", m_tszUserName, LPGENT("Memories")); } /** |