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

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

Committer: amyshkin
LJSUP-11455: bad view variable mediaplaceholder.loading in russian
U   trunk/cgi-bin/cleanhtml.pl
U   trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2012-03-13 05:35:21 UTC (rev 21385)
+++ trunk/cgi-bin/cleanhtml.pl	2012-03-13 07:19:48 UTC (rev 21386)
@@ -1354,6 +1354,7 @@
                                 height             => $height,
                                 img                => "$LJ::IMGPREFIX/videoplaceholder.png",
                                 remove_video_sizes => $opts->{remove_video_sizes},
+                                no_encode          => 1,
                             );
                         }
                         else {

Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl	2012-03-13 05:35:21 UTC (rev 21385)
+++ trunk/cgi-bin/weblib.pl	2012-03-13 07:19:48 UTC (rev 21386)
@@ -2046,8 +2046,8 @@
                 <span class="b-mediaplaceholder-outer">
                     <span class="b-mediaplaceholder-inner">
                         <i class="b-mediaplaceholder-pic"></i>
-                        <span class="b-mediaplaceholder-label b-mediaplaceholder-view">} . Encode::encode_utf8(Encode::decode_utf8(LJ::Lang::ml("mediaplaceholder.viewvideo"))) . qq{</span>
-                        <span class="b-mediaplaceholder-label b-mediaplaceholder-loading">} . Encode::encode_utf8(Encode::decode_utf8(LJ::Lang::ml("mediaplaceholder.loading"))) . qq{</span>
+                        <span class="b-mediaplaceholder-label b-mediaplaceholder-view">} . ($opts{no_encode} ? Encode::decode_utf8(LJ::Lang::ml("mediaplaceholder.viewvideo")) : Encode::encode_utf8(Encode::decode_utf8(LJ::Lang::ml("mediaplaceholder.viewvideo")))) . qq{</span>
+                        <span class="b-mediaplaceholder-label b-mediaplaceholder-loading">} . ($opts{no_encode} ? Encode::decode_utf8(LJ::Lang::ml("mediaplaceholder.loading")) : Encode::encode_utf8(Encode::decode_utf8(LJ::Lang::ml("mediaplaceholder.loading")))) . qq{</span>
                     </span>
                 </span>
             </a>

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