• 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
..
apps Loading commit data...
bin Loading commit data...
conf Loading commit data...
contrib Loading commit data...
core Loading commit data...
db Loading commit data...
dispatch Loading commit data...
forms Loading commit data...
http Loading commit data...
middleware Loading commit data...
template Loading commit data...
templatetags Loading commit data...
test Loading commit data...
utils Loading commit data...
views Loading commit data...
__init__.py Loading commit data...
shortcuts.py Loading commit data...