3af51954e0
Ensures that string lookup in MO files only uses the singular string. This matches expected behavior with gettext files and improves compatibility for cases where for example both `__( 'Product' )` and `_n( 'Product', 'Products’, num )` are used in a project, where both will use the same translation for the singular version. Maintains backward compatibility and feature parity with the pomo library and the PHP translation file format. Replaces [57386], which was reverted in [57505], with a more accurate and performant solution. See #59656. Built from https://develop.svn.wordpress.org/trunk@57513 git-svn-id: http://core.svn.wordpress.org/trunk@57014 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
class-wp-translation-controller.php | ||
class-wp-translation-file-mo.php | ||
class-wp-translation-file-php.php | ||
class-wp-translation-file.php | ||
class-wp-translations.php |