|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Packaging or po checker script?It has happened quite a few times to me that after committing new po files, the next morning only to find it fails drupal.org packaging script. The error could simply be a typo in header, or mismatching line breaks. PoEdit doesn't seem to be able to catch the latter. The fact I had to file a support request to have release node removed before I could cvs untag it, makes it more frustrating.
So I am wondering if the drupal.org packaging script available for download, or is there a similar checker script I can run before committing to CVS? _______________________________________________ translations mailing list translations@... http://lists.drupal.org/mailman/listinfo/translations |
|
|
Re: Packaging or po checker script?-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Jim Li schrieb: > It has happened quite a few times to me that after committing new po files, > the next morning only to find it fails drupal.org packaging script. The > error could simply be a typo in header, or mismatching line breaks. PoEdit > doesn't seem to be able to catch the latter. The fact I had to file a > support request to have release node removed before I could cvs untag it, > makes it more frustrating. > > So I am wondering if the drupal.org packaging script available for download, > or is there a similar checker script I can run before committing to CVS? The script is part of project.module: modules/project/release/package-release-nodes.php Cheers, Gerhard > > > ------------------------------------------------------------------------ > > _______________________________________________ > translations mailing list > translations@... > http://lists.drupal.org/mailman/listinfo/translations -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIIiXofg6TFvELooQRAlzRAJsE5pblwLGqIS+u9DsgeL222kVq9ACfX/IR gNeQKPR8uOMXzv/XYHspRbY= =hYwF -----END PGP SIGNATURE----- _______________________________________________ translations mailing list translations@... http://lists.drupal.org/mailman/listinfo/translations |
|
|
Re: Packaging or po checker script?Hi,
you can also run the following command if you're on Linux/Mac OS X/ Cygwin: for i in *.po; do echo -n "$i: " ; msgfmt --statistics $i ; done That will display any errors with files as well as statistics for all po files in the current directory. Konstantin On 07.05.2008, at 22:57, Jim Li wrote: > It has happened quite a few times to me that after committing new po > files, the next morning only to find it fails drupal.org packaging > script. The error could simply be a typo in header, or mismatching > line breaks. PoEdit doesn't seem to be able to catch the latter. The > fact I had to file a support request to have release node removed > before I could cvs untag it, makes it more frustrating. > > So I am wondering if the drupal.org packaging script available for > download, or is there a similar checker script I can run before > committing to CVS? > _______________________________________________ > translations mailing list > translations@... > http://lists.drupal.org/mailman/listinfo/translations _______________________________________________ translations mailing list translations@... http://lists.drupal.org/mailman/listinfo/translations |
|
|
Re: Packaging or po checker script?Thanks! I was just reading the package_release_contrib_d6_translation() function and starting to realize msgfmt is what I need.
On Wed, May 7, 2008 at 6:19 PM, Konstantin Käfer <kkaefer@...> wrote: Hi, _______________________________________________ translations mailing list translations@... http://lists.drupal.org/mailman/listinfo/translations |
| Free embeddable forum powered by Nabble | Forum Help |