Henry Lyne (henrylyne) wrote in changelog,
Henry Lyne
henrylyne
changelog

[livejournal] r14797: LJSV-514: Fix text file syntax and plura...

Committer: henrylyne
LJSV-514: Fix text file syntax and plural number handling

U   trunk/htdocs/userinfo.bml
U   trunk/htdocs/userinfo.bml.text
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2009-01-22 17:40:48 UTC (rev 14796)
+++ trunk/htdocs/userinfo.bml	2009-01-22 19:22:31 UTC (rev 14797)
@@ -593,7 +593,7 @@
         if LJ::is_enabled("show-talkleft") && ($u->is_personal || $u->is_identity);
 
     my $supportpoints = $u->support_points_count;
-    push @comment_stats, BML::ml('.details.supportpoints2', { aopts => "href='$LJ::SITEROOT/support/'", num => LJ::commafy($supportpoints) })
+    push @comment_stats, BML::ml('.details.supportpoints2', { aopts => "href='$LJ::SITEROOT/support/'", num => LJ::commafy($supportpoints), num_raw => $supportpoints })
         if $supportpoints;
 
     my $comment_stats_string = join(", ", @comment_stats);

Modified: trunk/htdocs/userinfo.bml.text
===================================================================
--- trunk/htdocs/userinfo.bml.text	2009-01-22 17:40:48 UTC (rev 14796)
+++ trunk/htdocs/userinfo.bml.text	2009-01-22 19:22:31 UTC (rev 14797)
@@ -108,7 +108,7 @@
 
 .details.supportpoints=<a [[aopts]]>Support Points</a>: [[num]]
 
-.details.supportpoints2=[[num]] <a [[aopts]]>Support Points</a>
+.details.supportpoints2=[[num]] <a [[aopts]]>Support [[?num_raw|Point|Points]]</a>
 
 .details.tags=[[num]] <a [[aopts]]>[[?num|Tag|Tags]]</a>
 

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