• Doug Beck's avatar
    Fixed #24257 -- Corrected i18n handling of percent signs. · b7508896
    Doug Beck yazdı
    Refactored tests to use a sample project.
    
    Updated extraction:
    * Removed special handling of single percent signs.
    * When extracting messages from template text, doubled all percent signs
      so they are not interpreted by gettext as string format flags. All
      strings extracted by gettext, if containing a percent sign, will now
      be labeled "#, python-format".
    
    Updated translation:
    * Used "%%" for "%" in template text before calling gettext.
    * Updated {% trans %} rendering to restore "%" from "%%".
    b7508896
Adı
Son kayıt (commit)
Son güncelleme
..
eggs Loading commit data...
filter_tests Loading commit data...
jinja2/template_tests Loading commit data...
other_templates Loading commit data...
recursive_templates Loading commit data...
syntax_tests Loading commit data...
templates Loading commit data...
templatetags Loading commit data...
__init__.py Loading commit data...
alternate_urls.py Loading commit data...
broken_tag.py Loading commit data...
test_callables.py Loading commit data...
test_context.py Loading commit data...
test_custom.py Loading commit data...
test_engine.py Loading commit data...
test_extends.py Loading commit data...
test_library.py Loading commit data...
test_loaders.py Loading commit data...
test_logging.py Loading commit data...
test_nodelist.py Loading commit data...
test_parser.py Loading commit data...
test_response.py Loading commit data...
test_smartif.py Loading commit data...
test_unicode.py Loading commit data...
tests.py Loading commit data...
urls.py Loading commit data...
utils.py Loading commit data...
views.py Loading commit data...