bugGNU Enscript - Bugs: bug #55473, Fix pluralization

 
 

bug #55473: Fix pluralization

Submitted by:  Rafael Fontenelle <rafaelff1>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

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

    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.6