summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-07-05 17:58:52 +0000
committerRobert Pösel <robyer@seznam.cz>2016-07-05 17:58:52 +0000
commit3549466bfab1c6fdb20d8eb55fe0124f2c6704a7 (patch)
treeabeae6ada5faf22abf3f146bbc763fd2291289e6 /protocols/FacebookRM/src/proto.cpp
parentb17412619a1706782330e116c6c9e5dd00e39dde (diff)
Facebook: Rework popup behavior and options page
Now items in status menu/services are much more useful, as you can disable automatic loading of newsfeeds/notifications/on this day, but you can trigger it manually via status menu/services menu git-svn-id: http://svn.miranda-ng.org/main/trunk@17063 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r--protocols/FacebookRM/src/proto.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index 4194e2a013..74e1a80d81 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -627,8 +627,7 @@ int FacebookProto::OnPreCreateEvent(WPARAM, LPARAM lParam)
INT_PTR FacebookProto::CheckNewsfeeds(WPARAM, LPARAM)
{
if (!isOffline()) {
- facy.client_notify(TranslateT("Loading newsfeeds..."));
- facy.last_feeds_update_ = 0;
+ facy.client_notify(TranslateT("Loading wall posts..."));
ForkThread(&FacebookProto::ProcessFeeds, NULL);
}
return 0;
@@ -637,7 +636,7 @@ INT_PTR FacebookProto::CheckNewsfeeds(WPARAM, LPARAM)
INT_PTR FacebookProto::CheckFriendRequests(WPARAM, LPARAM)
{
if (!isOffline()) {
- facy.client_notify(TranslateT("Checking friend requests..."));
+ facy.client_notify(TranslateT("Loading friendship requests..."));
ForkThread(&FacebookProto::ProcessFriendRequests, NULL);
}
return 0;
@@ -646,7 +645,7 @@ INT_PTR FacebookProto::CheckFriendRequests(WPARAM, LPARAM)
INT_PTR FacebookProto::CheckNotifications(WPARAM, LPARAM)
{
if (!isOffline()) {
- facy.client_notify(TranslateT("Checking notifications..."));
+ facy.client_notify(TranslateT("Loading notifications..."));
ForkThread(&FacebookProto::ProcessNotifications, NULL);
}
return 0;
@@ -655,7 +654,7 @@ INT_PTR FacebookProto::CheckNotifications(WPARAM, LPARAM)
INT_PTR FacebookProto::CheckOnThisDay(WPARAM, LPARAM)
{
if (!isOffline()) {
- facy.client_notify(TranslateT("Checking what happened on this day..."));
+ facy.client_notify(TranslateT("Loading what happened on this day..."));
ForkThread(&FacebookProto::ProcessOnThisDay, NULL);
}
return 0;
@@ -994,7 +993,7 @@ void FacebookProto::InitPopups()
char name[256];
// Client
- mir_sntprintf(desc, _T("%s/%s"), m_tszUserName, TranslateT("Client notifications"));
+ mir_sntprintf(desc, _T("%s/%s"), m_tszUserName, TranslateT("Client errors"));
mir_snprintf(name, "%s_%s", m_szModuleName, "Client");
ppc.ptszDescription = desc;
ppc.pszName = name;
@@ -1005,7 +1004,7 @@ void FacebookProto::InitPopups()
popupClasses.push_back(Popup_RegisterClass(&ppc));
// Newsfeeds
- mir_sntprintf(desc, _T("%s/%s"), m_tszUserName, TranslateT("News feeds"));
+ mir_sntprintf(desc, _T("%s/%s"), m_tszUserName, TranslateT("Wall posts"));
mir_snprintf(name, "%s_%s", m_szModuleName, "Newsfeed");
ppc.ptszDescription = desc;
ppc.pszName = name;
@@ -1049,7 +1048,7 @@ void FacebookProto::InitPopups()
popupClasses.push_back(Popup_RegisterClass(&ppc));
// Ticker
- mir_sntprintf(desc, _T("%s/%s"), m_tszUserName, TranslateT("Ticker feeds"));
+ mir_sntprintf(desc, _T("%s/%s"), m_tszUserName, TranslateT("Real-time friends activity"));
mir_snprintf(name, "%s_%s", m_szModuleName, "Ticker");
ppc.ptszDescription = desc;
ppc.pszName = name;
@@ -1060,7 +1059,7 @@ void FacebookProto::InitPopups()
popupClasses.push_back(Popup_RegisterClass(&ppc));
// On this day
- mir_sntprintf(desc, _T("%s/%s"), m_tszUserName, TranslateT("On this day posts"));
+ mir_sntprintf(desc, _T("%s/%s"), m_tszUserName, TranslateT("\"On this day\" posts"));
mir_snprintf(name, "%s_%s", m_szModuleName, "OnThisDay");
ppc.ptszDescription = desc;
ppc.pszName = name;
@@ -1110,7 +1109,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("OnThisDay", m_tszUserName, LPGENT("\"On this day\" event"));
}
/**