Ignore:
Timestamp:
Apr 28, 2010, 1:26:46 AM (12 years ago)
Author:
charles
Message:

(trunk) #3174 "Use IEC standard units (KiB, MiB, GiB) instead of (KB, MB, GB)" -- implemented for gtk, qt, daemon, cli, and web client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/prefs-dialog.cc

    r10516 r10536  
    268268    hig->addSectionTitle( tr( "Speed Limits" ) );
    269269
    270         l = checkBoxNew( tr( "Limit &download speed (KB/s):" ), Prefs::DSPEED_ENABLED );
     270        l = checkBoxNew( tr( "Limit &download speed (KiB/s):" ), Prefs::DSPEED_ENABLED );
    271271        r = spinBoxNew( Prefs::DSPEED, 0, INT_MAX, 5 );
    272272        hig->addRow( l, r );
    273273        enableBuddyWhenChecked( qobject_cast<QCheckBox*>(l), r );
    274274
    275         l = checkBoxNew( tr( "Limit &upload speed (KB/s):" ), Prefs::USPEED_ENABLED );
     275        l = checkBoxNew( tr( "Limit &upload speed (KiB/s):" ), Prefs::USPEED_ENABLED );
    276276        r = spinBoxNew( Prefs::USPEED, 0, INT_MAX, 5 );
    277277        hig->addRow( l, r );
     
    294294        hig->addWideControl( new QLabel( s ) );
    295295
    296         s = tr( "Limit d&ownload speed (KB/s):" );
     296        s = tr( "Limit d&ownload speed (KiB/s):" );
    297297        r = spinBoxNew( Prefs :: ALT_SPEED_LIMIT_DOWN, 0, INT_MAX, 5 );
    298298        hig->addRow( s, r );
    299299
    300         s = tr( "Limit u&pload speed (KB/s):" );
     300        s = tr( "Limit u&pload speed (KiB/s):" );
    301301        r = spinBoxNew( Prefs :: ALT_SPEED_LIMIT_UP, 0, INT_MAX, 5 );
    302302        hig->addRow( s, r );
Note: See TracChangeset for help on using the changeset viewer.