Posted by Gábor Hojtsy on October 13, 2008 at 9:56pm
| Download | Size | md5 hash |
|---|---|---|
| potx-6.x-2.2.tar.gz | 34.53 KB | 12febd7dd7caea433573a6f74b182efd |
| potx-6.x-2.2.zip | 45.54 KB | 06ffb1543cd525631028c23fe507bec2 |
Last updated: December 24, 2010 - 23:40
This release includes way better coder module integration and Drupal 7 parsing support. Detailed changes since 6.x-2.1:
- Preliminary support for parsing Drupal 7.x source files. There is already a hook_perm() change in Drupal 7 which does not have handler code yet, but things which work the same way in Drupal 6 should work still.
- #309875 by douggreen and myself: Update and improve coder integration
- add the POTX_STATUS_STRUCTURED reporting mode
- rework potx_status() to accept and separately, instead
of integrating them into the messages in different random forms
- automatically append file and line info in all but the structured
reporting mode
- slightly better messages where 'Invalid marker content' was before
- updated to the latest coder API, using _coder_error() instead of theme('coder_warning', ...) - #213868 by Dave Cohen, Freso and myself: check our required token PHP extension, so people know that the module has an external dependency to make it work.
- #306384 by Takafumi: incorrect arguments were passed to potx_get_header(), resulting in SQL errors
- #312523 by stella any myself: better error messages for potx errors / coder reviews.
This expands on the existing structured reporting mode to separate the code excerpt, which we don't need in coder reviews.
Also unifies how the excerpt appears; now with the file name and line in one sentence for easy error location spotting if potx is used outside of coder. - #313789 noticed by stella, fix by myself: fix code review errors in potx module
- #309875 follow up by myself: coder counts lines from 0 not 1
- #306402 by myself: fix support for the new hook_perm() parsing with Drupal 7 code by skipping that Drupal 5/6 parser section. Drupal 7 now has native t() in hook_perm() so no reason to do magic.
- Remove bogus source strings from translation template
- More and improved test strings in potx-cli.php