Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r21479: LJSUP-11582: Comment from pingback_bot c...

Committer: amyshkin
LJSUP-11582: Comment from pingback_bot cames in English
U   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

Tags: amyshkin, livejournal, pm, zilogic
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments