[Jifty-commit] r802 - jifty/trunk/lib/Jifty/Script
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Apr 2 11:36:35 EDT 2006
Author: autrijus
Date: Sun Apr 2 11:36:35 2006
New Revision: 802
Modified:
jifty/trunk/lib/Jifty/Script/Po.pm
Log:
* Fix "jifty po" to correctly extract PO files in the gettext-compatible format.
Modified: jifty/trunk/lib/Jifty/Script/Po.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/Po.pm (original)
+++ jifty/trunk/lib/Jifty/Script/Po.pm Sun Apr 2 11:36:35 2006
@@ -80,6 +80,7 @@
}
+use constant USE_GETTEXT_STYLE => 1;
sub update_catalog {
my $self = shift;
my $translation = shift;
@@ -87,7 +88,7 @@
$logger->info( "Updating message catalog '$translation'");
$LMExtract->read_po($translation) if ( -f $translation );
$LMExtract->compile;
- $LMExtract->write_po($translation);
+ $LMExtract->write_po($translation, USE_GETTEXT_STYLE);
}
More information about the Jifty-commit
mailing list