• 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
..
__init__.py Loading commit data...
test_autoescape.py Loading commit data...
test_basic.py Loading commit data...
test_builtins.py Loading commit data...
test_cache.py Loading commit data...
test_comment.py Loading commit data...
test_cycle.py Loading commit data...
test_exceptions.py Loading commit data...
test_extends.py Loading commit data...
test_filter_syntax.py Loading commit data...
test_filter_tag.py Loading commit data...
test_firstof.py Loading commit data...
test_for.py Loading commit data...
test_i18n.py Loading commit data...
test_if.py Loading commit data...
test_if_changed.py Loading commit data...
test_if_equal.py Loading commit data...
test_include.py Loading commit data...
test_invalid_string.py Loading commit data...
test_list_index.py Loading commit data...
test_load.py Loading commit data...
test_lorem.py Loading commit data...
test_multiline.py Loading commit data...
test_named_endblock.py Loading commit data...
test_now.py Loading commit data...
test_numpy.py Loading commit data...
test_regroup.py Loading commit data...
test_setup.py Loading commit data...
test_simple_tag.py Loading commit data...
test_spaceless.py Loading commit data...
test_ssi.py Loading commit data...
test_static.py Loading commit data...
test_template_tag.py Loading commit data...
test_url.py Loading commit data...
test_verbatim.py Loading commit data...
test_width_ratio.py Loading commit data...
test_with.py Loading commit data...