[contributions(DRUPAL-5):goba] /modules/potx potx-cli.php potx.inc potx.module
User: goba Branch: DRUPAL-5 Date: Wed, 27 Jun 2007 13:08:25 +0000 Modified files: /modules/potx potx-cli.php potx.inc potx.module Log message: vastly improved potx backend based on ideas from Bruno Massa, but with improved implementation: - do not pass tokens, token lookup, and gathered strings around, it pollutes the argument lists and is a memory hog use global variables instead, which look less nice, but better for performance - allow potx to be used as an extraction API, by providing custom callbacks to store file versions, strings found, and even if building the basic POT files, a callback for the header generated - add drupal_set_message() functionality for web interface, allow marker error to be translateable - fix info file folding issues previously reported by Alexander Hass Tested the changes both with the web interface and with the command line interface. Diffed the results against the Drupal core translation templates in CVS, and all seem to be right. The web interface even has the info folding bug fixed. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/potx/potx-cli.php&... http://cvs.drupal.org/diff.php?path=contributions/modules/potx/potx.inc&old=... http://cvs.drupal.org/diff.php?path=contributions/modules/potx/potx.module&o...
participants (1)
-
drupal-cvs@drupal.org