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
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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>

 

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

Attach Files:
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rafaelff1 (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.

    Only logged-in users can vote.

     

    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.14-f13d.
    Corresponding source code