GTG

plural and singular strings inverted

Bug #1047791 reported by Radina Matic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Invalid
Undecided
Unassigned

Bug Description

 Located in GTG/gtk/delete_dialog.py:63

English singular: Deleting a task cannot be undone, and will delete the following tasks:
English plural: Deleting a task cannot be undone, and will delete the following task:

Shouldn't it be the other way around? I would also suggest rephrasing the message to:

"Deleting tasks cannot be undone. Are you sure you want to delete the following task: " (singular)
"Deleting tasks cannot be undone. Are you sure you want to delete the following tasks: " (plural)

Changed in gtg:
milestone: none → 0.3
Revision history for this message
Nimit Shah (nimit-svnit) wrote :

Have created a branch with required changes.

Nimit Shah (nimit-svnit)
Changed in gtg:
status: New → Confirmed
Nimit Shah (nimit-svnit)
Changed in gtg:
status: Confirmed → In Progress
Revision history for this message
Izidor Matušov (izidor) wrote :

Radina, are you sure about this bug report? I tested it in the current GTG and it matches correctly. (Delete a single task vs delete multiple tasks) Also manual for ngettext method says the first argument should be singular, the second plural, what is correct.

Setting to Incomplete. Nimit, your patch has to wait because of the bug itself. I think it will add some redundant whitespace in the message, please split the messages by whole words and put each line in its own quotes. (Look for the reference the original code).

Changed in gtg:
status: In Progress → Won't Fix
status: Won't Fix → Incomplete
Revision history for this message
Izidor Matušov (izidor) wrote :

Translation templates (at least for Slovak) are correct, code looks correct => closing as Won't Fix

Changed in gtg:
milestone: 0.3 → none
status: Incomplete → Won't Fix
status: Won't Fix → Invalid
Revision history for this message
Izidor Matušov (izidor) wrote :

Sorry, the correct state should be "Invalid"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.