diff options
author | jlam <jlam@pkgsrc.org> | 2006-05-20 22:13:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-05-20 22:13:23 +0000 |
commit | 65ded3b2ac27f2a5db8cc3dbc44df77a3e8476c6 (patch) | |
tree | 8c586a0d61a665e73eb7ae65b6e93b51bdde0f91 /mk/tools/msgfmt.sh | |
parent | 55b0077b284a8cfa3341de2d8454e4153a759fbc (diff) | |
download | pkgsrc-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-x | mk/tools/msgfmt.sh | 4 |
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 |