summaryrefslogtreecommitdiff
path: root/mk/tools/msgfmt.sh
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-05-20 22:13:23 +0000
committerjlam <jlam@pkgsrc.org>2006-05-20 22:13:23 +0000
commit65ded3b2ac27f2a5db8cc3dbc44df77a3e8476c6 (patch)
tree8c586a0d61a665e73eb7ae65b6e93b51bdde0f91 /mk/tools/msgfmt.sh
parent55b0077b284a8cfa3341de2d8454e4153a759fbc (diff)
downloadpkgsrc-65ded3b2ac27f2a5db8cc3dbc44df77a3e8476c6.tar.gz
We can simplify MSGSTRN_RE because we already catch the msgstr[0] and
msgstr[1] cases earlier.
Diffstat (limited to 'mk/tools/msgfmt.sh')
-rwxr-xr-xmk/tools/msgfmt.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/msgfmt.sh b/mk/tools/msgfmt.sh
index b48e573dec9..33ab24fe976 100755
--- a/mk/tools/msgfmt.sh
+++ b/mk/tools/msgfmt.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: msgfmt.sh,v 1.17 2006/05/20 22:10:18 jlam Exp $
+# $NetBSD: msgfmt.sh,v 1.18 2006/05/20 22:13:23 jlam Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -265,7 +265,7 @@ BEGIN {
# old format only supported a single translation per
# plural form.
#
- MSGSTRN_RE = OBSOLETE_RE "msgstr[[]([2-9]|[1-9][0-9]+)[]][ ]+"
+ MSGSTRN_RE = OBSOLETE_RE "msgstr[[][0-9]+[]][ ]+"
if ($0 ~ MSGSTRN_RE) {
while (result = getline) {
if ($0 !~ MSG_CONTINUATION_RE) break