From 16c0e9afcc7083f43dc24041e1a238c84246398d Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 1 Jul 2010 16:15:08 +0000 Subject: [PATCH] (trunk qt) sync the Preference dialog's "Torrents" tab's section names ("Adding", "Downloading", "Seeding") with the GTK+ client's. --- qt/prefs-dialog.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/qt/prefs-dialog.cc b/qt/prefs-dialog.cc index b47d10c9e..91656c3fc 100644 --- a/qt/prefs-dialog.cc +++ b/qt/prefs-dialog.cc @@ -552,7 +552,7 @@ PrefsDialog :: createTorrentsTab( ) QWidget *l, *r; HIG * hig = new HIG( this ); - hig->addSectionTitle( tr( "Adding Torrents" ) ); + hig->addSectionTitle( tr( "Adding" ) ); l = checkBoxNew( tr( "Automatically &add torrents from:" ), Prefs::DIR_WATCH_ENABLED ); QPushButton * b = myWatchButton = new QPushButton; @@ -565,6 +565,10 @@ PrefsDialog :: createTorrentsTab( ) hig->addWideControl( checkBoxNew( tr( "Show &options dialog" ), Prefs::OPTIONS_PROMPT ) ); hig->addWideControl( checkBoxNew( tr( "&Start when added" ), Prefs::START ) ); hig->addWideControl( checkBoxNew( tr( "Mo&ve .torrent file to the trash" ), Prefs::TRASH_ORIGINAL ) ); + + hig->addSectionDivider( ); + hig->addSectionTitle( tr( "Downloading" ) ); + hig->addWideControl( checkBoxNew( tr( "Append \".&part\" to incomplete files' names" ), Prefs::RENAME_PARTIAL_FILES ) ); l = myIncompleteCheckbox = checkBoxNew( tr( "Keep &incomplete files in:" ), Prefs::INCOMPLETE_DIR_ENABLED ); @@ -590,7 +594,7 @@ PrefsDialog :: createTorrentsTab( ) hig->addRow( tr( "Save to &Location:" ), b ); hig->addSectionDivider( ); - hig->addSectionTitle( tr( "Limits" ) ); + hig->addSectionTitle( tr( "Seeding" ) ); l = checkBoxNew( tr( "&Seed torrent until its ratio reaches:" ), Prefs::RATIO_ENABLED ); r = doubleSpinBoxNew( Prefs::RATIO, 0, INT_MAX, 0.5, 2 );