From 98a4b8c199befe613c288f64decab0c79fdd15c7 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 14 Jun 2015 20:05:58 +0800 Subject: [PATCH] Move statistics from Tools to View Reorder & add separators in Help menu Rename `Auto-Shutdown on downloads completion` to `When downloads done` Capitalize menu items, modify accelerator --- src/gui/mainwindow.cpp | 4 +-- src/gui/mainwindow.ui | 76 ++++++++++++++++++++++-------------------- 2 files changed, 42 insertions(+), 38 deletions(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 0d7ef161e..70d2a7be6 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -162,9 +162,9 @@ MainWindow::MainWindow(QWidget *parent) pauseAllMenu->addAction(actionPause_All); actionPause->setMenu(pauseAllMenu); QMenu *lockMenu = new QMenu(this); - QAction *defineUiLockPasswdAct = lockMenu->addAction(tr("Set the password...")); + QAction *defineUiLockPasswdAct = lockMenu->addAction(tr("&Set Password")); connect(defineUiLockPasswdAct, SIGNAL(triggered()), this, SLOT(defineUILockPassword())); - QAction *clearUiLockPasswdAct = lockMenu->addAction(tr("Clear the password")); + QAction *clearUiLockPasswdAct = lockMenu->addAction(tr("&Clear Password")); connect(clearUiLockPasswdAct, SIGNAL(triggered()), this, SLOT(clearUILockPassword())); actionLock_qBittorrent->setMenu(lockMenu); diff --git a/src/gui/mainwindow.ui b/src/gui/mainwindow.ui index fb5b2aa2f..7e2f88154 100644 --- a/src/gui/mainwindow.ui +++ b/src/gui/mainwindow.ui @@ -50,11 +50,13 @@ &Help - - - + + + + + @@ -63,7 +65,7 @@ - Auto-Shutdown on downloads completion + &When Downloads Done @@ -72,7 +74,6 @@ - @@ -85,6 +86,7 @@ + @@ -98,6 +100,8 @@ + + @@ -151,7 +155,7 @@ - Exit + E&xit Exit @@ -213,22 +217,22 @@ - Torrent &creator + Torrent &Creator - Report a &bug + Report a &Bug - Set upload limit... + Set Upload Limit... - Set download limit... + Set Download Limit... @@ -238,17 +242,17 @@ - Set global download limit... + Set Global Download Limit... - Set global upload limit... + Set Global Upload Limit... - Minimum priority + Minimum Priority true @@ -256,7 +260,7 @@ - Top priority + Top Priority true @@ -264,7 +268,7 @@ - Decrease priority + Decrease Priority true @@ -272,7 +276,7 @@ - Increase priority + Increase Priority true @@ -283,10 +287,10 @@ true - Alternative speed limits + Alternative Speed Limits - Alternative speed limits + Alternative Speed Limits @@ -294,10 +298,10 @@ true - Top &tool bar + &Top Toolbar - Display top tool bar + Display Top Toolbar @@ -305,10 +309,10 @@ true - &Speed in title bar + S&peed in Title Bar - Show transfer speed in title bar + Show Transfer Speed in Title Bar @@ -316,7 +320,7 @@ true - &RSS reader + &RSS Reader @@ -324,12 +328,12 @@ true - Search &engine + Search &Engine - Lock qBittorrent + L&ock qBittorrent Lock qBittorrent @@ -343,15 +347,15 @@ - Import existing torrent... + &Import Existing Torrent... - Import torrent... + Import Torrent... - Donate money + Do&nate! If you like qBittorrent, please donate! @@ -383,7 +387,7 @@ true - Exit qBittorrent + &Exit qBittorrent @@ -391,7 +395,7 @@ true - Suspend system + &Suspend System @@ -399,7 +403,7 @@ true - Hibernate system + &Hibernate System @@ -407,7 +411,7 @@ true - Shutdown system + S&hutdown System @@ -415,7 +419,7 @@ true - Disabled + &Disabled @@ -430,15 +434,15 @@ - Statistics + &Statistics - Check for updates + Check for Updates - Check for program updates + Check for Program Updates