← Back to team overview

gtg-user team mailing list archive

[Merge] lp:~gtg-user/gtg/bug-1047791 into lp:gtg

 

Nimit Shah has proposed merging lp:~gtg-user/gtg/bug-1047791 into lp:gtg.

Requested reviews:
  Gtg developers (gtg)
Related bugs:
  Bug #1047791 in Getting Things GNOME!: "plural and singular strings inverted"
  https://bugs.launchpad.net/gtg/+bug/1047791

For more details, see:
https://code.launchpad.net/~gtg-user/gtg/bug-1047791/+merge/123414

Fix for bug-1047791 "plural and singular strings inverted"

Uploaded the code to gtg-users because I have modified the strings as per Radina's suggestions. If you disagree, you can edit the strings.
-- 
https://code.launchpad.net/~gtg-user/gtg/bug-1047791/+merge/123414
Your team Gtg users is subscribed to branch lp:~gtg-user/gtg/bug-1047791.
=== modified file 'CHANGELOG'
--- CHANGELOG	2012-08-27 11:39:18 +0000
+++ CHANGELOG	2012-09-08 13:22:20 +0000
@@ -52,6 +52,7 @@
     * Fix for bug #897425: Write manpage for gtcli and update other manpages as well
     * Fix for bug-1037051 (Due date is not set for a new subtask), by Nimit Shah
     * Fix for bug #1036955: Due date is not preselected when start date is filled, by Steve Scheel
+    * Fix for bug #1047791: plural and singular strings are inverted
 
 2012-02-13 Getting Things GNOME! 0.2.9
     * Big refractorization of code, now using liblarch

=== modified file 'GTG/gtk/delete_dialog.py'
--- GTG/gtk/delete_dialog.py	2012-05-23 08:55:31 +0000
+++ GTG/gtk/delete_dialog.py	2012-09-08 13:22:20 +0000
@@ -86,10 +86,12 @@
             cdlabel3 = self.builder.get_object("cd-label3")
             cdlabel4 = self.builder.get_object("cd-label4")
             singular = len(tasklist)
-            label_text = ngettext("Deleting a task cannot be undone, "
-                                  "and will delete the following task: ",
-                                  "Deleting a task cannot be undone, "
-                                  "and will delete the following tasks: ",
+            label_text = ngettext("Deleting a tasks cannot be undone. "
+                                  "Are you sure you want to delete the follow\
+                                                                 ing tasks: ",
+                                  "Deleting a tasks cannot be undone, "
+                                  "Are you sure you want to delete the follow\
+                                                                  ing task: ",
                                   singular)
             cdlabel2.set_label(ngettext("Are you sure you want to delete this "
                                        "task?",