| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-11-06 | flake8 fixes | Alex Gaynor | |
| 2013-11-06 | Distinguish between browser-deprecated locales and internally | Baptiste Mispelon | |
| deprecated ones. Thanks to bouke for pointing this out. | |||
| 2013-11-05 | Fix python2 breakage caused by e5e044da87800feb6ef63fef1765d8c05022d926. | Baptiste Mispelon | |
| 2013-11-05 | Fixed #18419 -- Full backwards compatibility for old language codes | Bouke Haarsma | |
| Improved documentation about zh-* deprecation and upgrade path. Thanks to Baptiste Mispelon for the code reviews. | |||
| 2013-11-04 | Fixed python3 breakage introduced by c0a2388a1c4ead1afaec98e4ebc953a772ca3849. | Baptiste Mispelon | |
| 2013-11-04 | Fixed #18149 -- Changed language codes for Chinese | Bouke Haarsma | |
| Language codes for Chinese are zh_Hans (Simplified) and zh_Hant (Traditional). Added support for browsers that still send the deprecated language codes. Thanks to Olli Wang for the report. | |||
| 2013-11-04 | Merge pull request #1821 from Bouke/tickets/14170 | Aymeric Augustin | |
| #14170 -- Reset i18n cache when settings changed | |||
| 2013-11-03 | Fixed all E226 violations | Alex Gaynor | |
| 2013-11-03 | Fixed #14170 -- Reset i18n cache when settings change | Bouke Haarsma | |
| 2013-11-02 | Correct flake8 E302 violations | Ray Ashman Jr | |
| 2013-11-02 | Fixed flake8 E241 | Boryslav Larin | |
| 2013-10-26 | Fixed all the E203 violations | Alex Gaynor | |
| 2013-10-26 | Fixed up some more flake8 violations (this particular violation still has ↵ | Alex Gaynor | |
| many occurrences in the tests/ dir so it can't be removed from setup.cfg yet) | |||
| 2013-10-22 | Fixed #5789 -- Changed LocaleMiddleware session variable to '_language'. | Bouke Haarsma | |
| The old 'django_language' variable will still be read from in order to migrate users. The backwards-compatability shim will be removed in Django 1.8. Thanks to jdunck for the report and stugots for the initial patch. | |||
| 2013-10-17 | Fixed #21270 -- Fixed E701 pep8 warnings | Alasdair Nicol | |
| 2013-10-10 | Whitespace cleanup. | Tim Graham | |
| * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | |||
| 2013-09-09 | Fixed #21078 -- Handled additional bad Accept-Language header | Josh Mize | |
| 2013-09-03 | Fixed "indentation is not a multiple of four" pep8 issues. | Tim Graham | |
| 2013-08-30 | Fixed #20989 -- Removed useless explicit list comprehensions. | Simon Charette | |
| 2013-08-04 | Deprecated SortedDict (replaced with collections.OrderedDict) | Curtis Maloney | |
| Thanks Loic Bistuer for the review. | |||
| 2013-07-29 | Deprecated django.utils.importlib | Claude Paroz | |
| This was a shim for pre-Python 2.7 support. | |||
| 2013-05-25 | Removed obsolete attribute of DjangoTranslation | Claude Paroz | |
| 2013-05-19 | Fixed #11915: generic Accept-Language matches country-specific variants | Łukasz Langa | |
| 2013-05-18 | Fixed #14894 -- Ensure that activating a translation doesn't run into ↵ | Florian Apolloner | |
| threading issues. Thanks to maxbublis for the report and sergeykolosov for the patch. | |||
| 2013-05-18 | Fixes #19919: get_language_from_request() disregards "en-us" and "en" languages | Łukasz Langa | |
| when matching Accept-Language | |||
| 2013-05-17 | Replaced an antiquated pattern. | Aymeric Augustin | |
| Thanks Lennart Regebro for pointing it out. | |||
| 2013-02-24 | Fixes #19763 - LocaleMiddleware should check for supported languages in ↵ | Łukasz Langa | |
| settings.LANGUAGE_CODE | |||
| 2013-02-23 | Fixes #17866: Vary: Accept-Language header when language prefix used | Łukasz Langa | |
| 2013-02-23 | Changed %r to %s in get_language_info error message. | Konrad Hałas | |
| 2013-02-23 | Fixed #19811 - Added language code fallback in get_language_info. | Konrad Hałas | |
| 2013-02-02 | Made ungettext_lazy usable for messages that do not contain the count. | Aymeric Augustin | |
| Fixed #19160 (again). Thanks Alexey Boriskin. | |||
| 2013-01-30 | Fixed #19160 -- Made lazy plural translations usable. | Aymeric Augustin | |
| Many thanks to Alexey Boriskin, Claude Paroz and Julien Phalip. | |||
| 2013-01-29 | Fixed #19552 -- Enhanced makemessages handling of ``{# #}``-style template ↵ | Ramiro Morales | |
| comments. They are simply ignored now. This allows for a more correct behavior when they are placed before translatable constructs on the same line. Previously, the latter were wrongly ignored because the former were preserved when converting template code to the internal Python-syntax form later fed to xgettext but Python has no ``/* ... */``-style comments. Also, special comments directed to translators are now only taken in account when they are located at the end of a line. e.g.:: {# Translators: ignored #}{% trans "Literal A" %}{# Translators: valid, associated with "Literal B" below #} {% trans "Literal B" %} Behavior of ``{% comment %}...{% endcomment %}``tags remains unchanged. Thanks juneih at redpill-linpro dot com for the report and Claude for his work on the issue. | |||
| 2012-12-08 | Fixed #19357 -- Allow non-ASCII chars in filesystem paths | Claude Paroz | |
| Thanks kujiu for the report and Aymeric Augustin for the review. | |||
| 2012-11-14 | Fixed #19272 -- Fixed gettext_lazy returned type on Python 2 | Claude Paroz | |
| Thanks tyrion for the report. | |||
| 2012-10-21 | Fixed #19142 -- Language codes can include numbers (RFC 3066). | Jan Bednařík | |
| 2012-10-15 | Build context strings out of [u|n]gettext | Claude Paroz | |
| The context strings in [n]pgettext functions should not be marked themselves for translation. | |||
| 2012-09-27 | Fixed #18881 -- Made the context option in {% trans %} and {% blocktrans %} ↵ | Julien Phalip | |
| accept literals wrapped in single quotes. Thanks to lanyjie for the report. | |||
| 2012-08-30 | Replaced some smart_xxx by force_xxx equivalent | Claude Paroz | |
| smart_str/smart_text should only be used when a potential lazy string should be preserved in the result of the function call. | |||
| 2012-08-18 | [py3] Stopped attempting to translate bytes. | Aymeric Augustin | |
| That goes actively against the goal of cleaning string handling. | |||
| 2012-08-07 | [py3] Ported django.utils.translation. | Aymeric Augustin | |
| 2012-08-07 | [py3] Ported django.utils.encoding. | Aymeric Augustin | |
| * Renamed smart_unicode to smart_text (but kept the old name under Python 2 for backwards compatibility). * Renamed smart_str to smart_bytes. * Re-introduced smart_str as an alias for smart_text under Python 3 and smart_bytes under Python 2 (which is backwards compatible). Thus smart_str always returns a str objects. * Used the new smart_str in a few places where both Python 2 and 3 want a str. | |||
| 2012-07-22 | [py3] Switched to Python 3-compatible imports. | Aymeric Augustin | |
| xrange/range will be dealt with in a separate commit due to the huge number of changes. | |||
| 2012-07-22 | [py3] Replaced unicode/str by six.text_type/bytes. | Aymeric Augustin | |
| 2012-06-07 | Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. | Claude Paroz | |
| Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review. | |||
| 2012-05-05 | Replaced cStringIO.StringIO by io.BytesIO. | Claude Paroz | |
| Also replaced StringIO.StringIO by BytesIO in some other appropriate places. StringIO is not available in Python 3. | |||
| 2012-03-31 | Fixed #18040 -- Removed so-called project-level locale trees from the list ↵ | Ramiro Morales | |
| of paths the translation loading process takes in account. Deprecated in Django 1.3. Removed completely for Django 1.5. Thanks Claude for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17861 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2012-03-12 | Fixed #17873 -- Removed stale code from translation utilities that should ↵ | Jannis Leidel | |
| have been removed a while ago. Thanks, Aymeric Augustin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17684 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2012-02-18 | Fixed #17720 -- Stopped the LocaleMiddleware from overeagerly using the ↵ | Jannis Leidel | |
| request path for language activation if it's actually not wanted. Thanks to Anssi Kääriäinen for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17547 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2012-02-04 | Fixed #17555 -- Added support for a missing trailing slash when redirecting ↵ | Jannis Leidel | |
| based on the browser language. Thanks, neaf. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17443 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
