Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 1 | -6/+0 |
| | | | | | | | | Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | ||||
* | Fixed BasicExtractorTests.test_makemessages_find_files() test. | Claude Paroz | 2022-07-26 | 1 | -2/+4 |
| | |||||
* | Fixed #33565 -- Improved locale format validation for the makemessages command. | Ronnie van den Crommenacker | 2022-06-08 | 1 | -1/+83 |
| | |||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -5/+12 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -262/+395 |
| | |||||
* | Fixed #6106 -- Prevented makemessages from changing .po files when up to date. | Ad Timmering | 2021-11-11 | 1 | -0/+34 |
| | | | | Co-authored-by: Daniyal Abbasi <abbasi.daniyal98@gmail.com> | ||||
* | Refs #32144 -- Made makemessages remove temporary files on preprocessing error. | Carlton Gibson | 2021-07-01 | 1 | -1/+2 |
| | | | | Co-authored-by: Anders Hovmöller <anders.hovmoller@dryft.se> | ||||
* | Fixed #32144 -- Made makemessages remove temporary files when locale path ↵ | Carlton Gibson | 2021-07-01 | 1 | -0/+2 |
| | | | | doesn't exist. | ||||
* | Fixed typo in makemessages error message. | Jacob Walls | 2021-06-21 | 1 | -2/+2 |
| | |||||
* | Fixed capitalization of "ECMAScript" and "JavaScript". | Nick Pope | 2021-04-29 | 1 | -1/+1 |
| | |||||
* | Fixed #32145 -- Improved makemessages error message when app's locale ↵ | Josh Santos | 2021-02-09 | 1 | -2/+6 |
| | | | | directory doesn't exist. | ||||
* | Fixed #29712 -- Made makemessages warn if locales have hyphens and skip them. | manav014 | 2020-11-13 | 1 | -0/+14 |
| | |||||
* | Disabled management commands output with verbosity 0 in various tests. | François Freitag | 2020-04-20 | 1 | -5/+4 |
| | | | | | Instead of capturing the command output and discard it immediately, tell the command not to log. | ||||
* | Fixed #31314 -- Raised CommandError when locale is not specified in ↵ | Cristobal Mackenzie | 2020-02-28 | 1 | -0/+10 |
| | | | | | | makemessages. Regression in 0707b824fe77e08ca8b75fcc3738ada694f2a3a6. | ||||
* | Refs #30585 -- Updated project templates and tests to use (block)translate tags. | Mike Hansen | 2019-12-18 | 1 | -19/+19 |
| | |||||
* | Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags. | Mike Hansen | 2019-12-18 | 1 | -4/+8 |
| | |||||
* | Refs #29983 -- Added support for using pathlib.Path in all settings. | Jon Dufresne | 2019-11-07 | 1 | -1/+8 |
| | |||||
* | Removed redundant os.chdir() in RunInTmpDirMixin child classes. | Jon Dufresne | 2019-02-05 | 1 | -2/+0 |
| | | | setUp() already calls os.chdir(self.test_dir). | ||||
* | Removed unused branch from SymlinkExtractorTests.test_symlink(). | Jon Dufresne | 2019-02-05 | 1 | -6/+3 |
| | | | | | Unused since bb7bb379e8cd91a91336946829519d64e919a1d2. SymlinkExtractorTests.test_dir, which contains SymlinkExtractorTests.symlinked_dir, is deleted after every test. | ||||
* | Removed default mode='r' argument from calls to open(). | Jon Dufresne | 2019-01-27 | 1 | -20/+20 |
| | |||||
* | Fixed #29452 -- Fixed makemessages setting charset of .pot files. | Bartosz Grabski | 2018-06-11 | 1 | -1/+22 |
| | |||||
* | Fixed #17379 -- Removed management commands deactivation of the locale. | Claude Paroz | 2018-05-13 | 1 | -4/+0 |
| | |||||
* | Fixed hanging indentation in various code. | Mariusz Felisiak | 2018-03-16 | 1 | -4/+2 |
| | |||||
* | Fixed crash in i18n tests skip condition if gettext isn't installed. | Tim Graham | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | 2017-06-01 | 1 | -2/+2 |
| | |||||
* | Sorted imports per isort 4.2.9. | Tim Graham | 2017-06-01 | 1 | -2/+3 |
| | |||||
* | Fixed #28015 -- Added makemessages --add-location option. | Ling-Xiao Yang | 2017-05-22 | 1 | -1/+38 |
| | | | | Thanks François Freitag for review. | ||||
* | Fixed #27868 -- Filtered locale path subdirectories | Claude Paroz | 2017-02-23 | 1 | -0/+13 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed misc Python 2/3 references. | Tim Graham | 2017-01-25 | 1 | -23/+18 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -2/+2 |
| | |||||
* | Removed unneeded force_text calls in the test suite | Claude Paroz | 2017-01-24 | 1 | -19/+17 |
| | |||||
* | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | 2017-01-20 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Replaced io.open() with open(). | Aymeric Augustin | 2017-01-18 | 1 | -6/+5 |
| | | | | io.open() is an alias for open() on Python 3. | ||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -1/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -2/+1 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -3/+0 |
| | |||||
* | Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. | Tim Graham | 2016-12-07 | 1 | -18/+11 |
| | |||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -8/+6 |
| | |||||
* | Skipped makemessages -l tests when xgettext isn't installed. | Marti Raudsepp | 2016-11-08 | 1 | -0/+1 |
| | |||||
* | Refs #26940 -- Re-allowed makemessages without settings | Claude Paroz | 2016-10-01 | 1 | -0/+9 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6. | Tim Graham | 2016-09-17 | 1 | -2/+2 |
| | | | | http://bugs.python.org/issue27364 | ||||
* | Replaced 'raise SkipTest' with self.skipTest() in a few tests. | Tim Graham | 2016-08-16 | 1 | -3/+3 |
| | |||||
* | Fixed #27034 -- Made makemessages independent of USE_I18N | Claude Paroz | 2016-08-11 | 1 | -0/+13 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #26897 -- Fixed makemessages crash on Python 2 with non-ASCII file names | Claude Paroz | 2016-07-14 | 1 | -0/+4 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #26677 -- Simplified i18n test cleanups. | Ramiro Morales | 2016-06-11 | 1 | -115/+4 |
| | | | | | | | | | | The fact that we aren't dealing with the Django source tree anymore allows us to drop several tearDown()/addCleanup() calls that were concerned with removing apiece files/dirs/symlinks created by test cases, as we are covered by the removal of the parent temporary tree anyways. Thanks Tim Graham for advice and review. | ||||
* | Fixed #26677 -- Converted some i18n tests to use disposable FS tree. | Ramiro Morales | 2016-06-09 | 1 | -62/+56 |
| | | | | | | | | | | | | This allows makemessages/compilemessages tests in `test_extraction.py` and `test_compilation.py` to actually run isolated from each other (unaffected by stray FS objects left by cleanup actions failures, debug sessions, etc.) and to take advantage of the parallel tests execution feature like most of the Django test suite. `test_percents.py` gets slightly refactored to not inherit from the new machinery which sets up every test case to copy and run under a temporary tree. | ||||
* | Fixed #26687 -- Made an i18n test not use a hardcoded path separator. | Ramiro Morales | 2016-05-31 | 1 | -1/+3 |
| | | | Fixed a failure on Windows. | ||||
* | Fixed #26674 -- Corrected a i18n makemessages test. | Ramiro Morales | 2016-05-29 | 1 | -3/+3 |
| | | | | | | | | | | Made it consistently read the PO file, decode its contents and then check for the non-breaking space Unicode code point. Previously we were erroneously skipping the interpretation of what we read as UTF-8 text. This was causing the test to fail on Windows with Python 3.5. | ||||
* | Fixed #26341 -- Fixed makemessages breaking location comments for HTML files | Claude Paroz | 2016-04-30 | 1 | -2/+13 |
| | | | | | Thanks Sylvain Garancher for the report and Veranika Sabiashchanskaya for the initial patch. | ||||
* | Adapted _assertPoLocComment for multi-file source lines in po files | Claude Paroz | 2016-04-30 | 1 | -6/+13 |
| | | | | Refs #17375. |