mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 23:58:03 +00:00
Remove unnecessary translations of decimal point character and number of decimal places. Fixes #10555 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@14184 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -178,14 +178,6 @@ class WP_Locale {
|
||||
// Numbers formatting
|
||||
// See http://php.net/number_format
|
||||
|
||||
/* translators: $decimals argument for http://php.net/number_format, default is 0 */
|
||||
$trans = __('number_format_decimals');
|
||||
$this->number_format['decimals'] = ('number_format_decimals' == $trans) ? 0 : $trans;
|
||||
|
||||
/* translators: $dec_point argument for http://php.net/number_format, default is . */
|
||||
$trans = __('number_format_decimal_point');
|
||||
$this->number_format['decimal_point'] = ('number_format_decimal_point' == $trans) ? '.' : $trans;
|
||||
|
||||
/* translators: $thousands_sep argument for http://php.net/number_format, default is , */
|
||||
$trans = __('number_format_thousands_sep');
|
||||
$this->number_format['thousands_sep'] = ('number_format_thousands_sep' == $trans) ? ',' : $trans;
|
||||
|
||||
Reference in New Issue
Block a user