bugGNU gettext - Bugs: bug #49901, Bad declaration of 'npgettext'...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #49901: Bad declaration of 'npgettext' and 'dnpgettext' in gettext.h

Submitted by:  Markus Gothe <nihilus>
Submitted on:  Wed 21 Dec 2016 01:10:05 PM UTC  
 
Category:  Programmer interface Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  Bruno Haible <haible>
Open/Closed:  Closed

Sat 06 Jan 2018 03:51:54 PM UTC, comment #2:

Yes, the manual, section "Using contexts for solving ambiguities", says "In a call of this macro, msgctxt and msgid must be string literals." And the comments in the gettext.h file tell the same thing.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Wed 21 Dec 2016 02:38:19 PM UTC, comment #1:

Never mind this! I didn't understood the manual. If not using hardcoded string literals this will not work which is described in the manual.

Markus Gothe <nihilus>
Wed 21 Dec 2016 01:10:05 PM UTC, original submission:

There is a bug here:

'Msgctxt GETTEXT_CONTEXT_GLUE Msgid'

Msgctxt should be an argument on its own and thus have it be something like:

'Msgctxt, GETTEXT_CONTEXT_GLUE Msgid'

Markus Gothe <nihilus>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by nihilus (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-06 haible StatusNone => Invalid
        Assigned toNone => haible
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.3