Changeset 35522
- Timestamp:
- 11/04/2015 09:38:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/locale.php
r35517 r35522 191 191 192 192 /* translators: $thousands_sep argument for http://php.net/number_format, default is , */ 193 $thousands_sep = __( 'number_format_thousands_sep' ); 194 // Replace space with a non-breaking space to avoid wrapping. Also replace entities with actual character. 195 $thousands_sep = str_replace( array( ' ', ' ', ' ' ), "\xA0", $thousands_sep ); 196 197 $this->number_format['thousands_sep'] = ( 'number_format_thousands_sep' === $thousands_sep ) ? ',' : $thousands_sep; 193 $trans = __('number_format_thousands_sep'); 194 $this->number_format['thousands_sep'] = ('number_format_thousands_sep' == $trans) ? ',' : $trans; 198 195 199 196 /* translators: $dec_point argument for http://php.net/number_format, default is . */ 200 $decimal_point = __( 'number_format_decimal_point' ); 201 202 $this->number_format['decimal_point'] = ( 'number_format_decimal_point' === $decimal_point ) ? '.' : $decimal_point; 197 $trans = __('number_format_decimal_point'); 198 $this->number_format['decimal_point'] = ('number_format_decimal_point' == $trans) ? '.' : $trans; 203 199 204 200 // Set text direction.
Note: See TracChangeset
for help on using the changeset viewer.