Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r18576: LJSUP-8126: number of spam comments

Committer: mchervonniy
LJSUP-8126: number of spam comments
U   trunk/bin/upgrading/s2layers/variableflow/layout.s2
Modified: trunk/bin/upgrading/s2layers/variableflow/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/variableflow/layout.s2	2011-03-16 06:35:55 UTC (rev 18575)
+++ trunk/bin/upgrading/s2layers/variableflow/layout.s2	2011-03-16 07:01:13 UTC (rev 18576)
@@ -723,9 +723,9 @@
             println "</li>";
             if ($p.view == "entry") {
                 if ($p.showspam) {
-                    """<li class="comments-hidespam"><a href=\"$.read_spam_url\">$*text_hidespam ($.spam_counter)</a></li>""";
+                    """<li class="comments-hidespam">""" + get_plural_phrase($.spam_counter, "text_read_spam_comments") + """</li>""";
                 } else {
-                    """<li class="comments-showspam"><a href=\"$.read_spam_url\">$*text_showspam ($.spam_counter)</a></li>""";
+                    """<li class="comments-showspam"><a href=\"$.read_spam_url\">""" + get_plural_phrase($.spam_counter, "text_read_all_spam_comments") + """</a></li>""";
                 }
             }
         }

Tags: fiskus_boulder, livejournal, s2
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