bugGNU gettext - Bugs: bug #42232, xgettext does not work well with...

 
 

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

bug #42232: xgettext does not work well with GIMP style Scheme strings

Submitted by:  Marco Ciampa <ciampix>
Submitted on:  Tue 29 Apr 2014 10:32:36 AM UTC  
 
Category: SchemeSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Daiki Ueno <ueno>
Open/Closed: Closed

Sat 03 May 2014 09:46:06 AM UTC, comment #3:

Hi,

For information, I just tested with development xgettext. Seems to work fine now. :-) Thanks!

Jehan <jehan_zemarmot>
Wed 30 Apr 2014 09:09:46 AM UTC, comment #2:

Hmm, I wonder why they chose the syntax extension instead of the normal function call. Pushed an ad-hoc patch anyway:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?h=maint&id=b1657be3e0236a29562c0a261a9d2a515e117c45

Daiki Ueno <ueno>
Project AdministratorIn charge of this item.
Tue 29 Apr 2014 10:54:36 AM UTC, comment #1:

See also this:

https://bugzilla.gnome.org/show_bug.cgi?id=720052

Marco Ciampa <ciampix>
Tue 29 Apr 2014 10:32:36 AM UTC, original submission:

xgettext extract strings just in the form (_ "....") so the following valid Scheme source:

https://git.gnome.org/browse/gimp/tree/plug-ins/script-fu/scripts/paste-as-brush.scm

(script-fu-register "script-fu-paste-as-brush"
_"New _Brush..."
_"Paste the clipboard contents into a new brush"
"Michael Natterer <mitch@gimp.org>"
"Michael Natterer"
"2005-09-25"
""
SF-STRING _"Brush name" "My Brush"
SF-STRING _"File name" "mybrush"
SF-ADJUSTMENT _"Spacing" '(25 0 1000 1 1 1 0)
)

extract some but not all strings.

Marco Ciampa <ciampix>

 

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 jehan_zemarmot (Posted a comment)
  • -unavailable- added by ueno (Posted a comment)
  • -unavailable- added by ciampix (Submitted the item)
  •  

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 11:50:24 AM UTChaibleCategoryNone=>Scheme
      Assigned toNone=>ueno
    Wed 30 Apr 2014 09:09:46 AM UTCuenoStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1