| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
lazy_number
Thanks kwist for the report and the initial patch.
|
| |
|
|
|
|
| |
determined in __enter__
|
|
|
|
| |
usable as a decorator.
|
|
|
|
|
| |
Thanks Klaas van Schelven for the report and Tim Graham for the
review.
|
|
|
|
| |
Thanks buettgenbach at datacollect.com for the report and patch.
|
|
|
|
|
|
| |
ignore option
This fixes a regression introduced by 9012a9e200.
|
| |
|
|
|
|
|
|
| |
Also alleviate issues with weird file names typically found in
MEDIA_ROOT directories (#23010).
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
| |
languages
This fixes the Chinese language issues described in #23005 but
also provides for other fallback exceptions by updating the
LANG_INFO structure.
Thanks caxekis at gmail.com for the report and Tim Graham for the
review.
|
| |
|
|
|
|
|
|
|
|
|
| |
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted
module path). A feature has been added to also allow a list of strings.
This is useful when using several reusable third party apps that define new
formats. We can now use them all and we can even override some of the formats
by providing a project-wide format module.
|
| |
|
|
|
|
|
|
| |
bytestring input
Thanks ygbo for the report.
|
|
|
|
|
|
| |
for makemessages --exclude.
This fixes a regression caused by 0707b82. Refs #22328.
|
|
|
|
| |
Also fixes #18192 and #21055.
|
|
|
|
| |
compilemessages and makemessages.
|
| |
|
|
|
|
| |
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
|
|
|
|
| |
Thanks Piotr Kasprzyk for help with the patch.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
By removing the 'supported' keyword from the detection methods and only relying
on a cached settings.LANGUAGES, the speed of said methods has been improved;
around 4x raw performance. This allows us to stop checking Python's incomplete
list of locales, and rely on a less restrictive regular expression for
accepting certain locales.
HTTP Accept-Language is defined as being case-insensitive, based on this fact
extra performance improvements have been made; it wouldn't make sense to
check for case differences.
|
|
|
|
| |
languages and cleaned up language session key use
|
|
|
|
|
|
|
|
| |
non-writable location
Instead of crashing with a CommandError, now a non-writable location
of mo files will only make compilemessages complain and continue.
Thanks Ramiro Morales for the review.
|
|
|
|
| |
Fixed #21688. Refs https://github.com/django/django/pull/1147.
|
|
|
|
|
| |
The translation.override context manager cleans up after itself. As a
consequence this mixin isn't needed any more in many cases.
|
|
|
|
|
| |
Thanks Russell for the report, Marc for the initial patch, Carl for the
final review, and everyone who contributed to the design discussion.
|
| |
|
|
|
|
|
| |
It's now easier to achieve the same effect with modify_settings or
override_settings.
|
|
|
|
| |
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
|
|
|
|
| |
Used the app cache's get_app_configs() method instead.
|
|
|
|
|
|
|
| |
Added comments in the three empty models.py files that are still needed.
Adjusted the test runner to add applications corresponding to test
labels to INSTALLED_APPS even when they don't have a models module.
|
|
|
|
|
|
|
|
|
| |
Current language is no longer saved to session by LocaleMiddleware
on every response (the behavior introduced in #14825).
Instead language stored in session is reintroduced into new session
after logout.
Forward port of c558a43fd6 to master.
|
|
|
|
|
|
| |
line numbers.
Thanks Bouke Haarsma for report, fix and initial patch.
|
|
|
|
|
|
|
|
| |
directories
Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and
Tim Graham for the reviews.
Also fixes #16084.
|
|
|
|
|
|
|
|
|
|
|
| |
Removed multiple locales separated by commas variation (that wasn't
working as documented) in favor of simply allowing use of the
``--locale``/``-l`` options more than once for ``makemessages`` and
``compilemessages``.
Thanks Romain Beylerian for the report and Claude, Simon for their help.
8750296918072c97a51f6809d19828ce3f1b8d40 from stable/1.6.x.
|
|
|
|
|
|
| |
to malformed input.
Thanks to Sergey Sorokin for the report and to Bouke Haarsma for the review.
|
|
|
|
|
|
| |
widget is_required attribute
Thanks mitar for the report and Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
|
| |
Add the trimmed option to the blocktrans tag to trim any newlines and
whitespace from its content.
This allows the developer to indent the blocktrans tag without adding
new lines and whitespace to the msgid in the PO file.
Thanks to mpessas for the initial patch and Dmitri Fedortchenko for the
report.
|
|
|
|
|
|
|
|
| |
language codes
Improved documentation about zh-* deprecation and upgrade path.
Thanks to Baptiste Mispelon for the code reviews.
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
#14170 -- Reset i18n cache when settings changed
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Jason Myers <jason@jasonamyers.com>
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
| |
Compilation/extraction tests are now properly skipped when gettext
commands are unavailable.
|