Commit graph

6 commits

Author SHA1 Message Date
obache
028eb8d55a Insert a dummy SPACE before the first "msgstr" start with "\n", if "msgid"
is also start with "\n", but msgctxt is inserted before it, to avoid msgfmt(1)'s
format mismatch check (`msgid' and `msgstr' entries do not both begin with '\n')
2013-05-06 13:20:07 +00:00
obache
551502f0ad fixes obsolete pattern check, move to before push msgctxt. 2013-05-05 00:34:22 +00:00
obache
18d734fe9e Instead of drop msgctxt, treat same as gettext-tools>=0.15.
tested with editors/medit and graphics/gimp and context specified translate
messages are appeared.
2013-05-03 12:31:43 +00:00
adam
52e97f0085 Quick-and-(possibly)-dirty fix to make gimp-2.8.2 build 2012-09-10 16:07:44 +00:00
obache
cb0f0812a6 strip \r in awk script, avoid to extra `tr' exec. 2010-04-10 00:46:23 +00:00
joerg
5f72a77f4a Refactor msgfmt.sh script to conditionally strip the msgid_plural for
old NetBSD versions and to strip msgctx if requested by the package.
This allows to replace the use of msgfmtstrip in various packages by
setting MSGFMT_STRIP_MSGCTX.
2009-03-20 16:13:02 +00:00