wordpress-develop/tests/phpunit/data/languages
Pascal Birchler dfd9b1afd2 I18N: Prevent incorrect language dropdown entries when there are .l10n.php files.
In [57516], the just-in-time translation loading logic was enhanced to support cases where only `.l10n.php` translation exist but no `.mo` or `.po` files. This caused a slight regression in `get_available_languages()`, which uses the list of files to populate the language dropdown list on the settings page.

To address this, the new file extension is now properly stripped off, and the resulting file list is de-duplicated. New test files are added to allow the existing tests to cover this new scenario.

See #59656.
Fixes #60553.

git-svn-id: https://develop.svn.wordpress.org/trunk@57639 602fd350-edb4-49c9-b593-d223f7449a82
2024-02-16 10:26:14 +00:00
..
plugins I18N: Support loading .l10n.php translation files on their own. 2024-02-01 19:03:55 +00:00
themes Tests: Increase coverage for translations applied to theme.json 2022-08-31 10:11:30 +00:00
admin-en_GB.l10n.php I18N: Prevent incorrect language dropdown entries when there are .l10n.php files. 2024-02-16 10:26:14 +00:00
admin-en_GB.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-en_GB.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-en_US-script-handle.json I18N: Add JavaScript translation support. 2018-12-14 05:51:31 +00:00
admin-es_ES.l10n.php I18N: Prevent incorrect language dropdown entries when there are .l10n.php files. 2024-02-16 10:26:14 +00:00
admin-es_ES.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-es_ES.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-network-en_GB.l10n.php I18N: Prevent incorrect language dropdown entries when there are .l10n.php files. 2024-02-16 10:26:14 +00:00
admin-network-en_GB.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-network-en_GB.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-network-es_ES.l10n.php I18N: Prevent incorrect language dropdown entries when there are .l10n.php files. 2024-02-16 10:26:14 +00:00
admin-network-es_ES.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-network-es_ES.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
continents-cities-es_ES.l10n.php I18N: Prevent incorrect language dropdown entries when there are .l10n.php files. 2024-02-16 10:26:14 +00:00
continents-cities-es_ES.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
continents-cities-es_ES.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
de_DE.l10n.php I18N: Prevent incorrect language dropdown entries when there are .l10n.php files. 2024-02-16 10:26:14 +00:00
de_DE.mo Privacy: Ensure the personal data export email is sent in the locale of the user whose data is being exported (or the site's default locale if they are not a registered user) when the administrator fulfilling the request uses a different locale. 2019-03-28 21:28:37 +00:00
de_DE.po Privacy: Ensure the personal data export email is sent in the locale of the user whose data is being exported (or the site's default locale if they are not a registered user) when the administrator fulfilling the request uses a different locale. 2019-03-28 21:28:37 +00:00
en_GB.l10n.php I18N: Prevent incorrect language dropdown entries when there are .l10n.php files. 2024-02-16 10:26:14 +00:00
en_GB.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
en_GB.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
en_US-813e104eb47e13dd4cc5af844c618754.json I18N: Add JavaScript translation support. 2018-12-14 05:51:31 +00:00
es_ES.l10n.php I18N: Prevent incorrect language dropdown entries when there are .l10n.php files. 2024-02-16 10:26:14 +00:00
es_ES.mo Tests: Update the es_ES string used in wp_send_user_request() tests to match the current translation. 2020-07-23 18:21:13 +00:00
es_ES.po Tests: Update the es_ES string used in wp_send_user_request() tests to match the current translation. 2020-07-23 18:21:13 +00:00
ja_JP.l10n.php I18N: Prevent incorrect language dropdown entries when there are .l10n.php files. 2024-02-16 10:26:14 +00:00
ja_JP.mo I18N: Allow the length of automatically generated excerpts to be localized. 2019-06-08 18:41:08 +00:00
ja_JP.po I18N: Allow the length of automatically generated excerpts to be localized. 2019-06-08 18:41:08 +00:00