Committer: amyshkin
LJSUP-11582: Comment from pingback_bot cames in EnglishU trunk/cgi-bin/LJ/PingBack.pm
Modified: trunk/cgi-bin/LJ/PingBack.pm =================================================================== --- trunk/cgi-bin/LJ/PingBack.pm 2012-03-21 07:28:22 UTC (rev 21478) +++ trunk/cgi-bin/LJ/PingBack.pm 2012-03-21 07:47:58 UTC (rev 21479) @@ -55,14 +55,21 @@ poster => $poster_u, body => ($source_entry - ? LJ::Lang::ml("pingback.ljping.comment.text", { + ? LJ::Lang::get_text( + $target_entry->journal->{'browselang'}, + "pingback.ljping.comment.text", + undef, + { context => $context, subject => $subject, sourceURI => $sourceURI, poster => $source_entry->poster->username, }) - : LJ::Lang::ml("pingback.public.comment.text", - { + : LJ::Lang::ml( + $target_entry->journal->{'browselang'}, + "pingback.public.comment.text", + undef, + { sourceURI => $sourceURI, title => $subject, context => $context