Changes between Initial Version and Version 1 of Ticket #20422, comment 4


Ignore:
Timestamp:
Mar 14, 2014, 11:37:20 AM (11 years ago)
Author:
Florian Demmer

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20422, comment 4

    initial v1  
    88
    99Being able to exclude paths is important to eg. easily exclude certain apps in a project from translation.
     10
     11EDIT:
     12
     13I looked at the code and I see now that as usual things are not that simple and why the tests still worked after that patch.
     14
     15There is a test checking for {{{ignore_dir/*}}} which works, but there is none like {{{ignore_dir/*.html}}}.
     16
     17My usecase (that broke with 1.6) was a pattern like {{{apps/*/admin.py}}} to ignore messages in admin (of all apps) when generating po files for customers, who are only supposed to translate messages from views and templates. Using the full path for pattern matching makes that work again, but maybe i am not seeing the complete picture here.
     18
Back to Top