diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2013-01-16 16:21:47 -0300 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2013-01-16 20:48:06 -0300 |
| commit | 248aee16066b2a336f16c844580cf043d853874b (patch) | |
| tree | 1f0ce7db6d0b9a1ba904aad92ccfe3b83f237e3f /tests | |
| parent | eee865257aaa9005947a7b4994c475c2ad59d698 (diff) | |
Modified makemessages so it creates .pot files once per invocation.
It creates a `locale/django.pot` file once instead of one
`locale/<locale_code>/django.pot` file for every locale involved.
Thanks Michal Čihař for the report and patch.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/i18n/commands/extraction.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/regressiontests/i18n/commands/extraction.py b/tests/regressiontests/i18n/commands/extraction.py index bd2b84a952..6a8ebc7670 100644 --- a/tests/regressiontests/i18n/commands/extraction.py +++ b/tests/regressiontests/i18n/commands/extraction.py @@ -297,8 +297,9 @@ class NoLocationExtractorTests(ExtractorTests): class KeepPotFileExtractorTests(ExtractorTests): + POT_FILE='locale/django.pot' + def setUp(self): - self.POT_FILE = self.PO_FILE + 't' super(KeepPotFileExtractorTests, self).setUp() def tearDown(self): |
