diff options
| author | Tim Graham <timograham@gmail.com> | 2017-09-07 10:09:07 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-09-08 13:46:00 -0400 |
| commit | 0c4ac12a7b4184ff2535faa7a0a79ee33c8fff7f (patch) | |
| tree | e23e2d04bf6fe20dc3d942a68a952fa3a75b1a10 /tests | |
| parent | 9829b75d5bf468cb18e0fffdfc4a65dd7d8a6b2d (diff) | |
Fixed #28546 -- Fixed translation's to_locale() with langauge subtags.
Thanks Brent Hand for the initial patch.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/i18n/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py index c33677c76a..449def5363 100644 --- a/tests/i18n/tests.py +++ b/tests/i18n/tests.py @@ -268,6 +268,8 @@ class TranslationTests(SimpleTestCase): ('sr-latn', 'sr_Latn'), ('sr-LATN', 'sr_Latn'), # With private use subtag (x-informal). + ('nl-nl-x-informal', 'nl_NL-x-informal'), + ('NL-NL-X-INFORMAL', 'nl_NL-x-informal'), ('sr-latn-x-informal', 'sr_Latn-x-informal'), ('SR-LATN-X-INFORMAL', 'sr_Latn-x-informal'), ) |
