nitrojunkie / gettext-commons

Automatically exported from code.google.com/p/gettext-commons
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Add gettext-ant-tasks support for using fuzzy entries in msgfmt output #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to be able to include fuzzy entries in the msgfmt output when 
using GettextDistTask. Attached is a patch to enable this.

Sample usage is as follows:

<taskdef name="gettext-dist"
  classname="org.xnap.commons.ant.gettext.GettextDistTask"
  classpath="..." />
<gettext-dist
  targetBundle="i18n.Messages"
  poDirectory="src/resources/po"
  outputDirectory="..."
  useFuzzy="true" />

The default value remains the same (false) to preserve existing behavior.

Original issue reported on code.google.com by pschnei...@gmail.com on 28 Feb 2012 at 7:11

Attachments: