]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Remove the POT-Creation-Dates from the small PO files.
authorBruno Haible <bruno@clisp.org>
Sun, 30 Nov 2003 16:17:40 +0000 (16:17 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:23 +0000 (12:11 +0200)
gettext-tools/examples/ChangeLog
gettext-tools/examples/po/mmsmallpo.sh

index a8bf85457dc89fc966c6f6c489d620b929e14253..f774d4f2e0afe4278afbcaabf4eb6f3c593b0b52 100644 (file)
@@ -4,6 +4,8 @@
 
 2003-11-30  Bruno Haible  <bruno@clisp.org>
 
+       * mmsmallpo.sh: Remove the POT-Creation-Date line from the generated PO
+       file.
        * Makefile.am (EXAMPLESFILES): Add hello-pascal/hello.rst.
 
 2003-11-30  Bruno Haible  <bruno@clisp.org>
index 6f36bbd04f68847ecde5fb6c7f312971ea6da36c..c9204d1ff5c313f41369603b9715ba1c2c482dd3 100755 (executable)
@@ -9,5 +9,16 @@ language=$2
 
 msgmerge $language.po $directory.pot -o - | \
 msgattrib --no-obsolete | \
-sed -e "s, $directory/, ,g" | sed -e "s,gettext-examples,$directory," \
+sed -e "s, $directory/, ,g" | sed -e "s,gettext-examples,$directory," | \
+sed -e '/^"POT-Creation-Date: .*"$/{
+x
+s/P/P/
+ta
+g
+d
+bb
+:a
+x
+:b
+}' \
   > ../$directory/po/$language.po