Basic search popup triggered by a global shortcut.
This commit is contained in:
parent
85e101c8a7
commit
c2d68fd697
|
@ -117,6 +117,7 @@ set(SOURCES
|
|||
|
||||
globalsearch/globalsearch.cpp
|
||||
globalsearch/globalsearchitemdelegate.cpp
|
||||
globalsearch/globalsearchpopup.cpp
|
||||
globalsearch/globalsearchsortmodel.cpp
|
||||
globalsearch/globalsearchwidget.cpp
|
||||
globalsearch/librarysearchprovider.cpp
|
||||
|
@ -356,6 +357,7 @@ set(HEADERS
|
|||
|
||||
globalsearch/librarysearchprovider.h
|
||||
globalsearch/globalsearch.h
|
||||
globalsearch/globalsearchpopup.h
|
||||
globalsearch/globalsearchwidget.h
|
||||
globalsearch/searchprovider.h
|
||||
|
||||
|
@ -520,6 +522,7 @@ set(UI
|
|||
|
||||
devices/deviceproperties.ui
|
||||
|
||||
globalsearch/globalsearchpopup.ui
|
||||
globalsearch/globalsearchwidget.ui
|
||||
|
||||
internet/digitallyimportedsettingspage.ui
|
||||
|
|
|
@ -60,6 +60,7 @@ GlobalShortcuts::GlobalShortcuts(QObject *parent)
|
|||
AddShortcut("shuffle_mode", tr("Change shuffle mode"), SIGNAL(CycleShuffleMode()));
|
||||
AddShortcut("repeat_mode", tr("Change repeat mode"), SIGNAL(CycleRepeatMode()));
|
||||
AddShortcut("toggle_last_fm_scrobbling", tr("Enable/disable Last.fm scrobbling"), SIGNAL(ToggleScrobbling()));
|
||||
AddShortcut("global_search_popup", tr("Show Global Search Popup"), SIGNAL(ShowGlobalSearch()));
|
||||
|
||||
AddRatingShortcut("rate_zero_star", tr("Rate the current song 0 stars"), rating_signals_mapper_, 0);
|
||||
AddRatingShortcut("rate_one_star", tr("Rate the current song 1 star"), rating_signals_mapper_, 1);
|
||||
|
|
|
@ -73,6 +73,7 @@ signals:
|
|||
void CycleShuffleMode();
|
||||
void CycleRepeatMode();
|
||||
void ToggleScrobbling();
|
||||
void ShowGlobalSearch();
|
||||
|
||||
private:
|
||||
void AddShortcut(const QString& id, const QString& name, const char* signal,
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#include "globalsearchpopup.h"
|
||||
|
||||
|
||||
GlobalSearchPopup::GlobalSearchPopup(QWidget* parent)
|
||||
: QDialog(parent),
|
||||
ui_(new Ui_GlobalSearchPopup) {
|
||||
ui_->setupUi(this);
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef GLOBALSEARCHPOPUP_H
|
||||
#define GLOBALSEARCHPOPUP_H
|
||||
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "ui_globalsearchpopup.h"
|
||||
|
||||
class GlobalSearchPopup : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit GlobalSearchPopup(QWidget* parent = 0);
|
||||
|
||||
private:
|
||||
boost::scoped_ptr<Ui_GlobalSearchPopup> ui_;
|
||||
};
|
||||
|
||||
#endif // GLOBALSEARCHPOPUP_H
|
|
@ -0,0 +1,89 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>GlobalSearchPopup</class>
|
||||
<widget class="QDialog" name="GlobalSearchPopup">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>268</width>
|
||||
<height>100</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
</property>
|
||||
<layout class="QFormLayout" name="formLayout">
|
||||
<property name="fieldGrowthPolicy">
|
||||
<enum>QFormLayout::FieldsStayAtSizeHint</enum>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QLineEdit" name="lineEdit"/>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="previous">
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="play_pause">
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="stop">
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="next">
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
|
@ -141,6 +141,9 @@ msgstr ""
|
|||
msgid "(different across multiple songs)"
|
||||
msgstr ""
|
||||
|
||||
msgid "..."
|
||||
msgstr ""
|
||||
|
||||
msgid "...and all the Amarok contributors"
|
||||
msgstr ""
|
||||
|
||||
|
@ -162,6 +165,9 @@ msgstr ""
|
|||
msgid "50 random tracks"
|
||||
msgstr ""
|
||||
|
||||
msgid "<a href=\"http://www.di.fm/premium/\">Upgrade to Premium now</a>"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
|
||||
"\n"
|
||||
|
@ -187,6 +193,15 @@ msgstr ""
|
|||
msgid "AAC"
|
||||
msgstr ""
|
||||
|
||||
msgid "AAC 128k (Premium only)"
|
||||
msgstr ""
|
||||
|
||||
msgid "AAC 32k"
|
||||
msgstr ""
|
||||
|
||||
msgid "AAC 64k (Premium only)"
|
||||
msgstr ""
|
||||
|
||||
msgid "AIFF"
|
||||
msgstr ""
|
||||
|
||||
|
@ -206,6 +221,9 @@ msgstr ""
|
|||
msgid "Account details"
|
||||
msgstr ""
|
||||
|
||||
msgid "Account details (Premium)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Action"
|
||||
msgstr ""
|
||||
|
||||
|
@ -428,9 +446,6 @@ msgstr ""
|
|||
msgid "Are you sure you want to delete the \"%1\" preset?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to install the following scripts?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to reset this song's statistics?"
|
||||
msgstr ""
|
||||
|
||||
|
@ -452,6 +467,9 @@ msgstr ""
|
|||
msgid "Audio format"
|
||||
msgstr ""
|
||||
|
||||
msgid "Audio type"
|
||||
msgstr ""
|
||||
|
||||
msgid "Authenticating..."
|
||||
msgstr ""
|
||||
|
||||
|
@ -642,9 +660,6 @@ msgstr ""
|
|||
msgid "Clementine image viewer"
|
||||
msgstr ""
|
||||
|
||||
msgid "Clementine scripts"
|
||||
msgstr ""
|
||||
|
||||
msgid "Clementine was unable to find results for this file"
|
||||
msgstr ""
|
||||
|
||||
|
@ -702,6 +717,9 @@ msgstr ""
|
|||
msgid "Configure library..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Configure..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Connect Wii Remotes using active/deactive action"
|
||||
msgstr ""
|
||||
|
||||
|
@ -714,9 +732,6 @@ msgstr ""
|
|||
msgid "Constant bitrate"
|
||||
msgstr ""
|
||||
|
||||
msgid "Context:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Convert all music"
|
||||
msgstr ""
|
||||
|
||||
|
@ -916,9 +931,6 @@ msgstr ""
|
|||
msgid "Details..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Developer mode"
|
||||
msgstr ""
|
||||
|
||||
msgid "Device"
|
||||
msgstr ""
|
||||
|
||||
|
@ -934,18 +946,27 @@ msgstr ""
|
|||
msgid "Devices"
|
||||
msgstr ""
|
||||
|
||||
msgid "Dialog"
|
||||
msgstr ""
|
||||
|
||||
msgid "Did you mean"
|
||||
msgstr ""
|
||||
|
||||
msgid "Digitally Imported"
|
||||
msgstr ""
|
||||
|
||||
msgid "Digitally Imported password"
|
||||
msgstr ""
|
||||
|
||||
msgid "Digitally Imported username"
|
||||
msgstr ""
|
||||
|
||||
msgid "Direct internet connection"
|
||||
msgstr ""
|
||||
|
||||
msgid "Directory"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable duration"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1055,9 +1076,6 @@ msgstr "Edit track information..."
|
|||
msgid "Edit..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Enable"
|
||||
msgstr ""
|
||||
|
||||
msgid "Enable Wii Remote support"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1125,14 +1143,11 @@ msgstr ""
|
|||
msgid "Error downloading Spotify plugin"
|
||||
msgstr ""
|
||||
|
||||
msgid "Error installing script"
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "Error loading %1"
|
||||
msgstr ""
|
||||
|
||||
msgid "Error opening script archive"
|
||||
msgid "Error loading di.fm playlist"
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
|
@ -1300,16 +1315,13 @@ msgstr ""
|
|||
msgid "Genre"
|
||||
msgstr ""
|
||||
|
||||
msgid "Get new scripts"
|
||||
msgstr ""
|
||||
|
||||
msgid "Getting channels"
|
||||
msgstr ""
|
||||
|
||||
msgid "Give it a name:"
|
||||
msgid "Getting streams"
|
||||
msgstr ""
|
||||
|
||||
msgid "Global Shortcuts"
|
||||
msgid "Give it a name:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go to next playlist tab"
|
||||
|
@ -1428,6 +1440,9 @@ msgstr ""
|
|||
msgid "Include all songs"
|
||||
msgstr ""
|
||||
|
||||
msgid "Include:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Increase the volume by 4%"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1440,15 +1455,6 @@ msgstr ""
|
|||
msgid "Insert..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Install from file..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Install script file"
|
||||
msgstr ""
|
||||
|
||||
msgid "Install scripts"
|
||||
msgstr ""
|
||||
|
||||
msgid "Installed"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1458,6 +1464,12 @@ msgstr ""
|
|||
msgid "Invalid API key"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invalid SKY.fm username or password"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invalid di.fm username or password"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invalid format"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1688,6 +1700,12 @@ msgstr ""
|
|||
msgid "MP3"
|
||||
msgstr ""
|
||||
|
||||
msgid "MP3 256k (Premium only)"
|
||||
msgstr ""
|
||||
|
||||
msgid "MP3 96k"
|
||||
msgstr ""
|
||||
|
||||
msgid "MP4 AAC"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1758,9 +1776,6 @@ msgstr ""
|
|||
msgid "Most played"
|
||||
msgstr ""
|
||||
|
||||
msgid "Mount point"
|
||||
msgstr ""
|
||||
|
||||
msgid "Mount points"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1809,9 +1824,6 @@ msgstr ""
|
|||
msgid "My Recommendations"
|
||||
msgstr ""
|
||||
|
||||
msgid "My scripts"
|
||||
msgstr ""
|
||||
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1930,6 +1942,10 @@ msgstr ""
|
|||
msgid "Only show the first"
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "Open %1 in browser"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open &audio CD..."
|
||||
msgstr ""
|
||||
|
||||
|
@ -2083,9 +2099,6 @@ msgstr ""
|
|||
msgid "Playlist type"
|
||||
msgstr ""
|
||||
|
||||
msgid "Please fill in the blanks to login into Last.fm"
|
||||
msgstr ""
|
||||
|
||||
msgid "Plugin status:"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2156,9 +2169,6 @@ msgstr ""
|
|||
msgid "Put songs in a random order"
|
||||
msgstr ""
|
||||
|
||||
msgid "Python console"
|
||||
msgstr ""
|
||||
|
||||
msgid "Quality"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2216,10 +2226,10 @@ msgstr ""
|
|||
msgid "Refresh station list"
|
||||
msgstr ""
|
||||
|
||||
msgid "Reggae"
|
||||
msgid "Refresh streams"
|
||||
msgstr ""
|
||||
|
||||
msgid "Reload"
|
||||
msgid "Reggae"
|
||||
msgstr ""
|
||||
|
||||
msgid "Remember Wii remote swing"
|
||||
|
@ -2345,15 +2355,17 @@ msgstr ""
|
|||
msgid "Score"
|
||||
msgstr ""
|
||||
|
||||
msgid "Script Manager"
|
||||
msgstr ""
|
||||
|
||||
msgid "Scrobble tracks that I listen to"
|
||||
msgstr ""
|
||||
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Search <b>ALL THE THINGS</b> in your library, connected devices and on the "
|
||||
"Internet."
|
||||
msgstr ""
|
||||
|
||||
msgid "Search Icecast stations"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2433,9 +2445,6 @@ msgstr ""
|
|||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
msgid "Settings..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2450,6 +2459,9 @@ msgstr ""
|
|||
msgid "Show"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show Global Search Popup"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show OSD"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2531,6 +2543,9 @@ msgstr ""
|
|||
msgid "Sign out"
|
||||
msgstr ""
|
||||
|
||||
msgid "Signing in..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Similar artists"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2564,9 +2579,6 @@ msgstr ""
|
|||
msgid "Soft Rock"
|
||||
msgstr ""
|
||||
|
||||
msgid "Some files failed to install. The script may not work correctly."
|
||||
msgstr ""
|
||||
|
||||
msgid "Song Information"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2712,10 +2724,6 @@ msgstr ""
|
|||
msgid "The \"%1\" command could not be started."
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "The '%1' script was modified, you might have to reload it"
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "The directory %1 is not valid"
|
||||
msgstr ""
|
||||
|
@ -2797,9 +2805,6 @@ msgstr ""
|
|||
msgid "This is an iPod, but you compiled Clementine without libgpod support."
|
||||
msgstr ""
|
||||
|
||||
msgid "This is not a valid Clementine script file."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"This is the first time you have connected this device. Clementine will now "
|
||||
"scan the device to find music files - this may take some time."
|
||||
|
@ -2878,9 +2883,6 @@ msgstr ""
|
|||
msgid "Turn off"
|
||||
msgstr ""
|
||||
|
||||
msgid "URI"
|
||||
msgstr ""
|
||||
|
||||
msgid "URL(s)"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3009,11 +3011,6 @@ msgstr ""
|
|||
msgid "WMA"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Warning: scripts have full access to your computer and your music. Only "
|
||||
"install scripts that you trust."
|
||||
msgstr ""
|
||||
|
||||
msgid "Wav"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3059,6 +3056,18 @@ msgstr ""
|
|||
msgid "Wii Remote %1: low battery (%2%)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wiimotedev"
|
||||
msgstr ""
|
||||
|
||||
msgid "Windows Media 128k (Premium only)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Windows Media 40k"
|
||||
msgstr ""
|
||||
|
||||
msgid "Windows Media 64k (Premium only)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Windows Media audio"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3080,9 +3089,24 @@ msgstr ""
|
|||
msgid "You are about to download the following albums"
|
||||
msgstr ""
|
||||
|
||||
msgid "You are not signed in."
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "You are signed in as %1."
|
||||
msgstr ""
|
||||
|
||||
msgid "You are signed in."
|
||||
msgstr ""
|
||||
|
||||
msgid "You can change the way the songs in the library are organised."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You can listen for free without an account, but Premium members can listen "
|
||||
"to higher quality streams without advertisements."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You can listen to Magnatune songs for free without an account. Purchasing a "
|
||||
"membership removes the messages at the end of each track."
|
||||
|
@ -3102,6 +3126,17 @@ msgid ""
|
|||
"wiki</a> for more information.\n"
|
||||
msgstr ""
|
||||
|
||||
msgid "You do not have a Spotify Premium account."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You have selected a Premium-only audio type but do not have any account "
|
||||
"details entered"
|
||||
msgstr ""
|
||||
|
||||
msgid "You have selected an invalid audio type setting"
|
||||
msgstr ""
|
||||
|
||||
msgid "You love this track"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3148,6 +3183,9 @@ msgstr ""
|
|||
msgid "Your scrobbles: %1"
|
||||
msgstr ""
|
||||
|
||||
msgid "Your username or password was incorrect."
|
||||
msgstr ""
|
||||
|
||||
msgid "Z-A"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3259,6 +3297,9 @@ msgstr ""
|
|||
msgid "stop"
|
||||
msgstr ""
|
||||
|
||||
msgid "track"
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "track %1"
|
||||
msgstr ""
|
||||
|
|
|
@ -131,6 +131,9 @@ msgstr ""
|
|||
msgid "(different across multiple songs)"
|
||||
msgstr ""
|
||||
|
||||
msgid "..."
|
||||
msgstr ""
|
||||
|
||||
msgid "...and all the Amarok contributors"
|
||||
msgstr ""
|
||||
|
||||
|
@ -152,6 +155,9 @@ msgstr ""
|
|||
msgid "50 random tracks"
|
||||
msgstr ""
|
||||
|
||||
msgid "<a href=\"http://www.di.fm/premium/\">Upgrade to Premium now</a>"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"<p>Tokens start with %, for example: %artist %album %title </p>\n"
|
||||
"\n"
|
||||
|
@ -177,6 +183,15 @@ msgstr ""
|
|||
msgid "AAC"
|
||||
msgstr ""
|
||||
|
||||
msgid "AAC 128k (Premium only)"
|
||||
msgstr ""
|
||||
|
||||
msgid "AAC 32k"
|
||||
msgstr ""
|
||||
|
||||
msgid "AAC 64k (Premium only)"
|
||||
msgstr ""
|
||||
|
||||
msgid "AIFF"
|
||||
msgstr ""
|
||||
|
||||
|
@ -196,6 +211,9 @@ msgstr ""
|
|||
msgid "Account details"
|
||||
msgstr ""
|
||||
|
||||
msgid "Account details (Premium)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Action"
|
||||
msgstr ""
|
||||
|
||||
|
@ -418,9 +436,6 @@ msgstr ""
|
|||
msgid "Are you sure you want to delete the \"%1\" preset?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to install the following scripts?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to reset this song's statistics?"
|
||||
msgstr ""
|
||||
|
||||
|
@ -442,6 +457,9 @@ msgstr ""
|
|||
msgid "Audio format"
|
||||
msgstr ""
|
||||
|
||||
msgid "Audio type"
|
||||
msgstr ""
|
||||
|
||||
msgid "Authenticating..."
|
||||
msgstr ""
|
||||
|
||||
|
@ -632,9 +650,6 @@ msgstr ""
|
|||
msgid "Clementine image viewer"
|
||||
msgstr ""
|
||||
|
||||
msgid "Clementine scripts"
|
||||
msgstr ""
|
||||
|
||||
msgid "Clementine was unable to find results for this file"
|
||||
msgstr ""
|
||||
|
||||
|
@ -692,6 +707,9 @@ msgstr ""
|
|||
msgid "Configure library..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Configure..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Connect Wii Remotes using active/deactive action"
|
||||
msgstr ""
|
||||
|
||||
|
@ -704,9 +722,6 @@ msgstr ""
|
|||
msgid "Constant bitrate"
|
||||
msgstr ""
|
||||
|
||||
msgid "Context:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Convert all music"
|
||||
msgstr ""
|
||||
|
||||
|
@ -906,9 +921,6 @@ msgstr ""
|
|||
msgid "Details..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Developer mode"
|
||||
msgstr ""
|
||||
|
||||
msgid "Device"
|
||||
msgstr ""
|
||||
|
||||
|
@ -924,18 +936,27 @@ msgstr ""
|
|||
msgid "Devices"
|
||||
msgstr ""
|
||||
|
||||
msgid "Dialog"
|
||||
msgstr ""
|
||||
|
||||
msgid "Did you mean"
|
||||
msgstr ""
|
||||
|
||||
msgid "Digitally Imported"
|
||||
msgstr ""
|
||||
|
||||
msgid "Digitally Imported password"
|
||||
msgstr ""
|
||||
|
||||
msgid "Digitally Imported username"
|
||||
msgstr ""
|
||||
|
||||
msgid "Direct internet connection"
|
||||
msgstr ""
|
||||
|
||||
msgid "Directory"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
msgid "Disable duration"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1045,9 +1066,6 @@ msgstr ""
|
|||
msgid "Edit..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Enable"
|
||||
msgstr ""
|
||||
|
||||
msgid "Enable Wii Remote support"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1115,14 +1133,11 @@ msgstr ""
|
|||
msgid "Error downloading Spotify plugin"
|
||||
msgstr ""
|
||||
|
||||
msgid "Error installing script"
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "Error loading %1"
|
||||
msgstr ""
|
||||
|
||||
msgid "Error opening script archive"
|
||||
msgid "Error loading di.fm playlist"
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
|
@ -1290,16 +1305,13 @@ msgstr ""
|
|||
msgid "Genre"
|
||||
msgstr ""
|
||||
|
||||
msgid "Get new scripts"
|
||||
msgstr ""
|
||||
|
||||
msgid "Getting channels"
|
||||
msgstr ""
|
||||
|
||||
msgid "Give it a name:"
|
||||
msgid "Getting streams"
|
||||
msgstr ""
|
||||
|
||||
msgid "Global Shortcuts"
|
||||
msgid "Give it a name:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go to next playlist tab"
|
||||
|
@ -1418,6 +1430,9 @@ msgstr ""
|
|||
msgid "Include all songs"
|
||||
msgstr ""
|
||||
|
||||
msgid "Include:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Increase the volume by 4%"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1430,15 +1445,6 @@ msgstr ""
|
|||
msgid "Insert..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Install from file..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Install script file"
|
||||
msgstr ""
|
||||
|
||||
msgid "Install scripts"
|
||||
msgstr ""
|
||||
|
||||
msgid "Installed"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1448,6 +1454,12 @@ msgstr ""
|
|||
msgid "Invalid API key"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invalid SKY.fm username or password"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invalid di.fm username or password"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invalid format"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1678,6 +1690,12 @@ msgstr ""
|
|||
msgid "MP3"
|
||||
msgstr ""
|
||||
|
||||
msgid "MP3 256k (Premium only)"
|
||||
msgstr ""
|
||||
|
||||
msgid "MP3 96k"
|
||||
msgstr ""
|
||||
|
||||
msgid "MP4 AAC"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1748,9 +1766,6 @@ msgstr ""
|
|||
msgid "Most played"
|
||||
msgstr ""
|
||||
|
||||
msgid "Mount point"
|
||||
msgstr ""
|
||||
|
||||
msgid "Mount points"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1799,9 +1814,6 @@ msgstr ""
|
|||
msgid "My Recommendations"
|
||||
msgstr ""
|
||||
|
||||
msgid "My scripts"
|
||||
msgstr ""
|
||||
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1920,6 +1932,10 @@ msgstr ""
|
|||
msgid "Only show the first"
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "Open %1 in browser"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open &audio CD..."
|
||||
msgstr ""
|
||||
|
||||
|
@ -2073,9 +2089,6 @@ msgstr ""
|
|||
msgid "Playlist type"
|
||||
msgstr ""
|
||||
|
||||
msgid "Please fill in the blanks to login into Last.fm"
|
||||
msgstr ""
|
||||
|
||||
msgid "Plugin status:"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2146,9 +2159,6 @@ msgstr ""
|
|||
msgid "Put songs in a random order"
|
||||
msgstr ""
|
||||
|
||||
msgid "Python console"
|
||||
msgstr ""
|
||||
|
||||
msgid "Quality"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2206,10 +2216,10 @@ msgstr ""
|
|||
msgid "Refresh station list"
|
||||
msgstr ""
|
||||
|
||||
msgid "Reggae"
|
||||
msgid "Refresh streams"
|
||||
msgstr ""
|
||||
|
||||
msgid "Reload"
|
||||
msgid "Reggae"
|
||||
msgstr ""
|
||||
|
||||
msgid "Remember Wii remote swing"
|
||||
|
@ -2335,15 +2345,17 @@ msgstr ""
|
|||
msgid "Score"
|
||||
msgstr ""
|
||||
|
||||
msgid "Script Manager"
|
||||
msgstr ""
|
||||
|
||||
msgid "Scrobble tracks that I listen to"
|
||||
msgstr ""
|
||||
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Search <b>ALL THE THINGS</b> in your library, connected devices and on the "
|
||||
"Internet."
|
||||
msgstr ""
|
||||
|
||||
msgid "Search Icecast stations"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2423,9 +2435,6 @@ msgstr ""
|
|||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
msgid "Settings..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2440,6 +2449,9 @@ msgstr ""
|
|||
msgid "Show"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show Global Search Popup"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show OSD"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2521,6 +2533,9 @@ msgstr ""
|
|||
msgid "Sign out"
|
||||
msgstr ""
|
||||
|
||||
msgid "Signing in..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Similar artists"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2554,9 +2569,6 @@ msgstr ""
|
|||
msgid "Soft Rock"
|
||||
msgstr ""
|
||||
|
||||
msgid "Some files failed to install. The script may not work correctly."
|
||||
msgstr ""
|
||||
|
||||
msgid "Song Information"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2702,10 +2714,6 @@ msgstr ""
|
|||
msgid "The \"%1\" command could not be started."
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "The '%1' script was modified, you might have to reload it"
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "The directory %1 is not valid"
|
||||
msgstr ""
|
||||
|
@ -2787,9 +2795,6 @@ msgstr ""
|
|||
msgid "This is an iPod, but you compiled Clementine without libgpod support."
|
||||
msgstr ""
|
||||
|
||||
msgid "This is not a valid Clementine script file."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"This is the first time you have connected this device. Clementine will now "
|
||||
"scan the device to find music files - this may take some time."
|
||||
|
@ -2868,9 +2873,6 @@ msgstr ""
|
|||
msgid "Turn off"
|
||||
msgstr ""
|
||||
|
||||
msgid "URI"
|
||||
msgstr ""
|
||||
|
||||
msgid "URL(s)"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2999,11 +3001,6 @@ msgstr ""
|
|||
msgid "WMA"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Warning: scripts have full access to your computer and your music. Only "
|
||||
"install scripts that you trust."
|
||||
msgstr ""
|
||||
|
||||
msgid "Wav"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3049,6 +3046,18 @@ msgstr ""
|
|||
msgid "Wii Remote %1: low battery (%2%)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Wiimotedev"
|
||||
msgstr ""
|
||||
|
||||
msgid "Windows Media 128k (Premium only)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Windows Media 40k"
|
||||
msgstr ""
|
||||
|
||||
msgid "Windows Media 64k (Premium only)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Windows Media audio"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3070,9 +3079,24 @@ msgstr ""
|
|||
msgid "You are about to download the following albums"
|
||||
msgstr ""
|
||||
|
||||
msgid "You are not signed in."
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "You are signed in as %1."
|
||||
msgstr ""
|
||||
|
||||
msgid "You are signed in."
|
||||
msgstr ""
|
||||
|
||||
msgid "You can change the way the songs in the library are organised."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You can listen for free without an account, but Premium members can listen "
|
||||
"to higher quality streams without advertisements."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You can listen to Magnatune songs for free without an account. Purchasing a "
|
||||
"membership removes the messages at the end of each track."
|
||||
|
@ -3092,6 +3116,17 @@ msgid ""
|
|||
"wiki</a> for more information.\n"
|
||||
msgstr ""
|
||||
|
||||
msgid "You do not have a Spotify Premium account."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You have selected a Premium-only audio type but do not have any account "
|
||||
"details entered"
|
||||
msgstr ""
|
||||
|
||||
msgid "You have selected an invalid audio type setting"
|
||||
msgstr ""
|
||||
|
||||
msgid "You love this track"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3138,6 +3173,9 @@ msgstr ""
|
|||
msgid "Your scrobbles: %1"
|
||||
msgstr ""
|
||||
|
||||
msgid "Your username or password was incorrect."
|
||||
msgstr ""
|
||||
|
||||
msgid "Z-A"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3249,6 +3287,9 @@ msgstr ""
|
|||
msgid "stop"
|
||||
msgstr ""
|
||||
|
||||
msgid "track"
|
||||
msgstr ""
|
||||
|
||||
#, qt-format
|
||||
msgid "track %1"
|
||||
msgstr ""
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "devices/deviceview.h"
|
||||
#include "engines/enginebase.h"
|
||||
#include "engines/gstengine.h"
|
||||
#include "globalsearch/globalsearchpopup.h"
|
||||
#include "internet/magnatuneservice.h"
|
||||
#include "internet/internetmodel.h"
|
||||
#include "internet/internetview.h"
|
||||
|
@ -619,6 +620,7 @@ MainWindow::MainWindow(
|
|||
connect(global_shortcuts_, SIGNAL(ShowHide()), SLOT(ToggleShowHide()));
|
||||
connect(global_shortcuts_, SIGNAL(ShowOSD()), player_, SLOT(ShowOSD()));
|
||||
connect(global_shortcuts_, SIGNAL(TogglePrettyOSD()), player_, SLOT(TogglePrettyOSD()));
|
||||
connect(global_shortcuts_, SIGNAL(ShowGlobalSearch()), SLOT(ShowGlobalSearch()));
|
||||
#ifdef HAVE_LIBLASTFM
|
||||
connect(global_shortcuts_, SIGNAL(ToggleScrobbling()), internet_model->InternetModel::Service<LastFMService>(), SLOT(ToggleScrobbling()));
|
||||
#endif
|
||||
|
@ -2240,3 +2242,8 @@ void MainWindow::HandleNotificationPreview(OSD::Behaviour type, QString line1, Q
|
|||
osd_->ShowPreview(type, line1, line2, fake);
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::ShowGlobalSearch() {
|
||||
GlobalSearchPopup* popup = new GlobalSearchPopup;
|
||||
popup->show();
|
||||
}
|
||||
|
|
|
@ -234,6 +234,7 @@ class MainWindow : public QMainWindow, public PlatformInterface {
|
|||
void OpenSettingsDialog();
|
||||
void OpenSettingsDialogAtPage(SettingsDialog::Page page);
|
||||
void ShowSongInfoConfig();
|
||||
void ShowGlobalSearch();
|
||||
|
||||
void SaveGeometry();
|
||||
|
||||
|
|
Loading…
Reference in New Issue