wordpress/tests/phpunit/data/l10n/example-simple.po
Pascal Birchler 71b8dcb08c I18N: Improve singular lookup of pluralized strings.
Ensures that looking up a singular that is also used as a pluralized string works as expected.
This 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.

Although such usage is not really recommended nor documented, it must continue to work in the new i18n library in order to maintain backward compatibility and maintain expected behavior.

See #59656.

git-svn-id: https://develop.svn.wordpress.org/trunk@57386 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 13:59:46 +00:00

27 lines
520 B
Plaintext

msgid ""
msgstr ""
"PO-Revision-Date: 2016-01-05 18:45:32+1000\n"
msgid "original"
msgstr "translation"
msgctxt "context"
msgid "original with context"
msgstr "translation with context"
msgid "plural0"
msgid_plural "plural1"
msgstr[0] "translation0"
msgstr[1] "translation1"
msgctxt "context"
msgid "plural0 with context"
msgid_plural "plural1 with context"
msgstr[0] "translation0 with context"
msgstr[1] "translation1 with context"
msgid "Product"
msgid_plural "Products"
msgstr[0] "Produkt"
msgstr[1] "Produkte"