WordPress/wp-includes/l10n
Pascal Birchler 953e148764 I18N: Fix plural forms parsing in WP_Translation_File.
Ensures the plural expression from the translation file header is correctly parsed.
Prevents silent failures in the attempt to create the plural form function.

Adds additional tests.

Props Chouby.
See #59656.
Built from https://develop.svn.wordpress.org/trunk@57518


git-svn-id: http://core.svn.wordpress.org/trunk@57019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-01 20:59:14 +00:00
..
class-wp-translation-controller.php I18N: Rename WP_Translation_Controller::instance() method to get_instance(). 2024-01-25 07:53:17 +00:00
class-wp-translation-file-mo.php I18N: Improve singular lookup of pluralized strings. 2024-02-01 11:45:16 +00:00
class-wp-translation-file-php.php I18N: Improve singular lookup of pluralized strings. 2024-02-01 11:45:16 +00:00
class-wp-translation-file.php I18N: Fix plural forms parsing in WP_Translation_File. 2024-02-01 20:59:14 +00:00
class-wp-translations.php I18N: Improve singular lookup of pluralized strings. 2024-02-01 11:45:16 +00:00