summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/contacts.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-07-17 10:30:01 +0000
committerRobert Pösel <robyer@seznam.cz>2016-07-17 10:30:01 +0000
commita992047f2696936927f9b220592ee0edd030bc42 (patch)
tree901828029bee4d75d5af83277aaf363b7533ee00 /protocols/FacebookRM/src/contacts.cpp
parent13887196e493841b2e141e316987de2299471bc0 (diff)
Facebook: Use better page prefix (emoji), and make it customizable
git-svn-id: http://svn.miranda-ng.org/main/trunk@17104 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/contacts.cpp')
-rw-r--r--protocols/FacebookRM/src/contacts.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/contacts.cpp b/protocols/FacebookRM/src/contacts.cpp
index 242f0a5bb7..a75d61f58c 100644
--- a/protocols/FacebookRM/src/contacts.cpp
+++ b/protocols/FacebookRM/src/contacts.cpp
@@ -40,8 +40,7 @@ void FacebookProto::SaveName(MCONTACT hContact, const facebook_user *fbu)
{
if (fbu->type == CONTACT_PAGE) {
// Page has only nickname and no first/last names
- std::string nick = Translate("[Page]"); // page prefix
- nick += " " + fbu->real_name;
+ std::string nick = m_pagePrefix + " " + fbu->real_name;
updateStringUtf(this, hContact, FACEBOOK_KEY_NICK, nick);
delSetting(hContact, FACEBOOK_KEY_FIRST_NAME);