openbsd-ports/net/transmission/patches/patch-gtk_tr-window_c
2008-12-27 15:54:43 +00:00

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-gtk_tr-window_c,v 1.4 2008/12/27 15:54:43 naddy Exp $
--- gtk/tr-window.c.orig Tue Dec 9 02:39:03 2008
+++ gtk/tr-window.c Tue Dec 9 15:46:57 2008
@@ -705,13 +705,13 @@ updateTorrentCount( PrivateData * p )
if( torrentCount != visibleCount )
g_snprintf( buf, sizeof( buf ),
- ngettext( "%1$'d of %2$'d Torrent",
- "%1$'d of %2$'d Torrents",
+ ngettext( "%1$d of %2$d Torrent",
+ "%1$d of %2$d Torrents",
torrentCount ),
visibleCount, torrentCount );
else
- g_snprintf( buf, sizeof( buf ), ngettext( "%'d Torrent",
- "%'d Torrents",
+ g_snprintf( buf, sizeof( buf ), ngettext( "%d Torrent",
+ "%d Torrents",
torrentCount ),
torrentCount );
gtk_label_set_text( GTK_LABEL( p->gutter_lb ), buf );