Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/i18n
Commit message (Collapse)AuthorAgeFilesLines
...
* Added a missing word in a skip messageAlex Gaynor2014-08-311-1/+1
|
* Fixed #22820 -- Treated int and long types alike in ↵Claude Paroz2014-08-301-0/+11
| | | | | | lazy_number Thanks kwist for the report and the initial patch.
* Fixed flake8 warning.Tim Graham2014-08-291-0/+1
|
* Fixed #23381 -- Context manager restored state should be ↵Thomas Chaumeny2014-08-291-1/+19
| | | | determined in __enter__
* Fixed #23323 -- Made django.utils.translation.override ↵Thomas Chaumeny2014-08-281-0/+19
| | | | usable as a decorator.
* Fixed #22171 -- Improved sanitize_separators clevernessClaude Paroz2014-08-181-0/+6
| | | | | Thanks Klaas van Schelven for the report and Tim Graham for the review.
* Fixed #21579 -- Made LocaleMiddleware respect script prefix.Tim Graham2014-08-141-1/+20
| | | | Thanks buettgenbach at datacollect.com for the report and patch.
* Fixed #22336 -- Added path matching for makemessages ↵Justin Hamade2014-08-082-17/+31
| | | | | | ignore option This fixes a regression introduced by 9012a9e200.
* Added forgotten files from commit 28efafa24c83Claude Paroz2014-07-162-0/+0
|
* Ignored STATIC_ROOT and MEDIA_ROOT in makemessagesClaude Paroz2014-07-161-4/+16
| | | | | | Also alleviate issues with weird file names typically found in MEDIA_ROOT directories (#23010). Thanks Tim Graham for the review.
* Fixed #23005 -- Allowed specifying special fallback ↵Claude Paroz2014-07-141-0/+20
| | | | | | | | | | 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.
* Fixed #22773 -- Forced templatize() to return unicodeClaude Paroz2014-06-061-0/+0
|
* Fixed #20477: Allowed list of modules for FORMAT_MODULE_PATHMartin Brochhaus2014-05-215-4/+20
| | | | | | | | | 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.
* Harmonized some PEP 0263 coding preamblesClaude Paroz2014-05-151-1/+1
|
* Fixed #22565 -- Prevented pgettext_lazy crash with ↵Claude Paroz2014-05-021-4/+16
| | | | | | bytestring input Thanks ygbo for the report.
* Fixed clash caused by the newly introduced -e shorthand ↵Loic Bistuer2014-05-022-1/+26
| | | | | | for makemessages --exclude. This fixes a regression caused by 0707b82. Refs #22328.
* Refactored DjangoTranslation classDoug Beck2014-04-301-0/+24
| | | | Also fixes #18192 and #21055.
* Fixed #22328 -- Added --exclude option to ↵Ana Krivokapic2014-04-266-24/+231
| | | | compilemessages and makemessages.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-062-7/+5
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-038-20/+26
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Added newline for flake8.Tim Graham2014-03-011-0/+1
|
* Added patch_formats utility for i18n formatting testsClaude Paroz2014-03-011-25/+24
|
* Fixed #21389 -- Accept most valid language codesBouke Haarsma2014-02-261-2/+20
| | | | | | | | | | | | 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.
* Fixed #22120 -- Documented persistent activation of ↵Erik Romijn2014-02-221-2/+2
| | | | languages and cleaned up language session key use
* Fixed #21732 -- Made compilemessages complain about ↵Claude Paroz2014-02-183-0/+41
| | | | | | | | 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.
* Removed TransRealMixin.Aymeric Augustin2014-01-271-21/+22
| | | | Fixed #21688. Refs https://github.com/django/django/pull/1147.
* Removed superfluous uses of TransRealMixin.Aymeric Augustin2014-01-271-2/+1
| | | | | The translation.override context manager cleans up after itself. As a consequence this mixin isn't needed any more in many cases.
* Fixed #21829 -- Added default AppConfigs.Aymeric Augustin2014-01-251-1/+1
| | | | | Thanks Russell for the report, Marc for the initial patch, Carl for the final review, and everyone who contributed to the design discussion.
* Imported override_settings from its new location.Aymeric Augustin2013-12-235-8/+7
|
* Dropped AppCache._empty, _with_app and _without_app.Aymeric Augustin2013-12-231-7/+3
| | | | | It's now easier to achieve the same effect with modify_settings or override_settings.
* Moved apps back in the toplevel django namespace.Aymeric Augustin2013-12-221-1/+1
| | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
* Stopped iterating on INSTALLED_APPS.Aymeric Augustin2013-12-221-4/+22
| | | | Used the app cache's get_app_configs() method instead.
* Removed superfluous models.py files.Aymeric Augustin2013-12-171-1/+0
| | | | | | | 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.
* Fixed #21473 -- Limited language preservation to logoutLudwik Trammer2013-12-121-44/+5
| | | | | | | | | 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.
* Fixed 21406 -- Made blocktrans 'trimmed' option preserve ↵Bouke Haarsma2013-12-042-20/+47
| | | | | | line numbers. Thanks Bouke Haarsma for report, fix and initial patch.
* Enabled makemessages to support several translation ↵Claude Paroz2013-11-308-0/+56
| | | | | | | | directories Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and Tim Graham for the reviews. Also fixes #16084.
* Fixed #21488 -- Multiple locales treatment in i18n commands.Ramiro Morales2013-11-232-34/+28
| | | | | | | | | | | 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.
* Fixed #21458 -- Made check_for_language more resistant ↵Baptiste Mispelon2013-11-201-0/+2
| | | | | | to malformed input. Thanks to Sergey Sorokin for the report and to Bouke Haarsma for the review.
* Fixed #13970 -- Made SelectDateWidget use the standard ↵Claude Paroz2013-11-081-4/+6
| | | | | | widget is_required attribute Thanks mitar for the report and Tim Graham for the review.
* Fixed #5849 -- Strip whitespace from blocktransBouke Haarsma2013-11-073-0/+34
| | | | | | | | | | | 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.
* Fixed #18419 -- Full backwards compatibility for old ↵Bouke Haarsma2013-11-051-0/+27
| | | | | | | | language codes Improved documentation about zh-* deprecation and upgrade path. Thanks to Baptiste Mispelon for the code reviews.
* Fixed #18149 -- Changed language codes for ChineseBouke Haarsma2013-11-041-0/+25
| | | | | | | 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.
* Merge pull request #1821 from Bouke/tickets/14170Aymeric Augustin2013-11-041-0/+13
|\ | | | | #14170 -- Reset i18n cache when settings changed
| * Fixed #14170 -- Reset i18n cache when settings changeBouke Haarsma2013-11-031-0/+13
| |
* | PEP8 cleanupJason Myers2013-11-034-6/+18
| | | | | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* | Fixed all E261 warningscoagulant2013-11-032-2/+2
| |
* | Fixed flake8 E241Boryslav Larin2013-11-021-1/+1
| |
* | Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-5/+5
|/
* Rearranged some i18n testsClaude Paroz2013-10-283-16/+12
| | | | | Compilation/extraction tests are now properly skipped when gettext commands are unavailable.