Changeset 12412 for trunk/gtk/dialogs.c


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/dialogs.c

    r12068 r12412  
    9393    if( !delete_files )
    9494    {
    95         g_string_printf( primary_text, gtr_ngettext( "Remove torrent?",
    96                                                      "Remove %d torrents?",
    97                                                      count ), count );
     95        g_string_printf( primary_text, ngettext( "Remove torrent?",
     96                                                 "Remove %d torrents?",
     97                                                 count ), count );
    9898    }
    9999    else
    100100    {
    101         g_string_printf( primary_text, gtr_ngettext( "Delete this torrent's downloaded files?",
    102                                                      "Delete these %d torrents' downloaded files?",
    103                                                      count ), count );
     101        g_string_printf( primary_text, ngettext( "Delete this torrent's downloaded files?",
     102                                                 "Delete these %d torrents' downloaded files?",
     103                                                 count ), count );
    104104    }
    105105
     
    108108    if( !incomplete && !connected )
    109109    {
    110         g_string_assign( secondary_text, gtr_ngettext(
     110        g_string_assign( secondary_text, ngettext(
    111111                "Once removed, continuing the transfer will require the torrent file or magnet link.",
    112112                "Once removed, continuing the transfers will require the torrent files or magnet links.",
     
    115115    else if( count == incomplete )
    116116    {
    117         g_string_assign( secondary_text, gtr_ngettext( "This torrent has not finished downloading.",
    118                                                        "These torrents have not finished downloading.",
    119                                                        count ) );
     117        g_string_assign( secondary_text, ngettext( "This torrent has not finished downloading.",
     118                                                   "These torrents have not finished downloading.",
     119                                                   count ) );
    120120    }
    121121    else if( count == connected )
    122122    {
    123         g_string_assign( secondary_text, gtr_ngettext( "This torrent is connected to peers.",
    124                                                        "These torrents are connected to peers.",
    125                                                        count ) );
     123        g_string_assign( secondary_text, ngettext( "This torrent is connected to peers.",
     124                                                   "These torrents are connected to peers.",
     125                                                   count ) );
    126126    }
    127127    else
    128128    {
    129129        if( connected )
    130             g_string_append( secondary_text, gtr_ngettext( "One of these torrents is connected to peers.",
    131                                                            "Some of these torrents are connected to peers.",
     130            g_string_append( secondary_text, ngettext( "One of these torrents is connected to peers.",
     131                                                       "Some of these torrents are connected to peers.",
    132132                                                       connected ) );
    133133        if( connected && incomplete )
     
    135135
    136136        if( incomplete )
    137             g_string_assign( secondary_text, gtr_ngettext( "One of these torrents has not finished downloading.",
    138                                                            "Some of these torrents have not finished downloading.",
     137            g_string_assign( secondary_text, ngettext( "One of these torrents has not finished downloading.",
     138                                                       "Some of these torrents have not finished downloading.",
    139139                                                       incomplete ) );
    140140    }
Note: See TracChangeset for help on using the changeset viewer.