| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-09-01 | Fixed #32768 -- Added Vary header when redirecting to prefixed i18n pattern. | Alex Hayward | |
| get_language_from_request() uses Accept-Language and/or Cookie to determine the correct redirect. Upstream caches need the matching Vary header to cache the result. | |||
| 2021-07-19 | Fixed #32941 -- Removed get_format_modules()'s unused reverse argument. | Keryn Knight | |
| Unused since 0d8b523422fda71baa10807d5aebefd34bad7962. | |||
| 2021-07-01 | Refs #32144 -- Made makemessages remove temporary files on preprocessing error. | Carlton Gibson | |
| Co-authored-by: Anders Hovmöller <anders.hovmoller@dryft.se> | |||
| 2021-07-01 | Fixed #32144 -- Made makemessages remove temporary files when locale path ↵ | Carlton Gibson | |
| doesn't exist. | |||
| 2021-06-21 | Fixed typo in makemessages error message. | Jacob Walls | |
| 2021-06-07 | Fixed typos in test comments. | luzpaz | |
| 2021-05-26 | Fixed #32762 -- Fixed locale reset in compilemessages test. | Nilo César Teixeira | |
| Reset the `LC_ALL` override value in the test environment to ensure that locale values the calling environment are not used. | |||
| 2021-05-12 | Refs #32738 -- Added sanitize_strftime_format() to replace datetime_safe. | Nick Pope | |
| 2021-05-05 | Fixed #32479 -- Added fallbacks to subsequent language codes in translations. | Maxim Beder | |
| Thanks Claude Paroz and Nick Pope for reviews. | |||
| 2021-04-29 | Fixed capitalization of "ECMAScript" and "JavaScript". | Nick Pope | |
| 2021-04-22 | Fixed isolation of i18n.tests.FormattingTests.test_get_custom_format(). | Mariusz Felisiak | |
| 2021-04-06 | Updated translations from Transifex. | Claude Paroz | |
| Forwardport of 1ea5e983151f797b285c789626411b9373cd8727 from stable/3.2.x. | |||
| 2021-03-22 | Fixed #32581 -- Prevented to_locale() from corrupting locale names. | Claude Paroz | |
| 2021-03-22 | Added to_locale() tests for 3-char language codes. | Claude Paroz | |
| 2021-02-09 | Fixed #32145 -- Improved makemessages error message when app's locale ↵ | Josh Santos | |
| directory doesn't exist. | |||
| 2021-01-14 | Refs #15902 -- Stopped set_language() storing user's language in the session. | Mariusz Felisiak | |
| Per deprecation timeline. | |||
| 2021-01-14 | Refs #30165 -- Removed ugettext(), ugettext_lazy(), ugettext_noop(), ↵ | Mariusz Felisiak | |
| ungettext(), and ungettext_lazy() per deprecation timeline. | |||
| 2020-11-13 | Fixed #29712 -- Made makemessages warn if locales have hyphens and skip them. | manav014 | |
| 2020-10-13 | Fixed #20601 -- Allowed forcing format with thousand separators in ↵ | Jacob Walls | |
| floatformat filter. Thanks Claude Paroz and Nick Pope for reviews. | |||
| 2020-10-07 | Fixed #31850 -- Fixed BasicExtractorTests.test_extraction_warning with ↵ | Max Smolens | |
| xgettext 0.21+. "format string with unnamed arguments cannot be properly localized" warning is not raised in xgettext 0.21+. This patch uses a message that causes an xgettext warning regardless of the version. | |||
| 2020-09-14 | Fixed #31789 -- Added a new headers interface to HttpResponse. | Tom Carrick | |
| 2020-07-21 | Fixed #31180 -- Configured applications automatically. | Aymeric Augustin | |
| 2020-06-22 | Fixed #31692 -- Prevented unneeded .po file compilation. | Claude Paroz | |
| Thanks Nick Pope and Simon Charette for the reviews. | |||
| 2020-06-22 | Refs #31692 -- Updated compilemessages and tests to use pathlib. | Claude Paroz | |
| 2020-06-04 | Fixed #30134 -- Ensured unlocalized numbers are string representation in ↵ | Claude Paroz | |
| templates. | |||
| 2020-06-04 | Refs #30134 -- Added test for {% localize off %} tag with format settings. | Claude Paroz | |
| 2020-06-01 | Fixed #31570 -- Corrected translation loading for apps providing territorial ↵ | Carlton Gibson | |
| language variants with different plural equations. Regression in e3e48b00127c09eafe6439d980a82fc5c591b673. Thanks to Shai Berger for report, reproduce and suggested fix. | |||
| 2020-05-04 | Refs #30372 -- Stopped watching built-in Django translation files by ↵ | Tom Forbes | |
| auto-reloader. | |||
| 2020-04-20 | Disabled management commands output with verbosity 0 in various tests. | François Freitag | |
| Instead of capturing the command output and discard it immediately, tell the command not to log. | |||
| 2020-03-10 | Fixed #30439 -- Added support for different plural forms for a language. | Claude Paroz | |
| Thanks to Michal Čihař for review. | |||
| 2020-02-28 | Fixed #31314 -- Raised CommandError when locale is not specified in ↵ | Cristobal Mackenzie | |
| makemessages. Regression in 0707b824fe77e08ca8b75fcc3738ada694f2a3a6. | |||
| 2020-02-18 | Refs #26601 -- Deprecated passing None as get_response arg to middleware ↵ | Claude Paroz | |
| classes. This is the new contract since middleware refactoring in Django 1.10. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2019-12-18 | Refs #30585 -- Updated project templates and tests to use (block)translate tags. | Mike Hansen | |
| 2019-12-18 | Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags. | Mike Hansen | |
| 2019-11-07 | Refs #29983 -- Added support for using pathlib.Path in all settings. | Jon Dufresne | |
| 2019-08-23 | Replaced subprocess commands by run() wherever possible. | Claude Paroz | |
| 2019-07-02 | Fixed typos in comments and docs. | Min ho Kim | |
| 2019-06-24 | Fixed #26431 -- Prevented django.urls.resolve() from returning missing ↵ | daniel a rios | |
| optional parameters. Previous behavior was inconsistent with django.urls.reverse() and caused that translate_url() created an incorrect URL when an optional parameter was missing. | |||
| 2019-06-24 | Refs #26431 -- Added tests for resolving URL and translate_url() with ↵ | daniel a rios | |
| provided optional parameter. | |||
| 2019-06-20 | Fixed #30451 -- Added ASGI handler and coroutine-safety. | Andrew Godwin | |
| This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django. | |||
| 2019-06-11 | Fixed #27486 -- Fixed Python 3.7 DeprecationWarning in intword and ↵ | Jon Dufresne | |
| filesizeformat filters. intword and filesizeformat passed floats to ngettext() which is deprecated in Python 3.7. The rationale for this warning is documented in BPO-28692: https://bugs.python.org/issue28692. For filesizeformat, the filesize value is expected to be an int -- it fills %d string formatting placeholders. It was likely coerced to a float to ensure floating point division on Python 2. Python 3 always does floating point division, so coerce to an int instead of a float to fix the warning. For intword, the number may contain a decimal component. In English, a decimal component makes the noun plural. A helper function, round_away_from_one(), was added to convert the float to an integer that is appropriate for ngettext(). | |||
| 2019-04-27 | Fixed typos in test names. | Daniel Hahler | |
| 2019-02-08 | Fixed #30165 -- Deprecated ugettext(), ugettext_lazy(), ugettext_noop(), ↵ | Jon Dufresne | |
| ungettext(), and ungettext_lazy(). | |||
| 2019-02-07 | Fixed #16027 -- Added app_label to ContentType.__str__(). | Gregory N. Schmit | |
| 2019-02-06 | Refs #27753 -- Favored SafeString over SafeText. | Tim Graham | |
| 2019-02-05 | Removed redundant os.chdir() in RunInTmpDirMixin child classes. | Jon Dufresne | |
| setUp() already calls os.chdir(self.test_dir). | |||
| 2019-02-05 | Removed unused branch from SymlinkExtractorTests.test_symlink(). | Jon Dufresne | |
| Unused since bb7bb379e8cd91a91336946829519d64e919a1d2. SymlinkExtractorTests.test_dir, which contains SymlinkExtractorTests.symlinked_dir, is deleted after every test. | |||
| 2019-02-05 | Removed unused RunInTmpDirMixin.rmfile(). | Jon Dufresne | |
| Unused since bb7bb379e8cd91a91336946829519d64e919a1d2. | |||
| 2019-01-28 | Fixed #29973 -- Added compilemessages --ignore option. | rsiemens | |
| 2019-01-28 | Fixed #30137 -- Replaced OSError aliases with the canonical OSError. | Jon Dufresne | |
| Used more specific errors (e.g. FileExistsError) as appropriate. | |||
