bugGNU gettext - Bugs: bug #45394, xgettext -x should use more...

 
 

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

bug #45394: xgettext -x should use more relaxed rules for msgid validity

Submitted by:  None
Submitted on:  Wed 24 Jun 2015 03:59:20 PM UTC  
 
Category: Programmer toolsSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Thu 25 Jun 2015 03:07:54 AM UTC, comment #1:

Thanks for the suggestion, that sounds plausible.

By the way, I'm a bit surprised that the second example ("blabla\004blabla") is extracted even without -a. Maybe we should add some check in the PO writer.

Daiki Ueno <ueno>
Project Administrator
Wed 24 Jun 2015 03:59:20 PM UTC, original submission:

When the file with msgids to be excluded using the -x option contains problematic msgids, xgettext fails.
This is a problem when the -a option is used, as -a causes things like
msgid ""
or
msgid "blabla\004blabla"
in the output, which I try to remove using the -x, as in
xgettext -a some.c -x some.xcl

In my opinion either -x should accept strings that do not follow all the rules, or -a shouldn't output such msgids.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Updated the item)
  • -unavailable- added by ueno (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:05:23 PM UTChaibleCategoryNone=>Programmer tools

    Back to the top


    Powered by Savane 3.1-cleanup1