Changeset 55351
- Timestamp:
- 02/15/2023 11:35:33 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-locale.php
r55295 r55351 236 236 $this->number_format['decimal_point'] = ( 'number_format_decimal_point' === $decimal_point ) ? '.' : $decimal_point; 237 237 238 /* translators: used between list items, there is a space after the comma*/238 /* translators: Used between list items, there is a space after the comma. */ 239 239 $this->list_item_separator = __( ', ' ); 240 240 -
trunk/src/wp-includes/l10n.php
r55295 r55351 1808 1808 global $wp_locale; 1809 1809 1810 if ( ! ( $wp_locale instanceof WP_Locale ) ) { 1811 // Default value of WP_Locale::get_list_item_separator(). 1812 /* translators: Used between list items, there is a space after the comma. */ 1813 return __( ', ' ); 1814 } 1815 1810 1816 return $wp_locale->get_list_item_separator(); 1811 1817 } … … 1824 1830 global $wp_locale; 1825 1831 1832 if ( ! ( $wp_locale instanceof WP_Locale ) ) { 1833 // Default value of WP_Locale::get_word_count_type(). 1834 return 'words'; 1835 } 1836 1826 1837 return $wp_locale->get_word_count_type(); 1827 1838 }
Note: See TracChangeset
for help on using the changeset viewer.