suppress duplicate FB posts (incoming after posted locally)

This commit is contained in:
Friendika 2011-04-27 04:24:00 -07:00
parent 61f7b3d754
commit d45ad7bb6b
7 changed files with 157 additions and 152 deletions

View file

@ -24,8 +24,8 @@
* Replace with the settings Facebook gives you. * Replace with the settings Facebook gives you.
* 2. Enable the facebook plugin by including it in .htconfig.php - e.g. * 2. Enable the facebook plugin by including it in .htconfig.php - e.g.
* $a->config['system']['addon'] = 'plugin1,plugin2,facebook'; * $a->config['system']['addon'] = 'plugin1,plugin2,facebook';
* 3. Visit your site url + '/facebook' (e.g. http://example.com/facebook) * 3. Visit the Facebook Settings from "Settings->Plugin Settings" page.
* and click 'Install Facebook posting'. * and click 'Install Facebook Connector'.
* 4. This will ask you to login to Facebook and grant permission to the * 4. This will ask you to login to Facebook and grant permission to the
* plugin to do its stuff. Allow it to do so. * plugin to do its stuff. Allow it to do so.
* 5. You're done. To turn it off visit your site's /facebook page again and * 5. You're done. To turn it off visit your site's /facebook page again and
@ -245,14 +245,14 @@ function facebook_content(&$a) {
$o .= '<div id="facebook-enable-wrapper">'; $o .= '<div id="facebook-enable-wrapper">';
$o .= '<a href="https://www.facebook.com/dialog/oauth?client_id=' . $appid . '&redirect_uri=' $o .= '<a href="https://www.facebook.com/dialog/oauth?client_id=' . $appid . '&redirect_uri='
. $a->get_baseurl() . '/facebook/' . $a->user['nickname'] . '&scope=publish_stream,read_stream,offline_access">' . t('Install Facebook post connector') . '</a>'; . $a->get_baseurl() . '/facebook/' . $a->user['nickname'] . '&scope=publish_stream,read_stream,offline_access">' . t('Install Facebook connector for this account.') . '</a>';
$o .= '</div>'; $o .= '</div>';
} }
if($fb_installed) { if($fb_installed) {
$o .= '<div id="facebook-disable-wrapper">'; $o .= '<div id="facebook-disable-wrapper">';
$o .= '<a href="' . $a->get_baseurl() . '/facebook/remove' . '">' . t('Remove Facebook post connector') . '</a></div>'; $o .= '<a href="' . $a->get_baseurl() . '/facebook/remove' . '">' . t('Remove Facebook connector') . '</a></div>';
$o .= '<div id="facebook-post-default-form">'; $o .= '<div id="facebook-post-default-form">';
$o .= '<form action="facebook" method="post" >'; $o .= '<form action="facebook" method="post" >';
@ -499,6 +499,14 @@ function facebook_post_hook(&$a,&$b) {
logger('facebook: postvars: ' . print_r($postvars,true)); logger('facebook: postvars: ' . print_r($postvars,true));
$x = post_url($url, $postvars); $x = post_url($url, $postvars);
$retj = json_decode($x);
if($retj->id) {
q("UPDATE `item` SET `extid` = '%s' WHERE `id` = %d LIMIT 1",
dbesc($retj->id),
intval($b['id'])
);
}
logger('Facebook post returns: ' . $x, LOGGER_DEBUG); logger('Facebook post returns: ' . $x, LOGGER_DEBUG);
@ -556,19 +564,11 @@ function fb_consume_stream($uid,$j,$wall = false) {
if($app->id == get_config('facebook','appid') && $wall) if($app->id == get_config('facebook','appid') && $wall)
$we_posted = true; $we_posted = true;
if($we_posted) { $r = q("SELECT * FROM `item` WHERE ( `uri` = '%s' OR `extid` = '%s') AND `uid` = %d LIMIT 1",
$r = q("SELECT * FROM `item` WHERE `wall` = 1 AND `uid` = %d AND `created` > '%s' AND `created` < '%s' AND `deleted` = 0 LIMIT 1", dbesc('fb::' . $entry->id),
intval($uid),
dbesc(datetime_convert('UTC','UTC',$entry->created_time . ' - 1 minute')),
dbesc(datetime_convert('UTC','UTC',$entry->created_time . ' + 1 minute'))
);
}
else {
$r = q("SELECT * FROM `item` WHERE `uri` = '%s' AND `uid` = %d AND `deleted` = 0 LIMIT 1",
dbesc('fb::' . $entry->id), dbesc('fb::' . $entry->id),
intval($uid) intval($uid)
); );
}
if(count($r)) { if(count($r)) {
$post_exists = true; $post_exists = true;
$orig_post = $r[0]; $orig_post = $r[0];
@ -690,8 +690,9 @@ function fb_consume_stream($uid,$j,$wall = false) {
if(is_array($comments)) { if(is_array($comments)) {
foreach($comments as $cmnt) { foreach($comments as $cmnt) {
$r = q("SELECT * FROM `item` WHERE `uid` = %d AND `uri` = '%s' LIMIT 1", $r = q("SELECT * FROM `item` WHERE `uid` = %d AND ( `uri` = '%s' OR `extid` = '%s' ) LIMIT 1",
intval($uid), intval($uid),
dbesc('fb::' . $cmnt->id),
dbesc('fb::' . $cmnt->id) dbesc('fb::' . $cmnt->id)
); );
if(count($r)) if(count($r))
@ -707,17 +708,6 @@ function fb_consume_stream($uid,$j,$wall = false) {
$cmntdata['parent-uri'] = 'fb::' . $entry->id; $cmntdata['parent-uri'] = 'fb::' . $entry->id;
if($cmnt->from->id == $self_id) { if($cmnt->from->id == $self_id) {
$cmntdata['contact-id'] = $self[0]['id']; $cmntdata['contact-id'] = $self[0]['id'];
// see if I already posted it here locally and we're now getting it back from FB
$r = q("SELECT * FROM `item` WHERE `uid` = %d AND `created` > '%s' AND `created` < '%s'
AND `parent-uri` = '%s' AND `author-link` = '%s' LIMIT 1",
intval($uid),
dbesc(datetime_convert('UTC','UTC',$cmnt->created_time . ' - 1 minute')),
dbesc(datetime_convert('UTC','UTC',$cmnt->created_time . ' + 1 minute')),
dbesc('fb::' . $entry->id),
dbesc($my_local_url)
);
if(count($r))
continue;
} }
elseif(is_array($orig_post) && (x($orig_post,'contact-id'))) elseif(is_array($orig_post) && (x($orig_post,'contact-id')))
$cmntdata['contact-id'] = $orig_post['contact-id']; $cmntdata['contact-id'] = $orig_post['contact-id'];
@ -738,14 +728,7 @@ function fb_consume_stream($uid,$j,$wall = false) {
$cmntdata['body'] = $cmnt->message; $cmntdata['body'] = $cmnt->message;
$item = item_store($cmntdata); $item = item_store($cmntdata);
} }
} }
} }
}
}

View file

@ -4,7 +4,7 @@ set_time_limit(0);
define ( 'FRIENDIKA_VERSION', '2.1.961' ); define ( 'FRIENDIKA_VERSION', '2.1.961' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' ); define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1053 ); define ( 'DB_UPDATE_VERSION', 1054 );
define ( 'EOL', "<br />\r\n" ); define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );

View file

@ -166,6 +166,7 @@ CREATE TABLE IF NOT EXISTS `item` (
`gravity` tinyint(1) NOT NULL DEFAULT '0', `gravity` tinyint(1) NOT NULL DEFAULT '0',
`parent` int(10) unsigned NOT NULL DEFAULT '0', `parent` int(10) unsigned NOT NULL DEFAULT '0',
`parent-uri` char(255) NOT NULL, `parent-uri` char(255) NOT NULL,
`extid` char(255) NOT NULL,
`thr-parent` char(255) NOT NULL, `thr-parent` char(255) NOT NULL,
`created` datetime NOT NULL, `created` datetime NOT NULL,
`edited` datetime NOT NULL, `edited` datetime NOT NULL,
@ -208,6 +209,7 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `wall` (`wall`), KEY `wall` (`wall`),
KEY `parent` (`parent`), KEY `parent` (`parent`),
KEY `parent-uri` (`parent-uri`), KEY `parent-uri` (`parent-uri`),
KEY `extid` (`extid`),
KEY `created` (`created`), KEY `created` (`created`),
KEY `edited` (`edited`), KEY `edited` (`edited`),
KEY `visible` (`visible`), KEY `visible` (`visible`),

View file

@ -173,6 +173,8 @@ EOT;
); );
} }
$arr['id'] = $post_id;
call_hooks('post_local_end', $arr); call_hooks('post_local_end', $arr);
proc_run('php',"include/notifier.php","like","$post_id"); proc_run('php',"include/notifier.php","like","$post_id");

View file

@ -476,3 +476,7 @@ function update_1052() {
} }
function update_1053() {
q("ALTER TABLE `item` ADD `extid` CHAR( 255 ) NOT NULL AFTER `parent-uri` , ADD INDEX ( `extid` ) ");
}

View file

@ -6,9 +6,9 @@
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2.1.958\n" "Project-Id-Version: 2.1.961\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-04-23 17:31-0700\n" "POT-Creation-Date: 2011-04-27 04:23-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -36,13 +36,13 @@ msgstr ""
#: ../../mod/settings.php:251 ../../mod/manage.php:75 ../../mod/network.php:6 #: ../../mod/settings.php:251 ../../mod/manage.php:75 ../../mod/network.php:6
#: ../../mod/group.php:19 ../../mod/viewcontacts.php:21 #: ../../mod/group.php:19 ../../mod/viewcontacts.php:21
#: ../../mod/register.php:25 ../../mod/regmod.php:16 ../../mod/item.php:57 #: ../../mod/register.php:25 ../../mod/regmod.php:16 ../../mod/item.php:57
#: ../../mod/item.php:678 ../../mod/profile_photo.php:19 #: ../../mod/item.php:679 ../../mod/profile_photo.php:19
#: ../../mod/profile_photo.php:133 ../../mod/profile_photo.php:144 #: ../../mod/profile_photo.php:133 ../../mod/profile_photo.php:144
#: ../../mod/profile_photo.php:155 ../../mod/message.php:8 #: ../../mod/profile_photo.php:155 ../../mod/message.php:8
#: ../../mod/message.php:116 ../../mod/wall_upload.php:42 #: ../../mod/message.php:116 ../../mod/wall_upload.php:42
#: ../../mod/follow.php:8 ../../mod/display.php:138 ../../mod/profiles.php:7 #: ../../mod/follow.php:8 ../../mod/display.php:138 ../../mod/profiles.php:7
#: ../../mod/profiles.php:227 ../../mod/invite.php:13 ../../mod/invite.php:54 #: ../../mod/profiles.php:227 ../../mod/invite.php:13 ../../mod/invite.php:54
#: ../../mod/dfrn_confirm.php:53 ../../addon/facebook/facebook.php:110 #: ../../mod/dfrn_confirm.php:53 ../../addon/facebook/facebook.php:221
#: ../../wip/photos.php:77 ../../wip/photos.php:723 ../../wip/follow2.php:8 #: ../../wip/photos.php:77 ../../wip/photos.php:723 ../../wip/follow2.php:8
#: ../../wip/group.php:19 ../../wip/photos-chris.php:97 #: ../../wip/group.php:19 ../../wip/photos-chris.php:97
#: ../../wip/photos-chris.php:770 ../../index.php:265 #: ../../wip/photos-chris.php:770 ../../index.php:265
@ -103,12 +103,12 @@ msgstr ""
#: ../../mod/install.php:133 ../../mod/contacts.php:264 #: ../../mod/install.php:133 ../../mod/contacts.php:264
#: ../../mod/settings.php:426 ../../mod/manage.php:106 ../../mod/group.php:76 #: ../../mod/settings.php:426 ../../mod/manage.php:106 ../../mod/group.php:76
#: ../../mod/group.php:159 ../../mod/profiles.php:370 ../../mod/invite.php:68 #: ../../mod/group.php:159 ../../mod/profiles.php:370 ../../mod/invite.php:68
#: ../../addon/facebook/facebook.php:151 #: ../../addon/facebook/facebook.php:262
#: ../../addon/randplace/randplace.php:179 #: ../../addon/randplace/randplace.php:179
#: ../../addon/statusnet/statusnet.php:163 #: ../../addon/statusnet/statusnet.php:163
#: ../../addon/statusnet/statusnet.php:189 #: ../../addon/statusnet/statusnet.php:189
#: ../../addon/statusnet/statusnet.php:207 ../../addon/twitter/twitter.php:156 #: ../../addon/statusnet/statusnet.php:207 ../../addon/twitter/twitter.php:156
#: ../../addon/twitter/twitter.php:175 ../../include/conversation.php:383 #: ../../addon/twitter/twitter.php:175 ../../include/conversation.php:384
#: ../../wip/photos.php:754 ../../wip/photos.php:793 ../../wip/photos.php:954 #: ../../wip/photos.php:754 ../../wip/photos.php:793 ../../wip/photos.php:954
#: ../../wip/addon/randplace/randplace.php:178 ../../wip/group.php:99 #: ../../wip/addon/randplace/randplace.php:178 ../../wip/group.php:99
#: ../../wip/group.php:176 ../../wip/photos-chris.php:801 #: ../../wip/group.php:176 ../../wip/photos-chris.php:801
@ -295,7 +295,7 @@ msgstr ""
msgid "Use as profile photo" msgid "Use as profile photo"
msgstr "" msgstr ""
#: ../../mod/photos.php:975 ../../include/conversation.php:316 #: ../../mod/photos.php:975 ../../include/conversation.php:317
msgid "Private Message" msgid "Private Message"
msgstr "" msgstr ""
@ -341,40 +341,40 @@ msgstr ""
msgid "Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #camping" msgid "Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #camping"
msgstr "" msgstr ""
#: ../../mod/photos.php:1097 ../../include/conversation.php:364 #: ../../mod/photos.php:1097 ../../include/conversation.php:365
msgid "I like this (toggle)" msgid "I like this (toggle)"
msgstr "" msgstr ""
#: ../../mod/photos.php:1098 ../../include/conversation.php:365 #: ../../mod/photos.php:1098 ../../include/conversation.php:366
msgid "I don't like this (toggle)" msgid "I don't like this (toggle)"
msgstr "" msgstr ""
#: ../../mod/photos.php:1099 ../../include/conversation.php:366 #: ../../mod/photos.php:1099 ../../include/conversation.php:367
#: ../../include/conversation.php:733 #: ../../include/conversation.php:734
msgid "Share" msgid "Share"
msgstr "" msgstr ""
#: ../../mod/photos.php:1100 ../../mod/editpost.php:95 #: ../../mod/photos.php:1100 ../../mod/editpost.php:95
#: ../../mod/message.php:190 ../../mod/message.php:324 #: ../../mod/message.php:190 ../../mod/message.php:324
#: ../../include/conversation.php:367 ../../include/conversation.php:742 #: ../../include/conversation.php:368 ../../include/conversation.php:743
msgid "Please wait" msgid "Please wait"
msgstr "" msgstr ""
#: ../../mod/photos.php:1119 ../../mod/photos.php:1161 #: ../../mod/photos.php:1119 ../../mod/photos.php:1161
#: ../../mod/photos.php:1190 ../../include/conversation.php:380 #: ../../mod/photos.php:1190 ../../include/conversation.php:381
#: ../../wip/photos.php:986 ../../wip/photos.php:1025 #: ../../wip/photos.php:986 ../../wip/photos.php:1025
#: ../../wip/photos.php:1053 ../../wip/photos-chris.php:1033 #: ../../wip/photos.php:1053 ../../wip/photos-chris.php:1033
#: ../../wip/photos-chris.php:1072 ../../wip/photos-chris.php:1100 #: ../../wip/photos-chris.php:1072 ../../wip/photos-chris.php:1100
msgid "This is you" msgid "This is you"
msgstr "" msgstr ""
#: ../../mod/photos.php:1121 ../../include/conversation.php:382 #: ../../mod/photos.php:1121 ../../include/conversation.php:383
#: ../../boot.php:373 #: ../../boot.php:373
msgid "Comment" msgid "Comment"
msgstr "" msgstr ""
#: ../../mod/photos.php:1218 ../../mod/group.php:146 #: ../../mod/photos.php:1218 ../../mod/group.php:146
#: ../../include/conversation.php:182 ../../include/conversation.php:393 #: ../../include/conversation.php:182 ../../include/conversation.php:394
#: ../../wip/group.php:162 #: ../../wip/group.php:162
msgid "Delete" msgid "Delete"
msgstr "" msgstr ""
@ -402,54 +402,54 @@ msgstr ""
msgid "Edit post" msgid "Edit post"
msgstr "" msgstr ""
#: ../../mod/editpost.php:74 ../../include/conversation.php:722 #: ../../mod/editpost.php:74 ../../include/conversation.php:723
msgid "Post to Email" msgid "Post to Email"
msgstr "" msgstr ""
#: ../../mod/editpost.php:87 ../../include/group.php:169 #: ../../mod/editpost.php:87 ../../include/group.php:169
#: ../../include/conversation.php:391 #: ../../include/conversation.php:392
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: ../../mod/editpost.php:88 ../../mod/message.php:188 #: ../../mod/editpost.php:88 ../../mod/message.php:188
#: ../../mod/message.php:322 ../../include/conversation.php:734 #: ../../mod/message.php:322 ../../include/conversation.php:735
msgid "Upload photo" msgid "Upload photo"
msgstr "" msgstr ""
#: ../../mod/editpost.php:89 ../../mod/message.php:189 #: ../../mod/editpost.php:89 ../../mod/message.php:189
#: ../../mod/message.php:323 ../../include/conversation.php:735 #: ../../mod/message.php:323 ../../include/conversation.php:736
msgid "Insert web link" msgid "Insert web link"
msgstr "" msgstr ""
#: ../../mod/editpost.php:90 ../../include/conversation.php:736 #: ../../mod/editpost.php:90 ../../include/conversation.php:737
msgid "Insert YouTube video" msgid "Insert YouTube video"
msgstr "" msgstr ""
#: ../../mod/editpost.php:91 ../../include/conversation.php:737 #: ../../mod/editpost.php:91 ../../include/conversation.php:738
msgid "Insert Vorbis [.ogg] video" msgid "Insert Vorbis [.ogg] video"
msgstr "" msgstr ""
#: ../../mod/editpost.php:92 ../../include/conversation.php:738 #: ../../mod/editpost.php:92 ../../include/conversation.php:739
msgid "Insert Vorbis [.ogg] audio" msgid "Insert Vorbis [.ogg] audio"
msgstr "" msgstr ""
#: ../../mod/editpost.php:93 ../../include/conversation.php:739 #: ../../mod/editpost.php:93 ../../include/conversation.php:740
msgid "Set your location" msgid "Set your location"
msgstr "" msgstr ""
#: ../../mod/editpost.php:94 ../../include/conversation.php:740 #: ../../mod/editpost.php:94 ../../include/conversation.php:741
msgid "Clear browser location" msgid "Clear browser location"
msgstr "" msgstr ""
#: ../../mod/editpost.php:96 ../../include/conversation.php:743 #: ../../mod/editpost.php:96 ../../include/conversation.php:744
msgid "Permission settings" msgid "Permission settings"
msgstr "" msgstr ""
#: ../../mod/editpost.php:102 ../../include/conversation.php:749 #: ../../mod/editpost.php:102 ../../include/conversation.php:750
msgid "CC: email addresses" msgid "CC: email addresses"
msgstr "" msgstr ""
#: ../../mod/editpost.php:104 ../../include/conversation.php:751 #: ../../mod/editpost.php:104 ../../include/conversation.php:752
msgid "Example: bob@example.com, mary@example.com" msgid "Example: bob@example.com, mary@example.com"
msgstr "" msgstr ""
@ -1111,7 +1111,7 @@ msgid "Currently ignored"
msgstr "" msgstr ""
#: ../../mod/contacts.php:322 ../../include/nav.php:110 #: ../../mod/contacts.php:322 ../../include/nav.php:110
#: ../../include/acl_selectors.php:143 ../../include/acl_selectors.php:158 #: ../../include/acl_selectors.php:141 ../../include/acl_selectors.php:156
msgid "Contacts" msgid "Contacts"
msgstr "" msgstr ""
@ -1135,7 +1135,7 @@ msgstr ""
msgid "Visit $username's profile" msgid "Visit $username's profile"
msgstr "" msgstr ""
#: ../../mod/contacts.php:388 ../../include/conversation.php:603 #: ../../mod/contacts.php:388 ../../include/conversation.php:604
msgid "Edit contact" msgid "Edit contact"
msgstr "" msgstr ""
@ -1610,7 +1610,7 @@ msgstr ""
msgid "All Contacts (with secure profile access)" msgid "All Contacts (with secure profile access)"
msgstr "" msgstr ""
#: ../../mod/viewcontacts.php:25 ../../boot.php:1997 #: ../../mod/viewcontacts.php:25 ../../boot.php:1999
msgid "View Contacts" msgid "View Contacts"
msgstr "" msgstr ""
@ -1746,11 +1746,13 @@ msgstr ""
msgid "Register" msgid "Register"
msgstr "" msgstr ""
#: ../../mod/like.php:110 ../../include/conversation.php:20 #: ../../mod/like.php:110 ../../addon/facebook/facebook.php:679
#: ../../include/conversation.php:20
msgid "status" msgid "status"
msgstr "" msgstr ""
#: ../../mod/like.php:127 ../../include/conversation.php:25 #: ../../mod/like.php:127 ../../addon/facebook/facebook.php:683
#: ../../include/conversation.php:25
#, php-format #, php-format
msgid "%1$s likes %2$s's %3$s" msgid "%1$s likes %2$s's %3$s"
msgstr "" msgstr ""
@ -1840,29 +1842,29 @@ msgstr ""
msgid "System error. Post not saved." msgid "System error. Post not saved."
msgstr "" msgstr ""
#: ../../mod/item.php:552 #: ../../mod/item.php:553
#, php-format #, php-format
msgid "" msgid ""
"This message was sent to you by %s, a member of the Friendika social network." "This message was sent to you by %s, a member of the Friendika social network."
msgstr "" msgstr ""
#: ../../mod/item.php:554 #: ../../mod/item.php:555
#, php-format #, php-format
msgid "You may visit them online at %s" msgid "You may visit them online at %s"
msgstr "" msgstr ""
#: ../../mod/item.php:555 #: ../../mod/item.php:556
msgid "" msgid ""
"Please contact the sender by replying to this post if you do not wish to " "Please contact the sender by replying to this post if you do not wish to "
"receive these messages." "receive these messages."
msgstr "" msgstr ""
#: ../../mod/item.php:557 #: ../../mod/item.php:558
#, php-format #, php-format
msgid "%s posted an update." msgid "%s posted an update."
msgstr "" msgstr ""
#: ../../mod/item.php:608 ../../mod/display.php:25 ../../mod/display.php:142 #: ../../mod/item.php:609 ../../mod/display.php:25 ../../mod/display.php:142
msgid "Item not found." msgid "Item not found."
msgstr "" msgstr ""
@ -1979,7 +1981,7 @@ msgstr ""
msgid "Conversation removed." msgid "Conversation removed."
msgstr "" msgstr ""
#: ../../mod/message.php:172 ../../include/conversation.php:689 #: ../../mod/message.php:172 ../../include/conversation.php:690
msgid "Please enter a link URL:" msgid "Please enter a link URL:"
msgstr "" msgstr ""
@ -2023,7 +2025,7 @@ msgstr ""
msgid "Send Reply" msgid "Send Reply"
msgstr "" msgstr ""
#: ../../mod/profile.php:11 ../../boot.php:2199 #: ../../mod/profile.php:11 ../../boot.php:2201
msgid "No profile" msgid "No profile"
msgstr "" msgstr ""
@ -2091,7 +2093,7 @@ msgstr ""
msgid "Applications" msgid "Applications"
msgstr "" msgstr ""
#: ../../mod/search.php:26 ../../include/nav.php:71 ../../boot.php:2043 #: ../../mod/search.php:26 ../../include/nav.php:71 ../../boot.php:2045
msgid "Search" msgid "Search"
msgstr "" msgstr ""
@ -2444,46 +2446,56 @@ msgstr ""
msgid "Connection accepted at %s" msgid "Connection accepted at %s"
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:116 #: ../../addon/facebook/facebook.php:227
msgid "Facebook disabled" msgid "Facebook disabled"
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:124 #: ../../addon/facebook/facebook.php:235
msgid "Facebook API key is missing." msgid "Facebook API key is missing."
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:131 #: ../../addon/facebook/facebook.php:242
msgid "Facebook Connect" msgid "Facebook Connect"
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:137 #: ../../addon/facebook/facebook.php:248
msgid "Install Facebook post connector" msgid "Install Facebook connector for this account."
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:144 #: ../../addon/facebook/facebook.php:255
msgid "Remove Facebook post connector" msgid "Remove Facebook connector"
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:150 #: ../../addon/facebook/facebook.php:261
msgid "Post to Facebook by default" msgid "Post to Facebook by default"
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:174 #: ../../addon/facebook/facebook.php:319
msgid "Facebook" msgid "Facebook"
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:175 #: ../../addon/facebook/facebook.php:320
msgid "Facebook Connector Settings" msgid "Facebook Connector Settings"
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:189 #: ../../addon/facebook/facebook.php:334
msgid "Post to Facebook" msgid "Post to Facebook"
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:230 #: ../../addon/facebook/facebook.php:396
msgid ""
"Post to Facebook cancelled because of multi-network access permission "
"conflict."
msgstr ""
#: ../../addon/facebook/facebook.php:441
msgid "Image: " msgid "Image: "
msgstr "" msgstr ""
#: ../../addon/facebook/facebook.php:489
msgid "View on Friendika"
msgstr ""
#: ../../addon/tictac/tictac.php:14 #: ../../addon/tictac/tictac.php:14
msgid "Three Dimensional Tic-Tac-Toe" msgid "Three Dimensional Tic-Tac-Toe"
msgstr "" msgstr ""
@ -2695,7 +2707,7 @@ msgstr ""
msgid "Send public postings to Twitter" msgid "Send public postings to Twitter"
msgstr "" msgstr ""
#: ../../include/profile_advanced.php:23 ../../boot.php:2285 #: ../../include/profile_advanced.php:23 ../../boot.php:2287
msgid "Gender:" msgid "Gender:"
msgstr "" msgstr ""
@ -2719,7 +2731,7 @@ msgstr ""
msgid "<span class=\"heart\">&hearts;</span> Status:" msgid "<span class=\"heart\">&hearts;</span> Status:"
msgstr "" msgstr ""
#: ../../include/profile_advanced.php:103 ../../boot.php:2291 #: ../../include/profile_advanced.php:103 ../../boot.php:2293
msgid "Homepage:" msgid "Homepage:"
msgstr "" msgstr ""
@ -3148,19 +3160,19 @@ msgstr ""
msgid "Cannot locate DNS info for database server '%s'" msgid "Cannot locate DNS info for database server '%s'"
msgstr "" msgstr ""
#: ../../include/acl_selectors.php:135 #: ../../include/acl_selectors.php:133
msgid "Visible To:" msgid "Visible To:"
msgstr "" msgstr ""
#: ../../include/acl_selectors.php:139 ../../include/acl_selectors.php:154 #: ../../include/acl_selectors.php:137 ../../include/acl_selectors.php:152
msgid "Groups" msgid "Groups"
msgstr "" msgstr ""
#: ../../include/acl_selectors.php:150 #: ../../include/acl_selectors.php:148
msgid "Except For:" msgid "Except For:"
msgstr "" msgstr ""
#: ../../include/notifier.php:412 #: ../../include/notifier.php:414
msgid "(no subject)" msgid "(no subject)"
msgstr "" msgstr ""
@ -3168,8 +3180,8 @@ msgstr ""
msgid "You have a new follower at " msgid "You have a new follower at "
msgstr "" msgstr ""
#: ../../include/conversation.php:192 ../../include/conversation.php:458 #: ../../include/conversation.php:192 ../../include/conversation.php:459
#: ../../include/conversation.php:459 #: ../../include/conversation.php:460
#, php-format #, php-format
msgid "View %s's profile" msgid "View %s's profile"
msgstr "" msgstr ""
@ -3182,103 +3194,103 @@ msgstr ""
msgid "See more posts like this" msgid "See more posts like this"
msgstr "" msgstr ""
#: ../../include/conversation.php:303 #: ../../include/conversation.php:304
#, php-format #, php-format
msgid "See all %d comments" msgid "See all %d comments"
msgstr "" msgstr ""
#: ../../include/conversation.php:460 #: ../../include/conversation.php:461
msgid "to" msgid "to"
msgstr "" msgstr ""
#: ../../include/conversation.php:461 #: ../../include/conversation.php:462
msgid "Wall-to-Wall" msgid "Wall-to-Wall"
msgstr "" msgstr ""
#: ../../include/conversation.php:462 #: ../../include/conversation.php:463
msgid "via Wall-To-Wall:" msgid "via Wall-To-Wall:"
msgstr "" msgstr ""
#: ../../include/conversation.php:599 #: ../../include/conversation.php:600
msgid "View status" msgid "View status"
msgstr "" msgstr ""
#: ../../include/conversation.php:600 #: ../../include/conversation.php:601
msgid "View profile" msgid "View profile"
msgstr "" msgstr ""
#: ../../include/conversation.php:601 #: ../../include/conversation.php:602
msgid "View photos" msgid "View photos"
msgstr "" msgstr ""
#: ../../include/conversation.php:602 #: ../../include/conversation.php:603
msgid "View recent" msgid "View recent"
msgstr "" msgstr ""
#: ../../include/conversation.php:604 #: ../../include/conversation.php:605
msgid "Send PM" msgid "Send PM"
msgstr "" msgstr ""
#: ../../include/conversation.php:654 #: ../../include/conversation.php:655
#, php-format #, php-format
msgid "%s likes this." msgid "%s likes this."
msgstr "" msgstr ""
#: ../../include/conversation.php:654 #: ../../include/conversation.php:655
#, php-format #, php-format
msgid "%s doesn't like this." msgid "%s doesn't like this."
msgstr "" msgstr ""
#: ../../include/conversation.php:658 #: ../../include/conversation.php:659
#, php-format #, php-format
msgid "<span %1$s>%2$d people</span> like this." msgid "<span %1$s>%2$d people</span> like this."
msgstr "" msgstr ""
#: ../../include/conversation.php:660 #: ../../include/conversation.php:661
#, php-format #, php-format
msgid "<span %1$s>%2$d people</span> don't like this." msgid "<span %1$s>%2$d people</span> don't like this."
msgstr "" msgstr ""
#: ../../include/conversation.php:666 #: ../../include/conversation.php:667
msgid "and" msgid "and"
msgstr "" msgstr ""
#: ../../include/conversation.php:669 #: ../../include/conversation.php:670
#, php-format #, php-format
msgid ", and %d other people" msgid ", and %d other people"
msgstr "" msgstr ""
#: ../../include/conversation.php:670 #: ../../include/conversation.php:671
#, php-format #, php-format
msgid "%s like this." msgid "%s like this."
msgstr "" msgstr ""
#: ../../include/conversation.php:670 #: ../../include/conversation.php:671
#, php-format #, php-format
msgid "%s don't like this." msgid "%s don't like this."
msgstr "" msgstr ""
#: ../../include/conversation.php:690 #: ../../include/conversation.php:691
msgid "Please enter a YouTube link:" msgid "Please enter a YouTube link:"
msgstr "" msgstr ""
#: ../../include/conversation.php:691 #: ../../include/conversation.php:692
msgid "Please enter a video(.ogg) link/URL:" msgid "Please enter a video(.ogg) link/URL:"
msgstr "" msgstr ""
#: ../../include/conversation.php:692 #: ../../include/conversation.php:693
msgid "Please enter an audio(.ogg) link/URL:" msgid "Please enter an audio(.ogg) link/URL:"
msgstr "" msgstr ""
#: ../../include/conversation.php:693 #: ../../include/conversation.php:694
msgid "Where are you right now?" msgid "Where are you right now?"
msgstr "" msgstr ""
#: ../../include/conversation.php:694 #: ../../include/conversation.php:695
msgid "Enter a title for this item" msgid "Enter a title for this item"
msgstr "" msgstr ""
#: ../../include/conversation.php:741 #: ../../include/conversation.php:742
msgid "Set title" msgid "Set title"
msgstr "" msgstr ""
@ -3326,130 +3338,130 @@ msgstr ""
msgid "next" msgid "next"
msgstr "" msgstr ""
#: ../../boot.php:1984 #: ../../boot.php:1986
msgid "No contacts" msgid "No contacts"
msgstr "" msgstr ""
#: ../../boot.php:1992 #: ../../boot.php:1994
#, php-format #, php-format
msgid "%d Contact" msgid "%d Contact"
msgid_plural "%d Contacts" msgid_plural "%d Contacts"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: ../../boot.php:2258 #: ../../boot.php:2260
msgid "Connect" msgid "Connect"
msgstr "" msgstr ""
#: ../../boot.php:2273 #: ../../boot.php:2275
msgid "Location:" msgid "Location:"
msgstr "" msgstr ""
#: ../../boot.php:2277 #: ../../boot.php:2279
msgid ", " msgid ", "
msgstr "" msgstr ""
#: ../../boot.php:2289 #: ../../boot.php:2291
msgid "Status:" msgid "Status:"
msgstr "" msgstr ""
#: ../../boot.php:2382 #: ../../boot.php:2384
msgid "Monday" msgid "Monday"
msgstr "" msgstr ""
#: ../../boot.php:2382 #: ../../boot.php:2384
msgid "Tuesday" msgid "Tuesday"
msgstr "" msgstr ""
#: ../../boot.php:2382 #: ../../boot.php:2384
msgid "Wednesday" msgid "Wednesday"
msgstr "" msgstr ""
#: ../../boot.php:2382 #: ../../boot.php:2384
msgid "Thursday" msgid "Thursday"
msgstr "" msgstr ""
#: ../../boot.php:2382 #: ../../boot.php:2384
msgid "Friday" msgid "Friday"
msgstr "" msgstr ""
#: ../../boot.php:2382 #: ../../boot.php:2384
msgid "Saturday" msgid "Saturday"
msgstr "" msgstr ""
#: ../../boot.php:2382 #: ../../boot.php:2384
msgid "Sunday" msgid "Sunday"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "January" msgid "January"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "February" msgid "February"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "March" msgid "March"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "April" msgid "April"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "May" msgid "May"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "June" msgid "June"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "July" msgid "July"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "August" msgid "August"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "September" msgid "September"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "October" msgid "October"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "November" msgid "November"
msgstr "" msgstr ""
#: ../../boot.php:2386 #: ../../boot.php:2388
msgid "December" msgid "December"
msgstr "" msgstr ""
#: ../../boot.php:2401 #: ../../boot.php:2403
msgid "g A l F d" msgid "g A l F d"
msgstr "" msgstr ""
#: ../../boot.php:2418 #: ../../boot.php:2420
msgid "Birthday Reminders" msgid "Birthday Reminders"
msgstr "" msgstr ""
#: ../../boot.php:2419 #: ../../boot.php:2421
msgid "Birthdays this week:" msgid "Birthdays this week:"
msgstr "" msgstr ""
#: ../../boot.php:2420 #: ../../boot.php:2422
msgid "(Adjusted for local time)" msgid "(Adjusted for local time)"
msgstr "" msgstr ""
#: ../../boot.php:2431 #: ../../boot.php:2433
msgid "[today]" msgid "[today]"
msgstr "" msgstr ""
#: ../../boot.php:2632 #: ../../boot.php:2634
msgid "link to source" msgid "link to source"
msgstr "" msgstr ""

View file

@ -737,13 +737,15 @@ $a->strings['Ask me'] = 'Ask me';
$a->strings['Facebook disabled'] = 'Facebook disabled'; $a->strings['Facebook disabled'] = 'Facebook disabled';
$a->strings['Facebook API key is missing.'] = 'Facebook API key is missing.'; $a->strings['Facebook API key is missing.'] = 'Facebook API key is missing.';
$a->strings['Facebook Connect'] = 'Facebook Connect'; $a->strings['Facebook Connect'] = 'Facebook Connect';
$a->strings['Install Facebook post connector'] = 'Install Facebook post connector'; $a->strings['Install Facebook connector for this account.'] = 'Install Facebook connector for this account.';
$a->strings['Remove Facebook post connector'] = 'Remove Facebook post connector'; $a->strings['Remove Facebook connector'] = 'Remove Facebook connector';
$a->strings['Post to Facebook by default'] = 'Post to Facebook by default'; $a->strings['Post to Facebook by default'] = 'Post to Facebook by default';
$a->strings['Facebook'] = 'Facebook'; $a->strings['Facebook'] = 'Facebook';
$a->strings['Facebook Connector Settings'] = 'Facebook Connector Settings'; $a->strings['Facebook Connector Settings'] = 'Facebook Connector Settings';
$a->strings['Post to Facebook'] = 'Post to Facebook'; $a->strings['Post to Facebook'] = 'Post to Facebook';
$a->strings['Post to Facebook cancelled because of multi-network access permission conflict.'] = 'Post to Facebook cancelled because of multi-network access permission conflict.';
$a->strings['Image: '] = 'Image: '; $a->strings['Image: '] = 'Image: ';
$a->strings['View on Friendika'] = 'View on Friendika';
$a->strings['Select files to upload: '] = 'Select files to upload: '; $a->strings['Select files to upload: '] = 'Select files to upload: ';
$a->strings['Use the following controls only if the Java uploader [above] fails to launch.'] = 'Use the following controls only if the Java uploader [above] fails to launch.'; $a->strings['Use the following controls only if the Java uploader [above] fails to launch.'] = 'Use the following controls only if the Java uploader [above] fails to launch.';
$a->strings['Upload a file'] = 'Upload a file'; $a->strings['Upload a file'] = 'Upload a file';