Browse Source

COSMETIC: Fix naming of actions opening new dialogs (use Name...)

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
f1bfcb4822
  1. 1
      Changelog
  2. 6
      src/peerlistwidget.cpp
  3. 2
      src/trackerlist.cpp
  4. 2
      src/transferlistfilterswidget.h
  5. 8
      src/ui/mainwindow.ui
  6. 10
      src/ui/rss.ui

1
Changelog

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
- COSMETIC: Display peers country name in tooltip
- COSMETIC: Display number of torrents in transfers tab label
- COSMETIC: Simplified program preferences
- COSMETIC: Fix naming of actions opening new dialogs (use Name...)
* Sun Mar 14 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.0
- FEATURE: User can set alternative speed limits for fast toggling

6
src/peerlistwidget.cpp

@ -128,7 +128,7 @@ void PeerListWidget::showPeerListMenu(QPoint) { @@ -128,7 +128,7 @@ void PeerListWidget::showPeerListMenu(QPoint) {
// Add Peer Action
QAction *addPeerAct = 0;
if(!h.is_queued() && !h.is_checking()) {
addPeerAct = menu.addAction(QIcon(":/Icons/oxygen/user-group-new.png"), tr("Add a new peer"));
addPeerAct = menu.addAction(QIcon(":/Icons/oxygen/user-group-new.png"), tr("Add a new peer..."));
empty_menu = false;
}
// Per Peer Speed limiting actions
@ -136,8 +136,8 @@ void PeerListWidget::showPeerListMenu(QPoint) { @@ -136,8 +136,8 @@ void PeerListWidget::showPeerListMenu(QPoint) {
QAction *dlLimitAct = 0;
QAction *banAct = 0;
if(!selectedPeerIPs.isEmpty()) {
dlLimitAct = menu.addAction(QIcon(":/Icons/skin/download.png"), tr("Limit download rate"));
upLimitAct = menu.addAction(QIcon(":/Icons/skin/seeding.png"), tr("Limit upload rate"));
dlLimitAct = menu.addAction(QIcon(":/Icons/skin/download.png"), tr("Limit download rate..."));
upLimitAct = menu.addAction(QIcon(":/Icons/skin/seeding.png"), tr("Limit upload rate..."));
banAct = menu.addAction(QIcon(":/Icons/oxygen/user-group-delete.png"), tr("Ban peer permanently"));
empty_menu = false;
}

2
src/trackerlist.cpp

@ -345,7 +345,7 @@ void TrackerList::showTrackerListMenu(QPoint) { @@ -345,7 +345,7 @@ void TrackerList::showTrackerListMenu(QPoint) {
QList<QTreeWidgetItem*> selected_items = getSelectedTrackerItems();
QMenu menu;
// Add actions
QAction *addAct = menu.addAction(QIcon(":/Icons/oxygen/list-add.png"), tr("Add a new tracker"));
QAction *addAct = menu.addAction(QIcon(":/Icons/oxygen/list-add.png"), tr("Add a new tracker..."));
QAction *delAct = 0;
if(!getSelectedTrackerItems().isEmpty()) {
delAct = menu.addAction(QIcon(":/Icons/oxygen/list-remove.png"), "Remove tracker");

2
src/transferlistfilterswidget.h

@ -313,7 +313,7 @@ protected slots: @@ -313,7 +313,7 @@ protected slots:
QAction *removeAct = 0;
if(!labelFilters->selectedItems().empty() && labelFilters->row(labelFilters->selectedItems().first()) > 1)
removeAct = labelMenu.addAction(QIcon(":/Icons/oxygen/list-remove.png"), tr("Remove label"));
QAction *addAct = labelMenu.addAction(QIcon(":/Icons/oxygen/list-add.png"), tr("Add label"));
QAction *addAct = labelMenu.addAction(QIcon(":/Icons/oxygen/list-add.png"), tr("Add label..."));
QAction *act = 0;
act = labelMenu.exec(QCursor::pos());
if(act) {

8
src/ui/mainwindow.ui

@ -209,12 +209,12 @@ @@ -209,12 +209,12 @@
</action>
<action name="actionSet_upload_limit">
<property name="text">
<string>Set upload limit</string>
<string>Set upload limit...</string>
</property>
</action>
<action name="actionSet_download_limit">
<property name="text">
<string>Set download limit</string>
<string>Set download limit...</string>
</property>
</action>
<action name="actionDocumentation">
@ -224,12 +224,12 @@ @@ -224,12 +224,12 @@
</action>
<action name="actionSet_global_download_limit">
<property name="text">
<string>Set global download limit</string>
<string>Set global download limit...</string>
</property>
</action>
<action name="actionSet_global_upload_limit">
<property name="text">
<string>Set global upload limit</string>
<string>Set global upload limit...</string>
</property>
</action>
<action name="actionDecreasePriority">

10
src/ui/rss.ui

@ -190,7 +190,7 @@ p, li { white-space: pre-wrap; } @@ -190,7 +190,7 @@ p, li { white-space: pre-wrap; }
<normaloff>:/Icons/oxygen/edit_clear.png</normaloff>:/Icons/oxygen/edit_clear.png</iconset>
</property>
<property name="text">
<string>Rename</string>
<string>Rename...</string>
</property>
<property name="toolTip">
<string>Rename</string>
@ -214,7 +214,7 @@ p, li { white-space: pre-wrap; } @@ -214,7 +214,7 @@ p, li { white-space: pre-wrap; }
<normaloff>:/Icons/oxygen/subscribe16.png</normaloff>:/Icons/oxygen/subscribe16.png</iconset>
</property>
<property name="text">
<string>New subscription</string>
<string>New subscription...</string>
</property>
</action>
<action name="actionUpdate_all_feeds">
@ -274,7 +274,7 @@ p, li { white-space: pre-wrap; } @@ -274,7 +274,7 @@ p, li { white-space: pre-wrap; }
<normaloff>:/Icons/oxygen/download.png</normaloff>:/Icons/oxygen/download.png</iconset>
</property>
<property name="text">
<string>RSS feed downloader</string>
<string>RSS feed downloader...</string>
</property>
</action>
<action name="actionNew_folder">
@ -283,7 +283,7 @@ p, li { white-space: pre-wrap; } @@ -283,7 +283,7 @@ p, li { white-space: pre-wrap; }
<normaloff>:/Icons/oxygen/folder-new.png</normaloff>:/Icons/oxygen/folder-new.png</iconset>
</property>
<property name="text">
<string>New folder</string>
<string>New folder...</string>
</property>
</action>
<action name="actionManage_cookies">
@ -292,7 +292,7 @@ p, li { white-space: pre-wrap; } @@ -292,7 +292,7 @@ p, li { white-space: pre-wrap; }
<normaloff>:/Icons/oxygen/cookies.png</normaloff>:/Icons/oxygen/cookies.png</iconset>
</property>
<property name="text">
<string>Manage cookies</string>
<string>Manage cookies...</string>
</property>
</action>
</widget>

Loading…
Cancel
Save