Changes between Initial Version and Version 1 of Ticket #11240, comment 11


Ignore:
Timestamp:
May 20, 2011, 4:36:12 PM (13 years ago)
Author:
Ramiro Morales

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11240, comment 11

    initial v1  
    44> This means that Python string formatting specifiers rules should be followed when using the i18n template tags with string literals containing extrapolated variables or special meaning chars like `%`. In this case it means you literal would need to be `{% trans "findme 10%% " %}`
    55
    6 I've verified this is behaving correctly with trunk as of now and with 1.3. Ignore that advice I gave back then. I suspect r11459 fixed this in django so it works transparently for the app developer without the need to use `%%` with the `trans` i18n template tag.
     6I've verified this is behaving correctly with trunk as of now and with 1.3. Ignore that advice I gave back then. I suspect r14459 fixed this in django so it works transparently for the app developer without the need to use `%%` with the `trans` i18n template tag.
    77
    8 To test thing I created a template like this:
     8To test things I created a template like this:
    99
    1010{{{
Back to Top