]> granicus.if.org Git - transmission/commitdiff
(gtk) #5235 'Plural wrong in torrent-cell-renderer' -- fix with patch by RamsesDeNorre
authorJordan Lee <jordan@transmissionbt.com>
Mon, 21 Jan 2013 00:15:21 +0000 (00:15 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Mon, 21 Jan 2013 00:15:21 +0000 (00:15 +0000)
gtk/torrent-cell-renderer.c

index 46f23c3e8ad2b2ad619f49676e1027536f55852e..e6ef9b2666cccd066f8d3a3b9b1da722214447d6 100644 (file)
@@ -274,7 +274,7 @@ getStatusString (GString           * gstr,
                 g_string_append_printf (gstr, _("Downloading from %1$'d of %2$'d %3$s and %4$'d %5$s"),
                                         st->peersSendingToUs,
                                         st->peersConnected,
-                                        ngettext ("peer","peers",st->peersSendingToUs),
+                                        ngettext ("peer","peers",st->peersConnected),
                                         st->webseedsSendingToUs,
                                         ngettext ("web seed","web seeds",st->webseedsSendingToUs));
             }
@@ -291,7 +291,7 @@ getStatusString (GString           * gstr,
                 g_string_append_printf (gstr, _("Downloading from %1$'d of %2$'d %3$s"),
                                         st->peersSendingToUs,
                                         st->peersConnected,
-                                        ngettext ("peer","peers",st->peersSendingToUs));
+                                        ngettext ("peer","peers",st->peersConnected));
             }
             break;
         }