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

Submitter:  Markus Gothe <nihilus>
Submitted:  Wed 21 Dec 2016 01:10:05 PM UTC
   
 
Category:  Programmer interface Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  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>
Group administrator
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-f8d8.
    Corresponding source code