formatNum in Russian translation

This commit is contained in:
Alexander Sigachov 2006-01-05 23:51:02 +00:00
parent 845144de0e
commit fe1d73b1af

View file

@ -2030,8 +2030,11 @@ class LanguageRu extends LanguageUtf8 {
}
}
/**
* Russian numeric format is 123 456,78
*/
function formatNum( $number, $year = false ) {
return $year ? $number : strtr($number, '.,', ', ' );
return $year ? $number : strtr($this->commafy($number), '.,', ', ' );
}
}