Ignore:
Timestamp:
May 2, 2011, 5:58:27 PM (11 years ago)
Author:
jordan
Message:

(trunk gtk) use ngettext() instead of gtr_dngettext() to address https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/760761

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/torrent-cell-renderer.c

    r12352 r12412  
    280280            {
    281281                g_string_append_printf( gstr,
    282                     gtr_ngettext( "Downloading from %1$'d of %2$'d connected peer",
    283                                   "Downloading from %1$'d of %2$'d connected peers",
    284                                   st->webseedsSendingToUs + st->peersSendingToUs ),
     282                    ngettext( "Downloading from %1$'d of %2$'d connected peer",
     283                              "Downloading from %1$'d of %2$'d connected peers",
     284                              st->webseedsSendingToUs + st->peersSendingToUs ),
    285285                    st->webseedsSendingToUs + st->peersSendingToUs,
    286286                    st->webseedsSendingToUs + st->peersConnected );
     
    289289            {
    290290                g_string_append_printf( gstr,
    291                     gtr_ngettext( "Downloading metadata from %1$'d peer (%2$d%% done)",
    292                                   "Downloading metadata from %1$'d peers (%2$d%% done)",
    293                                   st->peersConnected + st->peersConnected ),
     291                    ngettext( "Downloading metadata from %1$'d peer (%2$d%% done)",
     292                              "Downloading metadata from %1$'d peers (%2$d%% done)",
     293                              st->peersConnected + st->peersConnected ),
    294294                    st->peersConnected + st->webseedsSendingToUs,
    295295                    (int)(100.0*st->metadataPercentComplete) );
     
    300300        case TR_STATUS_SEED:
    301301            g_string_append_printf( gstr,
    302                 gtr_ngettext( "Seeding to %1$'d of %2$'d connected peer",
    303                               "Seeding to %1$'d of %2$'d connected peers",
    304                               st->peersConnected ),
     302                ngettext( "Seeding to %1$'d of %2$'d connected peer",
     303                          "Seeding to %1$'d of %2$'d connected peers",
     304                          st->peersConnected ),
    305305                st->peersGettingFromUs,
    306306                st->peersConnected );
Note: See TracChangeset for help on using the changeset viewer.