User "Jack Phoenix" posted a comment on MediaWiki.r92617.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/92617#c19857
Commit summary:

SocialProfile: run the amount of points through Language::formatNum() to fix an 
i18n bug with the Finnish (fi) translation -- it was treating "1,000" (one 
thousand) as 1

Comment:

Don't worry, neither do I. :)

I'll try to explain this a bit. The Finnish (fi) translation for 
<nowiki>[[MediaWiki:User-profile-points]]</nowiki> is currently 
<code><nowiki>$1 {{PLURAL:$1|piste|pistettä}}</nowiki></code>; before this 
change, if a user had one thousand points (the default), you'd see "1,000 
piste" on their profile page instead of "1,000 pistettä". After this change, 
you'll see "1 000 pistettä" (even the thousands separator is correct, whee!).

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to