bugGNU Enscript - Bugs: bug #55473, Fix pluralization

 
 

bug #55473: Fix pluralization

Submitter:  Rafael Fontenelle <rafaelff1>
Submitted:  Mon 14 Jan 2019 08:03:19 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Mon 14 Jan 2019 08:03:19 PM UTC, original submission:  

Description:

In the file src/main.c, line 1780, there is a Plural-Form in the strings "%d line was/were %s", where %d is the number of line(s) and %s can have value "truncated" or "wrapped". The problem is that both words (truncated and wrapped) may have different spelling in singular and plural forms.  That's my case in Brazilian Portuguese.

Proposal:

I propose to duplicate the Plural-Form string to "%d line was/were truncated" and "%d line was/were wrapped", removing the "%s". This will increase one string for the translator, but one will be able to translated the plural-form correctly.

See attached diff for a patch of this proposal

Also, when/if fix this bug, please update translation file in Translation Project.

Rafael Fontenelle <rafaelff1>

 

Attached Files

Attached Files
file #45975:  fix-plural-string.diff added by rafaelff1 (828B - text/x-patch)

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rafaelff1 (Submitted the item)
  •  

    Votes

    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.

    Only logged-in users can vote.

     

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

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-14 rafaelff1 Attached File- Added fix-plural-string.diff, #45975

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code