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

[livejournal] r21354: LJSUP-11455: bad view variable mediaplac...

Committer: amyshkin
LJSUP-11455: bad view variable mediaplaceholder.loading in russian
U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2012-03-12 09:19:52 UTC (rev 21353)
+++ trunk/cgi-bin/cleanhtml.pl	2012-03-12 09:20:14 UTC (rev 21354)
@@ -127,7 +127,6 @@
     $$data = Encode::decode_utf8($$data);
 
     my $p = HTML::TokeParser->new($data);
-
     my $wordlength = $opts->{'wordlength'};
     my $addbreaks = $opts->{'addbreaks'};
     my $keepcomments = $opts->{'keepcomments'};
@@ -1189,7 +1188,7 @@
                             '</span>' .
                             '</a>';
                         $newdata .= $href_b_link ?
-                            '<a href="' . $href_b_link .'" class="b-mediaplaceholder-external" title="' . LJ::Lang::ml("mediaplaceholder.link") . '">' .
+                            '<a href="' . $href_b_link .'" class="b-mediaplaceholder-external" title="' . Encode::decode_utf8(LJ::Lang::ml("mediaplaceholder.link")) . '">' .
                             '<i class="b-mediaplaceholder-bg"></i>' .
                             '<i class="b-mediaplaceholder-pic"></i>' .
                             '<span class="b-mediaplaceholder-inner">' . Encode::decode_utf8(LJ::Lang::ml("mediaplaceholder.link")) . '</span>' .

Tags: amyshkin, livejournal, pl, 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