bugGNU gettext - Bugs: bug #27516, Truncate the comments

 
 

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

bug #27516: Truncate the comments

Submitted by:  Gil Forcada <gforcada>
Submitted on:  Thu 24 Sep 2009 10:59:22 AM UTC  
 
Category: Programmer toolsSeverity: 3 - Normal
Item Group: NoneStatus: Not a Bug
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Fri 25 Sep 2009 07:55:53 AM UTC, comment #1:

You certainly mean "word wrap", not "truncate", since you say
that xgettext "truncates to 80 characters".

Truncating text is out of question, because it loses information,
which is not acceptable, even for merely temporary display.

Word wrapping has been implemented in the PO file format
because often the programs contain strings 79 columns wide
that are indented by 10 columns, without the possibility for
the programmer to fix this without hampering the look of his
source code.

This reasoning does not apply to extracted comments.
Programmers can word wrap the comments intended for translators
without hampering the look of the source code. If you got a
PO file where the programmer did not do this, or where he used
a different width than you desire, please discuss this with the
programmer. The "Report-Msgid-Bugs-To" field in the header will
direct you.

Adding automatic word wrapping to the extracted comments has
the potential to often do more bad than good. Therefore I find
it better to encourage communication between the translator and
the programmer.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Thu 24 Sep 2009 10:59:22 AM UTC, original submission:

It's really nice that even if you put a sentence really long, xgettext truncates them to 80 characters, but it would be really nice if also truncates in the same way the comments put by developers, that way the resulting file will fit perfectly on a terminal or in a meld window.

Gil Forcada <gforcada>

 

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 (Posted a comment)
  • -unavailable- added by gforcada (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 12:26:20 AM UTChaibleCategoryNone=>Programmer tools
    Fri 25 Sep 2009 07:56:00 AM UTChaibleOpen/ClosedOpen=>Closed
    Fri 25 Sep 2009 07:55:53 AM UTChaibleStatusNone=>Not a Bug
      Assigned toNone=>haible

    Back to the top


    Powered by Savane 3.1-cleanup1