[livejournal] r18437: LJSUP-7915 (Native sharing server side)
Committer: ailyin
LJSUP-7915 (Native sharing server side)U trunk/bin/upgrading/en.dat U trunk/cgi-bin/LJ/Share.pm
Modified: trunk/bin/upgrading/en.dat
===================================================================
--- trunk/bin/upgrading/en.dat 2011-03-02 10:50:49 UTC (rev 18436)
+++ trunk/bin/upgrading/en.dat 2011-03-02 10:54:00 UTC (rev 18437)
@@ -4510,6 +4510,10 @@
settings.zipcode=ZIP Code
+sharing.popup.title=Share
+
+sharing.popup.close=Close
+
sms.journalnewcomment.edit_reply_your_comment=[[user]] edited a reply to your comment
sms.journalnewcomment.edit_reply_a_comment=[[user]] edited a reply to a comment
Modified: trunk/cgi-bin/LJ/Share.pm
===================================================================
--- trunk/cgi-bin/LJ/Share.pm 2011-03-02 10:50:49 UTC (rev 18436)
+++ trunk/cgi-bin/LJ/Share.pm 2011-03-02 10:54:00 UTC (rev 18437)
@@ -13,7 +13,7 @@
my $services = {
'livejournal' => {
'title' => 'LiveJournal',
- 'bindLink' => 'http://www.livejournal.com/update.bml?repost={url}'
+ 'bindLink' => $LJ::SITEROOT . '/update.bml?repost={url}'
},
'facebook' => {
'title' => 'Facebook',
@@ -56,6 +56,10 @@
my $params = {
'services' => $services,
'links' => [ sort keys %$services ],
+ 'ml' => {
+ 'title' => LJ::Lang::ml('sharing.popup.title'),
+ 'close' => LJ::Lang::ml('sharing.popup.close'),
+ },
};
LJ::run_hooks( 'alter_sharing_params', $params );
