summaryrefslogtreecommitdiff
path: root/django/templatetags/i18n.py
AgeCommit message (Expand)Author
2022-10-31Used more augmented assignment statements.Nick Pope
2022-07-14Fixed #33631 -- Marked {% blocktranslate asvar %} result as HTML safe.cheng
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2022-01-07Avoided isinstance(…, Variable) calls in FilterExpression.resolve().Keryn Knight
2021-08-02Fixed #32919 -- Optimized lexing & parsing of templates.Keryn Knight
2021-06-10Refs #24121 -- Added __repr__() to AdminForm, BlockContext, BlockTranslateNod...saeedblanchette
2020-09-29Fixed #18995 -- Made blocktranslate tag raise TemplateSyntaxError when plural...Jacob Walls
2019-12-18Refs #30585 -- Updated project templates and tests to use (block)translate tags.Mike Hansen
2019-12-18Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.Mike Hansen
2018-12-19Replaced loop with dictionary comprehension.Toivo Mattila
2018-05-10Replaced TOKEN_* constants by TokenType enums.Claude Paroz
2018-03-21Refs #27656 -- Removed "This will" prefix from djanog/templatetags/i18n.py do...Tim Graham
2017-07-31Avoided creating temporary lists for obtaining the first item.Sergey Fedoseev
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-01-22Refs #23919 -- Replaced six.reraise by raiseClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-08-12Fixed #24257 -- Corrected i18n handling of percent signs.Doug Beck
2015-07-01Fixed #21695 -- Added asvar option to blocktrans.Matthew Somerville
2015-06-02Fixed #24230 -- Added translated language name for i18n template tag/filter.Tomáš Ehrlich
2015-04-18Removed cases of six.iter* wrapped in a list()Curtis Maloney
2015-03-02Fixed #24372 - Replaced TokenParser usage with traditional parsing.Preston Timmons
2015-02-19Set context.template instead of context.engine while rendering.Aymeric Augustin
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2014-12-28Cleaned up the django.template namespace.Aymeric Augustin
2014-12-08Fixed #23968 -- Replaced list comprehension with generators and dict comprehe...Jon Dufresne
2014-11-23Encapsulated TEMPLATE_STRING_IF_INVALID in Engine.Aymeric Augustin
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
2014-02-08Fixed #21417 -- Expanded TEMPLATE_STRING_IF_INVALID in blocktransClaude Paroz
2013-11-08Fixed #5849 -- Strip whitespace from blocktransBouke Haarsma
2013-11-02Fixed the remaining E302 violations int eh django packageAlex Gaynor
2013-10-26Fixed up some more flake8 violations (this particular violation still has man...Alex Gaynor
2013-09-22Removed a few trailing backslashes.Aymeric Augustin
2013-08-29Fixed #20989 -- Removed explicit list comprehension inside dict() and tuple()Tim Graham
2013-03-19Fixed #18003 -- Preserved tracebacks when re-raising errors.konarkmodi
2013-03-03Fixed #19915 - Made blocktrans tag honor TEMPLATE_STRING_IF_INVALID.matiasb
2013-02-25Remove leading underscore from a function that's all growed up now.Carl Meyer
2013-02-23Used token.split_contents() for tokenisation in template tags accepting varia...Baptiste Mispelon
2012-10-23Fixed #19088 -- Always escape % inside blocktrans tagClaude Paroz
2012-08-07[py3] Fixed access to dict keys/values/items.Aymeric Augustin
2012-07-22[py3] Replaced basestring by six.string_types.Aymeric Augustin
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
2012-05-28Fixed #18393 -- Prevented blocktrans to crash when a variable name is badly f...Julien Phalip
2012-03-30Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks...Claude Paroz
2011-10-19Fixed #14806 -- Added support for contextual translations to the `trans` and ...Julien Phalip