Russell Keith-Magee
|
d44fb0557a
|
Fixed #14824 -- Corrected the handling of formats when USE_L10N is disabled. Thanks to nullie for the report and initial patch, and to idle for the separate report with helpful debug info.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-02-04 13:52:36 +00:00 |
Jannis Leidel
|
6ec348fb41
|
Fixed #13726 -- Further refine changes made in r12384 and r13069 for using non-English source languages in JavaScript translation catalogues. Thanks, Ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-12-13 13:52:52 +00:00 |
Jannis Leidel
|
83aeb3c768
|
Fixed #9988 -- Added support for translation contexts. Thanks, Claude Paroz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-11-04 10:48:27 +00:00 |
Russell Keith-Magee
|
21e84194b5
|
Fixed #13514 -- Corrected the process of loading multiple javascript translation catalogs. Thanks to jtiai for the report, to Ramiro Morales for working out the test case, and to Ramiro and Jannis for their help on the fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-05-13 13:29:31 +00:00 |
Jannis Leidel
|
43bf086783
|
Fixed #13388 - Refined changes made in r12384 in the JavaScript i18n admin view.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-05-02 19:46:31 +00:00 |
Jannis Leidel
|
8600ad4c50
|
Fixed #3594 - Added ability to discard the language catalog in the JavaScript i18n view in case the selected language is English but no English translation catalog actual exists, e.g. due to being the language translated from. Thanks to msaelices, aryx and Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-02-05 01:43:13 +00:00 |
Adrian Holovaty
|
5ceed0a053
|
Changed a whole bunch of places to raise exception instances instead of old-style raising exception classes plus a comma. Good for the future Python 3 conversion
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-01-10 18:36:20 +00:00 |
Jannis Leidel
|
f6c519e2b9
|
Fixed #12492 - Refactored JavaScript format localization by separating it from the translation backend. Thanks, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-01-04 02:28:34 +00:00 |
Jannis Leidel
|
fa0653cd1d
|
Fixed #12454 - Added support for localized formats to admin date and time widgets.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-12-30 22:12:16 +00:00 |
Jannis Leidel
|
6eb02fa9bb
|
Fixed #12448 - Make sure format strings are handled correctly as unicode.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-12-30 22:11:11 +00:00 |
Jannis Leidel
|
9233d04265
|
Fixed #7980 - Improved i18n framework to support locale aware formatting (dates and numbers) and form processing.
Thanks to Marc Garcia for working on this during his Google Summer of Code 2009!
Additionally fixes #1061, #2203, #3940, #5526, #6449, #6231, #6693, #6783, #9366 and #10891.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-12-22 17:58:49 +00:00 |
Jacob Kaplan-Moss
|
c485e236bd
|
Fixed #8193: all dynamic imports in Django are now done correctly. I know this because Brett Cannon borrowed the time machine and brought Python 2.7's '`importlib` back for inclusion in Django. Thanks for the patch-from-the-future, Brett!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-03-18 16:55:59 +00:00 |
Malcolm Tredinnick
|
eb6a6c4619
|
Fixed #6864 -- Handle Javascript i18n when the plural form expression returns
True or False (so both booleans and integers are allowed). Thanks, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2008-03-24 13:27:19 +00:00 |
Malcolm Tredinnick
|
efed04b634
|
Fixed #5603 -- Allow customization of the language cookie name. Thanks, moe.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2008-02-29 18:38:44 +00:00 |
Malcolm Tredinnick
|
8d29fabe31
|
Fixed #5853 -- Added handling for a missing 'en' PO file in translation support
(this file being missing is essentially harmless). Thanks, miracle2k.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-11-29 17:29:54 +00:00 |
Adrian Holovaty
|
e6460e4134
|
Changed set_language() change from [6320] to use request.REQUEST, which is shorter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 20:00:14 +00:00 |
Adrian Holovaty
|
bb94a48f88
|
Changed set_language() redirect view to check POST data for 'next'. Thanks, msaelices
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 19:55:48 +00:00 |
Malcolm Tredinnick
|
99d12c5d70
|
Fixed #3651 -- Changed set_language_view() to require POST request is used, in accordance with the HTTP spec (it changes the user's state). Thanks, Fraser Nevett.
This is a backwards incompatible change for anybody previously using this view.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 07:33:45 +00:00 |
Malcolm Tredinnick
|
537b16ca97
|
Fixed #4414 -- Fixed Javascript message translation to also work when there is more than one format marker in a string. Thanks, tobias@neuyork.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-11 10:51:02 +00:00 |
Malcolm Tredinnick
|
439cb4047f
|
Fixed #4040 -- Changed uses of has_key() to "in". Slight performance
improvement and forward-compatible with future Python releases. Patch from Gary
Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-26 13:30:48 +00:00 |
Malcolm Tredinnick
|
e5fa609ba7
|
Fixed #3640 -- Improved error handling in views.i18n.set_language(). Thanks
Jorge Gajon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-12 09:21:22 +00:00 |
Adrian Holovaty
|
31eb140b5a
|
Optimized JavaScript in django/views/i18n.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-01 03:17:18 +00:00 |
Adrian Holovaty
|
4a324ba7ac
|
Added USE_I18N setting, which lets you turn off internationalization overhead with a single setting. Defaults to True. Currently only affects the admin i18n JavaScript, but I'll be adding other optimizations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-01 03:09:14 +00:00 |
Adrian Holovaty
|
f69cf70ed8
|
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-02 01:31:56 +00:00 |
Adrian Holovaty
|
c12c225a66
|
Fixed a bunch of errors detected by pychecker -- unneeded imports and shadows of builtin variable names
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-19 01:06:12 +00:00 |
Georg Bauer
|
48b67fe4bb
|
fix for a problem with djangojs missing for some languages. Thx Olivier
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-06 20:30:56 +00:00 |
Georg Bauer
|
eaed1a7ddb
|
limit packages in javascript_catalog to settings.INSTALLED_APPS and 'django.conf'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-04 12:57:46 +00:00 |
Georg Bauer
|
5917fdcf2d
|
added infrastructure code for later javascript translating (currently not active)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-04 12:06:16 +00:00 |
Jacob Kaplan-Moss
|
5cf8f68423
|
Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-04 04:59:46 +00:00 |