[Rt-commit] r13900 - in rt/3.8/trunk: sbin
elacour at bestpractical.com
elacour at bestpractical.com
Wed Jul 9 03:55:54 EDT 2008
Author: elacour
Date: Wed Jul 9 03:55:54 2008
New Revision: 13900
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/sbin/extract-message-catalog
Log:
r9950 at datura: manu | 2008-07-09 09:55:01 +0200
More "rt.pot" fixes.
Modified: rt/3.8/trunk/sbin/extract-message-catalog
==============================================================================
--- rt/3.8/trunk/sbin/extract-message-catalog (original)
+++ rt/3.8/trunk/sbin/extract-message-catalog Wed Jul 9 03:55:54 2008
@@ -59,7 +59,7 @@
$DEBUG = 1;
- at ARGV = (<lib/RT/I18N/*.po>, <lib/RT/I18N/*.pot>) unless @ARGV;
+ at ARGV = (<lib/RT/I18N/*.po>, "lib/RT/I18N/rt.pot") unless @ARGV;
$FILECAT = {};
@@ -83,6 +83,7 @@
# update all language dictionaries
foreach my $dict (@ARGV) {
+ $dict = "lib/RT/I18N/$dict.pot" if ( $dict eq 'rt' );
$dict = "lib/RT/I18N/$dict.po" unless -f $dict or $dict =~ m!/!;
my $lang = $dict;
More information about the Rt-commit
mailing list