Commit 57371fcd authored by totten's avatar totten

CRM-15832 - Rewrite

I found it fairly hard to trace through which source-code files mapped to
which *.pot files; there were several interacting rules/patterns in and in extractor.php which determined that policy

This rewrite replaces *extractor.php with civistrings and moves all the
policy/pattern questions into (with a big "case"
statement).  For example, the question of "What files go into event.pot?"
could be answered by this clause:

function build_raw_pot() {
  case "$name" in
      _civistrings -o "$filepath" \
        CRM/Event \
        templates/CRM/Event \
        xml/templates/message_templates/event_* \

Any PHP/TPL/JS/HTML in those files/folders will be scanned for strings.
parent 0b698d27
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment