From 3832969af7b0c0103371aeddb99c34b834726fdf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 14 Aug 2011 11:41:12 +0000 Subject: [PATCH] move makepot to po/ dir with rest of it's files svn-id: @12316 --- po/Makefile.am | 2 +- makepot.pl => po/makepot.pl | 18 +++++++----------- 2 files changed, 8 insertions(+), 12 deletions(-) rename makepot.pl => po/makepot.pl (91%) diff --git a/po/Makefile.am b/po/Makefile.am index 03b0909a..e41fa19a 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -5,7 +5,7 @@ EXTRA_DIST = @POTFILES@ @PACKAGE@.pot POTSRC = @POTSRC@ -makepot = $(top_srcdir)/makepot.pl +makepot = $(top_srcdir)/po/makepot.pl CATOBJEXT = .gmo INSTOBJEXT = .mo diff --git a/makepot.pl b/po/makepot.pl similarity index 91% rename from makepot.pl rename to po/makepot.pl index d1afd28e..3d64d057 100755 --- a/makepot.pl +++ b/po/makepot.pl @@ -9,19 +9,19 @@ # Changes: # 2000-08-25 Arkadiusz Miskiewicz # - support for $(nls "xyz"), progress "xyz" and '' instead of "". -# +# my %pot; sub potentry { my( $msg, $lnr, $filename ) = @_; -#print STDERR "msg = $msg\nlnr = $lnr\nfilename = $filename\n"; +#print STDERR "msg = $msg\nlnr = $lnr\nfilename = $filename\n"; if (defined $pot{"$msg"}) { $pot{"$msg"} = $pot{"$msg"} . "\n#: $filename:$lnr"; -#print STDERR "append $msg\n"; +#print STDERR "append $msg\n"; } else { $pot{"$msg"} = "\n#: $filename:$lnr"; -#print STDERR "new $msg\n"; +#print STDERR "new $msg\n"; }; }; @@ -29,7 +29,7 @@ print STDERR "\n". $#ARGV . " files\n"; if (1) { print <) { chop; @@ -76,13 +76,9 @@ for (my $a = 0; $a <= $#ARGV; $a++) { }; close (POTSRC); - + }; foreach $key (keys %pot) { print $pot{"$key"} . "\nmsgid \"$key\"\nmsgstr \"\"\n"; }; - - - - -- 2.44.0