lyonplus / gettext-commons

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

[PATCH] make --lang-Parameter in gettext-ant-tasks/extract-messages configurable #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. tried to extract some i18n-strings from a Mono-project with the ant-tasks
2. unfortunately it assumed that the lang is Java so nothing was extracted
3. therefore i patched the library to allow " language="--lang=C#" "
(--lang=java is the default value so existing projects don't break)

What is the expected output? What do you see instead?
attached is the diff-file

What version of the product are you using? On what operating system?
v0.9.7 on MacOS

Original issue reported on code.google.com by michael....@googlemail.com on 16 Apr 2010 at 10:42

Attachments:

GoogleCodeExporter commented 8 years ago
I wasn't aware that ant had support for .net. I applied your patch and 
committed it to svn, 
thank you.

Would more modifications have to be made to also allow message bundle 
generation for .net? 
msgfmt seems to support --chsharp and --csharp-resources as output options.

Original comment by berge...@gmail.com on 23 Apr 2010 at 1:44