bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug finding arguments past the first one in C# code


From: Thomas Colin
Subject: bug finding arguments past the first one in C# code
Date: Thu, 2 Apr 2009 14:59:36 +0200

Hello,

Here is the command I would like to use:
* >find . -name '*.cs' -o -name '*.c' | xgettext -f - -k_ -kDescription
-kRightDescription:1,2 -kEditorParams:3 -L 'C#' -L C --from-code UTF-8 -o
po/myprogram.pot*

Everything works fine except for the second argument of RightDescription,
which isn't translated.

This command:
* >find . -name '*.cs' -o -name '*.c' | xgettext -f - -k_ -kDescription
-kRightDescription:2 -kEditorParams:3 -L 'C#' -L C --from-code UTF-8 -o
po/myprogram.pot
*
works fine, except of course it doesn't translate the first argument of
RightDescription.

We've made other attempts, such as (...)* -kRightDescription:1
-kRightDescription:2* (...), but nothing seemed to work.

Are we doing anything wrong?  Or is it, as we believe, a bug in xgettext ?
Thanks in advance for any help you could give us, and for the application
itself, which was very useful for us so far.

Best regards,

Thomas Colin

PS: I don't think this plays any role at all, but here is an example of the
C# code involved:
*class Rights
{
    [RightDescription("right1", "rightgroup1")]
    public bool myright;

    [RightDescription("right2","rightgroup1")]
    public bool myotherright;
}*


reply via email to

[Prev in Thread] Current Thread [Next in Thread]