69 | | The first is a potential source of bugs. If the translation comes back: |
70 | | {{{ |
71 | | Blocktrans extracción no debe duplicar escapar esta : % , a = %(a) s |
72 | | }}} |
73 | | Gettext will not complain when compiling messages because it is not marked `#, python-format` and django will blow up because string interpolation chokes on the single `%`. |
| 71 | 1. The string `1 percent sign %, 2 percent signs %%` is extracted as `1 percent sign %%, 2 percent signs %%` |
| 72 | |
| 73 | 2. A weird string like `{{item}} costs 10%, three percent signs %%%` will not get marked `#, python-format`, Gettext will not complain when compiling messages and django will blow up because string interpolation chokes on `%%%` (seeing it as a percent sign followed by a broken identifier). |