sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[livejournal] r21730: LJSUP-11804: Error in LJ/Lang.pm line 88...

Committer: vtroitsky
LJSUP-11804: Error in LJ/Lang.pm line 880 fixed
U   trunk/cgi-bin/LJ/Lang.pm
Modified: trunk/cgi-bin/LJ/Lang.pm
===================================================================
--- trunk/cgi-bin/LJ/Lang.pm	2012-04-17 09:42:35 UTC (rev 21729)
+++ trunk/cgi-bin/LJ/Lang.pm	2012-04-17 10:04:28 UTC (rev 21730)
@@ -875,6 +875,9 @@
 
     $count ||= 0;
 
+    ## remove the gaps from numbers: 25 500 -> 25500
+    $count =~ s/\s+//g;
+
     my $lang_short = substr( $lang, 0, 2 );
     my $handler = $PLURAL_FORMS_HANDLERS{$lang_short} || \&plural_form_en;
 

Tags: livejournal, pm, sunnyman, vtroitsky
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