]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - catgets/xopen-msg.awk
nsswitch: use new internal API (core)
[thirdparty/glibc.git] / catgets / xopen-msg.awk
index cf7768c24d54d632ffaec5ca53b1a5c8549379ab..5eb693d93deefe9d1eebc9f4284d374e857f22bb 100644 (file)
@@ -1,5 +1,5 @@
 # xopen-msg.awk - Convert Uniforum style .po file to X/Open style .msg file
-# Copyright (C) 2012-2013 Free Software Foundation, Inc.
+# Copyright (C) 2012-2020 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -12,7 +12,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, see <http://www.gnu.org/licenses/>.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
 #
 #
 # The first directive in the .msg should be the definition of the
@@ -58,6 +58,11 @@ $1 ~ "msg(id|str)" {
     next
 }
 
+/^"POT-Creation-Date: [0-9-]+ [0-9:+-]+\\n"/ {
+    # Ignore POT-Creation-Date to match what is done in intl/Makefile.
+    next
+}
+
 /^".*"/ {
     # Append to current message
     sub(/^"/, "", $0)