summaryrefslogtreecommitdiff
path: root/django/utils
AgeCommit message (Collapse)Author
2005-11-03i18n: fixed documentation and message scanner for constant string translationsGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03i18n: implemented the proposed syntax change to {% trans %} and {% blocktrans %}Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02i18n: added get_available_languages tag and added a default view for ↵Georg Bauer
switching languages (both from the django-dev posting of jacob) git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01i18n: removed debugging leftovers (thx. rjwittams)Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31i18n: merged to [1025] from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29Fixed #612 - added cache control headers (thanks, hugo)Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25Improved autoreloader to ignore files that might be in eggs. Refs #596Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23i18n: added missing translations of day names, month names and language ↵Georg Bauer
selection git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23i18n: merged to [992] from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22Fixed #479 -- Implemented time-zone formats in dateformat. Thanks, SuneAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20i18n: merged to [978] from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20Fixed #654 -- Fixed bug in [969]. Thanks, korpios@gmail.comAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20i18n: removed special casing for en and en-* - we now have an english ↵Georg Bauer
translation file, so just handle en the same way as other languages git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20Lightly refactored django.utils.dateformat to make it use less code. Also ↵Adrian Holovaty
integrated some of Sune's improvements from the #479 patch, including support for backslash escaping. Also vastly improved template docs for the {% now %} tag git-svn-id: http://code.djangoproject.com/svn/django/trunk@969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19i18n: reworked part of the translation loader to be cleaner, simpler and fasterGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18i18n: django-admin.py forces english translation because of it's generated ↵Georg Bauer
SQL stuff (like permission names) git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17i18n: fixed a problem with the object history and lazy translations of field ↵Georg Bauer
names git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17i18n: once again worked over the django_language parameter (cookie, get, ↵Georg Bauer
post, session) format. It's now back to HTML format (en-us, not en_US) git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17i18n: fixed handling of gettext_lazy - now it doesn't memoize function ↵Georg Bauer
values any more git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-16i18n: merged to [885] in trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-16i18n: added gettext_lazy - lazy translation for stuff like model help textGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-15Fixed #616 -- Added a process_exception() hook to middleware framework. ↵Adrian Holovaty
Thanks, Hugo git-svn-id: http://code.djangoproject.com/svn/django/trunk@880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14i18n: fixed a bug with Python 2.3 support (double encoding of stuff)Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12i18n: fixed language code reporting - now the actually used language code is ↵Georg Bauer
reported, not the requested language code (as before). Additionally explicit language codes requested in GET, P OST or otherwise are checked against availability, too. git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12changed layout of language stuff to be oriented after locale names, not ↵Georg Bauer
language names (from accept-language header) git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11i18n: merged r815:r843 from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11i18n: corrected sublanguage handling (de-de now mapps to de, if de-de isn't ↵Georg Bauer
present) in django.utils.translation git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11i18n: added a way to merge in some more locale paths via settingsGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11i18n: fixed projectpath discovery. Now the DJANGO_SETTINGS_MODULE ↵Georg Bauer
environment variable is used to find the project base git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11i18n: fixed translation resolving - now project translations are pulled in ↵Georg Bauer
allways (if they exist) git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11i18n: fixed an import error (I really shouldn't make last-minute-changes)Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11i18n: fixed syntax errorGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11i18n: made DjangoTranslations compatible with Python 2.3Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10Fixed #600 -- decorator_from_middleware now handles process_view. Thanks, HugoAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09i18n: merged r787:r814 from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09Moved vary decorators from django.utils.cache to django.views.decorators.varyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08Added django.utils.cache, from Hugo's #580 patch. Refs #580.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08Added django.utils.decorators, from Hugo's #580 patch. Refs #580.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06i18n: added support for the new DEFAULT_CHARSET setting in translatorsGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06i18n: merged r776:r786 from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06Fixed #333 and #440 -- Split DEFAULT_MIME_TYPE setting into ↵Adrian Holovaty
DEFAULT_CONTENT_TYPE and DEFAULT_CHARSET. Thanks, Maniac. git-svn-id: http://code.djangoproject.com/svn/django/trunk@786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-03take django_language either from GET or POST (GET has preference if bothGeorg Bauer
are given) git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-03i18n: added GET-support to language selection, added serbian translation ↵Georg Bauer
file and added some convenience stuff to the DjangoContext - all from a patch by nesh on the list. Thanks nesh! References #65. git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-01i18n: fixed a rather stupid bug in language discovery (sort descending by ↵Georg Bauer
preference value instead ascending) git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-01i18n: language en is now successfully recognized on accept-header parsingGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-01i18n: switched ngettext to make use of the standard ngettext instead ↵Georg Bauer
simulating via gettext git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-01i18n now has support for ngettext and has unittestsGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30added a gettext_noop function to django.utils.translationGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29i18n patch - references #65Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27Fixed #567 -- Added HttpRequest.has_key() method. Thanks, wojtek3@brandlay.comAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@711 bcc190cf-cafb-0310-a4f2-bffc1f526a37