]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
move makepot to po/ dir with rest of it's files
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 14 Aug 2011 11:41:12 +0000 (11:41 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 14 Aug 2011 11:41:12 +0000 (11:41 +0000)
svn-id: @12316

po/Makefile.am
po/makepot.pl [moved from makepot.pl with 91% similarity]

index 03b0909a0e31e9481e03d5ac9efc2e9cd19c8bdf..e41fa19a4a72b1c8138bca6b4eb36c0799faea93 100644 (file)
@@ -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
similarity index 91%
rename from makepot.pl
rename to po/makepot.pl
index d1afd28e8759c62ec913a9d36af4ecbc35f735f6..3d64d0572a981c281171091975ebb97f7003f890 100755 (executable)
@@ -9,19 +9,19 @@
 # Changes:
 # 2000-08-25 Arkadiusz Miskiewicz <misiek@pld-linux.org>
 # - 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 <<EOF ;
-# Polish translation of rc-scripts.
+# translation of rc-scripts.
 #
 msgid \"\"
 msgstr \"\"
@@ -55,7 +55,7 @@ EOF
 for (my $a = 0; $a <= $#ARGV; $a++) {
        my $lnr = 0;
        my $filename = $ARGV[$a];
-       print STDERR " " .$filename . "\n"; 
+       print STDERR " " .$filename . "\n";
        open (POTSRC, "< " . $filename) || die "Can't open " . $filename;
        foreach (<POTSRC>) {
                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";
 };
-
-
-
-
This page took 0.219038 seconds and 4 git commands to generate.