summaryrefslogtreecommitdiff
path: root/mk/tools/msgfmt-msgctxt.awk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/tools/msgfmt-msgctxt.awk')
-rw-r--r--mk/tools/msgfmt-msgctxt.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/msgfmt-msgctxt.awk b/mk/tools/msgfmt-msgctxt.awk
index f7cfee3e0eb..2bb8b2b8b49 100644
--- a/mk/tools/msgfmt-msgctxt.awk
+++ b/mk/tools/msgfmt-msgctxt.awk
@@ -1,4 +1,4 @@
-# $NetBSD: msgfmt-msgctxt.awk,v 1.2 2010/04/10 00:46:23 obache Exp $
+# $NetBSD: msgfmt-msgctxt.awk,v 1.3 2012/09/10 16:07:44 adam Exp $
#
# Simple awk script to strip out .po entries with "msgctxt" or "#~|", so the
# resultant file can be handled by the msgfmt 0.14.x.
@@ -6,7 +6,7 @@
sub(/\r$/, "")
if (/^$/) { entry_end(); }
else if ($1 == "msgctxt" || $2 == "msgctxt") { skip = 1; }
-else if ($1 == "#~|") { skip = 1; }
+else if ($1 == "#~") { skip = 1; }
else { entry = entry $0 "\n" }
}