Put a plain $FreeBSD$ in the generated PO, rather than an ID string that

has been expanded by Subversion.  Thanks to bjk!
This commit is contained in:
Warren Block 2016-01-26 23:27:44 +00:00
parent 6f2c952e7e
commit e7f931fbcf
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48097

View file

@ -290,7 +290,9 @@ PO_CATALOG_FILES+= ${EXTRA_CATALOGS}
PO_XMLLINT= env XML_CATALOG_FILES="${PO_CATALOG_FILES}" ${PREFIX}/bin/xmllint
# fix settings in PO file
POSET_CMD= ${SED} -i '' -e '1s,^,\#$$FreeBSD$$\${.newline},' \
IDSTR1= $$Free
IDSTR2= BSD$$
POSET_CMD= ${SED} -i '' -e '1s,^,\#${IDSTR1}${IDSTR2}\${.newline},' \
-e 's,^\(\"Language-Team:.*\\n\"\),\1\${.newline}\"Language: ${PO_LANG}\\n\",' \
-e 's,^\"Content-Type: text/plain; charset=.*\\n,\"Content-Type: text/plain; charset=${PO_CHARSET}\\n,'