Running the generation of translation templates (Translate interface > extract) for civicrm 2.2 will raise the following error:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /path-to-drupal/sites/demo/modules/potx/potx.inc on line 139

Civicrm is not conform to drupal but this should not break the script.

Comments

gábor hojtsy’s picture

Status: Active » Closed (duplicate)

Duplicate of #368053: Implement Drupal 7 files[] .info file keys as potx parsing hints which is a more generic version of the same: being able to specify which subdirectories not to extract from. That would allow not going into the sublibrary under you module.

Please reopen if not the same issue.