[Po4a-devel][CVS] po4a po4a,1.11,1.12

Martin Quinson po4a-devel@lists.alioth.debian.org
Mon, 19 Jul 2004 20:29:01 +0000


Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv13301

Modified Files:
	po4a 
Log Message:
sort the documents in po files

Index: po4a
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- po4a	19 Jul 2004 10:21:12 -0000	1.11
+++ po4a	19 Jul 2004 20:28:59 -0000	1.12
@@ -338,7 +338,7 @@
 # update all translations
 
 foreach $lang (sort keys %po_filename) {
-    DOC: foreach my $master (keys %document) {
+    DOC: foreach my $master (sort keys %document) {
 	next unless defined $document{$master}{$lang};
 	
 	my $doc=Locale::Po4a::Chooser::new($document{$master}{'format'} ,%options);