From 79b68b3ca812ed9d593337d581203c0ab13bd296 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 27 Jul 2011 16:25:17 +0000 Subject: added user interface option git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2282 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/configdialog.cpp | 28 ++++++ src/qmmpui/configdialog.h | 2 + src/qmmpui/forms/configdialog.ui | 4 +- src/qmmpui/translations/libqmmpui_cs.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_de.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_es.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_it.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_ja.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_lt.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_nl.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_pl.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_pt_BR.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_ru.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_tr.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_uk_UA.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_zh_CN.ts | 142 ++++++++++++++--------------- src/qmmpui/translations/libqmmpui_zh_TW.ts | 142 ++++++++++++++--------------- src/qmmpui/uihelper.h | 5 +- src/qmmpui/uiloader.cpp | 4 +- src/qmmpui/uiloader.h | 4 +- 20 files changed, 1032 insertions(+), 1003 deletions(-) (limited to 'src/qmmpui') diff --git a/src/qmmpui/configdialog.cpp b/src/qmmpui/configdialog.cpp index fbb7d0018..19c1cc00e 100644 --- a/src/qmmpui/configdialog.cpp +++ b/src/qmmpui/configdialog.cpp @@ -45,6 +45,7 @@ #include "generalfactory.h" #include "general.h" #include "uihelper.h" +#include "uiloader.h" #include "filedialog.h" #include "mediaplayer.h" #include "playlistmodel.h" @@ -72,6 +73,7 @@ ConfigDialog::ConfigDialog (QWidget *parent) : QDialog (parent) m_ui->informationButton->setIcon(QIcon::fromTheme("dialog-information")); m_ui->fdInformationButton->setIcon(QIcon::fromTheme("dialog-information")); m_ui->outputInformationButton->setIcon(QIcon::fromTheme("dialog-information")); + m_ui->uiInformationButton->setIcon(QIcon::fromTheme("dialog-information")); m_ui->outputPreferencesButton->setIcon(QIcon::fromTheme("configure")); } @@ -221,6 +223,7 @@ void ConfigDialog::loadPluginsInfo() /* load output plugins information */ + m_ui->outputInformationButton->setEnabled(false); m_ui->outputPreferencesButton->setEnabled(false); QList *outputs = Output::factories(); @@ -242,6 +245,19 @@ void ConfigDialog::loadPluginsInfo() if (FileDialog::isEnabled(factory)) m_ui->fileDialogComboBox->setCurrentIndex(m_ui->fileDialogComboBox->count()-1); } + /* + load ui information + */ + m_ui->uiInformationButton->setEnabled(false); + foreach(UiFactory *factory, *UiLoader::factories()) + { + m_ui->uiComboBox->addItem(factory->properties().name); + if (UiLoader::selected() == factory) + { + m_ui->uiComboBox->setCurrentIndex(m_ui->uiComboBox->count()-1); + on_uiComboBox_activated(m_ui->uiComboBox->count()-1); + } + } } void ConfigDialog::on_preferencesButton_clicked() @@ -380,8 +396,20 @@ void ConfigDialog::on_outputPreferencesButton_clicked() Output::factories()->at(index)->showSettings(this); } +void ConfigDialog::on_uiComboBox_activated (int index) +{ + UiFactory *factory = UiLoader::factories()->at(index); + m_ui->uiInformationButton->setEnabled(factory->properties().hasAbout); +} + void ConfigDialog::on_outputInformationButton_clicked() { int index = m_ui->outputComboBox->currentIndex(); Output::factories()->at(index)->showAbout(this); } + +void ConfigDialog::on_uiInformationButton_clicked() +{ + int index = m_ui->uiComboBox->currentIndex(); + UiLoader::factories()->at(index)->showAbout(this); +} diff --git a/src/qmmpui/configdialog.h b/src/qmmpui/configdialog.h index fe9819919..8300e39d1 100644 --- a/src/qmmpui/configdialog.h +++ b/src/qmmpui/configdialog.h @@ -57,6 +57,8 @@ private slots: void on_outputComboBox_activated (int index); void on_outputPreferencesButton_clicked(); void on_outputInformationButton_clicked(); + void on_uiComboBox_activated (int index); + void on_uiInformationButton_clicked(); private: void readSettings(); diff --git a/src/qmmpui/forms/configdialog.ui b/src/qmmpui/forms/configdialog.ui index d1a1ca8d9..7a70aa937 100644 --- a/src/qmmpui/forms/configdialog.ui +++ b/src/qmmpui/forms/configdialog.ui @@ -424,10 +424,10 @@ - + - + Information diff --git a/src/qmmpui/translations/libqmmpui_cs.ts b/src/qmmpui/translations/libqmmpui_cs.ts index 003f41255..271d6eefa 100644 --- a/src/qmmpui/translations/libqmmpui_cs.ts +++ b/src/qmmpui/translations/libqmmpui_cs.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Popis - + Filename Soubor - + Artist Umělec - - + + Album Album - + Track Stopa - + Disabled Vypnuto - + Transports Protokoly - + Decoders Dekodéry - + Engines Přehrávače - + Title Název - + Track number Číslo stopy - + Two-digit track number Dvoumístné číslo stopy - + Disc number Číslo disku - + Condition Stav - + Composer Skladatel - + File name Název souboru - + File path Cesta k souboru - + Genre Žánr - + Year Rok - + Comment Poznámka @@ -110,228 +110,228 @@ Nastavení Qmmp - + Playlist Seznam skladeb - + Plugins Moduly - + Advanced Pokročilé - + Replay Gain Zisk při přehrávání - + ... ... - + Metadata Metadata - + Load metadata from files Číst ze souborů metadata - + Song Display Zobrazení skladby - + Title format: Formát titulku: - - + + Preferences Nastavení - - - - + + + + Information Informace - + Cover Image Retrieve Získat obrázek obalu - + Use separate image files Použít samostatné obrázky - + Include files: Zahrnout soubory: - + Exclude files: Vynechat soubory: - + Recursive search depth: Hloubka rekurzivního hledání: - + Playback Přehrávání - + Continue playback on startup Po startu pokračovat v přehrávání - + User Interface - + Replay Gain mode: Režim úpravy zisku při přehrávání: - + Preamp: Předzesílení: - - + + dB dB - + Default gain: Výchozí zisk: - + Use peak info to prevent clipping Použít informaci o vrcholu k zabránění ořezu - + Output: Výstup: - + Buffer size: - + ms ms - + 16-bit output 16bitový výstup - + Connectivity Síť - + File Dialog Souborový dialog - + Proxy Proxy - + Enable proxy usage Povolit používání proxy - + Proxy host name: Adresa proxy: - + Proxy port: Port proxy: - + Use authentication with proxy Použít autorizaci pro proxy - + Proxy user name: Uživatelské jméno: - + Proxy password: Heslo: - + Visualization Vizualizace - + Effects Efekty - + General Obecné - - + + Audio Zvuk - + Use software volume control Používat softwarové ovládání hlasitosti - + Convert underscores to blanks Převést podtržítka na mezery - + Convert %20 to blanks Převést %20 na mezery diff --git a/src/qmmpui/translations/libqmmpui_de.ts b/src/qmmpui/translations/libqmmpui_de.ts index 22788b0b8..c4de66dee 100644 --- a/src/qmmpui/translations/libqmmpui_de.ts +++ b/src/qmmpui/translations/libqmmpui_de.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Beschreibung - + Filename Dateiname - + Artist Interpret - - + + Album Album - + Track Stück - + Disabled Deaktiviert - + Transports Transporte - + Decoders Dekoder - + Engines - + Title Titel - + Track number Stücknummer - + Two-digit track number Zweistellige Stücknummer - + Disc number CD-Nummer - + Condition Zustand - + Genre Genre - + Composer Komponist - + File name Dateiname - + File path Dateipfad - + Year Jahr - + Comment Kommentar @@ -110,228 +110,228 @@ Einstellungen - + Playlist Wiedergabeliste - + Plugins Module - + Advanced Erweitert - + Replay Gain Replay Gain - + ... ... - + Metadata Metadaten - + Load metadata from files Metadaten aus Dateien laden - + Song Display Titelanzeige - + Title format: Titelformat: - - + + Preferences Konfiguration - - - - + + + + Information Information - + Cover Image Retrieve Holen von Cover-Bildern - + Use separate image files Separate Bilddateien verwenden - + Include files: Einzubeziehende Dateien: - + Exclude files: Auszuschließende Dateien: - + Recursive search depth: Rekursive Suchtiefe: - + Playback Wiedergabe - + Continue playback on startup Wiedergabe beim Start fortsetzen - + User Interface - + Replay Gain mode: Replay-Gain-Modus: - + Preamp: Vorverstärkung: - - + + dB dB - + Default gain: - + Use peak info to prevent clipping Peak-Informationen verwenden, um Clipping zu verhindern - + Output: Ausgabe: - + Buffer size: Puffergröße: - + ms ms - + 16-bit output 16-Bit-Ausgabe - + Connectivity Verbindung - + File Dialog Datei-Dialog - + Proxy Proxyserver - + Enable proxy usage Proxyserver verwenden - + Proxy host name: Name des Proxyservers: - + Proxy port: Port: - + Use authentication with proxy Authentisierung verwenden - + Proxy user name: Benutzername: - + Proxy password: Passwort: - + Visualization Visualisierung - + Effects Effekte - + General Sonstige - - + + Audio Audio - + Use software volume control Softwaregesteuerte Lautstärkeregelung - + Convert underscores to blanks Unterstriche in Leerzeichen umwandeln - + Convert %20 to blanks %20 in Leerzeichen umwandeln diff --git a/src/qmmpui/translations/libqmmpui_es.ts b/src/qmmpui/translations/libqmmpui_es.ts index d5c81c38d..ee495ea28 100644 --- a/src/qmmpui/translations/libqmmpui_es.ts +++ b/src/qmmpui/translations/libqmmpui_es.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Descripción - + Filename Nombre del archivo - + Artist Intérprete - - + + Album Album - + Track Pista - + Disabled Deshabilitado - + Transports Transportes - + Decoders Decodificadores - + Engines Motores - + Title Título - + Track number Número de pista - + Two-digit track number Número de pista con dos cifras - + Disc number Número de disco - + Condition Condición - + Genre Género - + Composer Compositor - + File name Nombre del archivo - + File path Ruta del archivo - + Year Año - + Comment Comentario @@ -110,228 +110,228 @@ Configuración de Qmmp - + ... ... - + Metadata Metainformación - + Load metadata from files Cargar la metainformación de los archivos - + Song Display Mostrar la canción - + Title format: Formato del título: - - + + Preferences Preferencias - - - - + + + + Information Información - + Playlist Lista de reproducción - + Plugins Módulos - + Advanced Avanzado - + 16-bit output Salida de 16 bits - + Connectivity Conectividad - + Visualization Visualización - + Effects Efectos - + General General - + File Dialog Diálogo de archivos - - + + Audio Sonido - + Replay Gain Normalización - + Replay Gain mode: Método de normalización: - + Preamp: Preamp: - - + + dB dB - + Default gain: Normalización predeterminada: - + Use peak info to prevent clipping Procesar picos para evitar cortes - + Output: Salida: - + Buffer size: Tamaño del buffer: - + ms ms - + Use software volume control Usar control de volumen por software - + Cover Image Retrieve Obtener las imagenes de carátula - + Use separate image files Usar archivos de imágen separados - + Include files: Incluir archivos: - + Exclude files: Excluir archivos: - + Recursive search depth: Profundidad de la búsqueda recursiva: - + Playback Reproducción - + Continue playback on startup Continuar la reproducción al iniciar - + User Interface - + Proxy Proxy - + Enable proxy usage Habilitar el uso de proxy - + Proxy host name: Nombre del servidor proxy: - + Proxy port: Puerto del proxy: - + Use authentication with proxy Usar autentificación con el proxy - + Proxy user name: Usuario del proxy: - + Proxy password: Contraseña del proxy: - + Convert underscores to blanks Convertir los guiones bajos en espacios - + Convert %20 to blanks Convertir los %20 en espacios diff --git a/src/qmmpui/translations/libqmmpui_it.ts b/src/qmmpui/translations/libqmmpui_it.ts index be8e4d2a6..2b5358041 100644 --- a/src/qmmpui/translations/libqmmpui_it.ts +++ b/src/qmmpui/translations/libqmmpui_it.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Descrizione - + Filename File - + Artist Interprete - - + + Album Album - + Track Traccia - + Disabled Disabilitato - + Transports Protocolli di trasporto - + Decoders Decodificatori - + Engines Meccanismi - + Title Titolo - + Track number Traccia n° - + Two-digit track number Traccia n° a due cifre - + Disc number Disco n° - + Condition Condizione - + Genre Genere - + Composer Compositore - + File name Nome file - + File path Percorso file - + Year Anno - + Comment Commento @@ -110,228 +110,228 @@ Configurazione di Qmmp - + ... ... - + Metadata Metadati - + Load metadata from files Carica i metadati dai brani - + Song Display Mostra il brano - + Title format: Formato del titolo : - - + + Preferences Impostazioni preferite - - - - + + + + Information Informazioni - + Playlist Lista dei brani - + Plugins Moduli - + Advanced Avanzato - + 16-bit output uscita a 16 bit - + Connectivity Connettività - + Visualization Visualizzazione - + Effects Effetti - + General Generale - + File Dialog Menu brani - - + + Audio Audio - + Replay Gain Normalizzazione - + Replay Gain mode: Metodo di normalizzazione - + Preamp: Preamp: - - + + dB dB - + Default gain: Normalizzazione predefinita - + Use peak info to prevent clipping Utilizza informazioni di picco per evitare tagli - + Output: Uscita: - + Buffer size: - + ms ms - + Use software volume control Utilizza il controllo volume del programma - + Cover Image Retrieve Trova immagine copertina - + Use separate image files Usa immagini separate - + Include files: Includi i file: - + Exclude files: Escludi i file: - + Recursive search depth: Profondità ricerca ricorsiva: - + Playback Riproduzione - + Continue playback on startup Continua la riproduzione all'avvio - + User Interface - + Proxy Proxy - + Enable proxy usage Attiva il proxy - + Proxy host name: Nome del server : - + Proxy port: Porta del server : - + Use authentication with proxy Usa autenticazione con il proxy - + Proxy user name: Utente: - + Proxy password: Password : - + Convert underscores to blanks Converti il carattere « _ » in spazi - + Convert %20 to blanks Converti il carattere « %20 » in spazi diff --git a/src/qmmpui/translations/libqmmpui_ja.ts b/src/qmmpui/translations/libqmmpui_ja.ts index 97b98d72a..0cdbcd50b 100644 --- a/src/qmmpui/translations/libqmmpui_ja.ts +++ b/src/qmmpui/translations/libqmmpui_ja.ts @@ -9,329 +9,329 @@ QMMP設定 - + Playlist プレイリスト - + Plugins プラグイン - + Advanced 上級 - + Connectivity 接続 - - + + Audio 音響 - + ... ... - + Metadata メタデータ - + Load metadata from files ファイルからメタデータを読み込む - + Song Display 演目表示 - + Title format: タイトルの表示形式: - + Convert underscores to blanks 下線記号_を空白文字で表示 - + Convert %20 to blanks %20を空白文字で表示 - - + + Preferences プラグイン調整 - - - - + + + + Information 情報 - + Description プラグイン分類 - + Filename ファイル名 - + File Dialog ファイルダイアログ - + Cover Image Retrieve アルバム表紙画像の取得 - + Use separate image files 分割された画像ファイルを利用 - + Include files: 対象ファイル形式: - + Exclude files: 除外ファイル形式: - + Recursive search depth: 再帰検索の深度: - + Playback 再生 - + Continue playback on startup 前回終了時の曲から継続して再生 - + User Interface - + Proxy 代理 - + Enable proxy usage 代理を利用する - + Proxy host name: 代理ホスト名: - + Proxy port: 代理ポート: - + Use authentication with proxy 代理経由の認証を利用 - + Proxy user name: 代理者ユーザ名: - + Proxy password: 代理者パスワード: - + Replay Gain リプレイゲイン - + Replay Gain mode: リプレイゲインモード: - + Preamp: プリアンプ: - - + + dB dB - + Default gain: デフォルトゲイン: - + Use peak info to prevent clipping クリッピング現象を抑えるためピーク情報を使う - + Output: 出力: - + Buffer size: バッファサイズ: - + ms ミリ秒 - + Use software volume control ソフトウェアによる音量制御を利用 - + 16-bit output 16ビット出力 - + Track トラック - - + + Album アルバム - + Disabled 無効 - + Transports 転送 - + Decoders デコーダ - + Engines エンジン - + Effects 音響効果 - + Visualization 視覚効果 - + General 一般 - + Artist アーティスト - + Title タイトル - + Track number トラック番号 - + Two-digit track number トラック番号 数字2桁 - + Genre ジャンル - + Comment コメント - + Composer 作曲者 - + Disc number ディスク番号 - + File name ファイル名 - + File path ファイルパス - + Year - + Condition 定番 diff --git a/src/qmmpui/translations/libqmmpui_lt.ts b/src/qmmpui/translations/libqmmpui_lt.ts index b0bb39d02..dc3eb3145 100644 --- a/src/qmmpui/translations/libqmmpui_lt.ts +++ b/src/qmmpui/translations/libqmmpui_lt.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Aprašymas - + Filename Bylos pavadinimas - + Artist Atlikėjas - - + + Album Albumas - + Track Takelis - + Disabled Išjungta - + Transports Transportas - + Decoders Dekoderiai - + Engines Varikliai - + Title Pavadinimas - + Track number Takelio numeris - + Two-digit track number Dviejų skaičių takelio numeris - + Disc number Disko numeris - + Condition Būklė - + Composer Autorius - + File name Bylos pavadinimas - + File path Bylos kelias - + Genre Žanras - + Year Metai - + Comment Komentaras @@ -110,229 +110,229 @@ Qmmp nustatymai - + ... ... - + Metadata Meta duomenys - + Load metadata from files Įkelti metaduomenis iš bylų - + Song Display Dainų sąrašas - + Title format: Pavadinimo formatas: - - + + Preferences Nustatymai - - - - + + + + Information Informacija - + Playlist Grojaraštis - + Plugins Įskiepiai - + Advanced Papildomi - + 16-bit output 16 bitų išvestis - + Connectivity Tinklas - + Visualization Vizualizacija - + Effects Efektai - + General Bendri - + File Dialog Pasirinkimo langas - - + + Audio Audio - + Replay Gain Neįsivaizduoju kaip verst Replay Gain - + Replay Gain mode: Replay Gain metodas: - + Preamp: Išankstinis stiprinimas: - - + + dB dB - + Default gain: Stiprinimas pagal nutylėjima: - + Use peak info to prevent clipping Naudoti pikų informaciją trūkinėjimo išvengimui - + Output: Išvestis - + Buffer size: Buferio dydis: - + ms ms - + Use software volume control Naudoti programinį garso valdymą - + Cover Image Retrieve Parsiųsti cd viršelį - + Use separate image files Naudoti atskiras paveiksliukų bylas - + Include files: Įtraukti bylas - + Exclude files: Išskirti bylas - + Recursive search depth: Rekursinės paieškos gylis - + Playback Grojimas - + Continue playback on startup Tęsti grojimą įjungus - + User Interface - + Proxy Proxy - + Enable proxy usage Įjungti proxy palaikymą - + Proxy host name: Proxy serveris: - + Proxy port: Proxy portas: - + Use authentication with proxy Naudoti proxy autentifikavimą - + Proxy user name: Proxy vartotojo vardas: - + Proxy password: Proxy slaptažodis: - + Convert underscores to blanks Paversti brūkšnius į tarpus - + Convert %20 to blanks Paversti %20 į tarpus diff --git a/src/qmmpui/translations/libqmmpui_nl.ts b/src/qmmpui/translations/libqmmpui_nl.ts index 7e8ebde8e..282569203 100644 --- a/src/qmmpui/translations/libqmmpui_nl.ts +++ b/src/qmmpui/translations/libqmmpui_nl.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Popis - + Filename Bestandsnaam - + Artist Artiest - - + + Album Album - + Track Nummer - + Disabled Uitgeschakeld - + Transports Protocols - + Decoders Decoders - + Engines Engines - + Title Naam - + Track number Liednummer - + Two-digit track number Twee-getal liednummer - + Disc number CD nummer - + Condition Staat - + Composer Componist - + File name Bestandsnaam - + File path Pad - + Genre Genre - + Year Jaar - + Comment Commentaar @@ -110,228 +110,228 @@ Qmmp Instellingen - + Playlist Afspeellijst - + Plugins Modules - + Advanced Geavanceerd - + Replay Gain Replay Gain - + ... ... - + Metadata Metadata - + Load metadata from files Laad metadata van bestanden - + Song Display Nummer Weergave - + Title format: Titel formaat: - - + + Preferences Voorkeuren - - - - + + + + Information Informatie - + Cover Image Retrieve Lees Hoes Af - + Use separate image files Gebruik aparte afbeeldingsbestanden - + Include files: Inclusief de bestanden: - + Exclude files: Exclusief de bestanden: - + Recursive search depth: Recursieve zoekdiepte: - + Playback Afspelen - + Continue playback on startup Verdergaan met afspelen bij opstarten - + User Interface - + Replay Gain mode: Replay Gain stand: - + Preamp: Voorversterking: - - + + dB dB - + Default gain: Standaard verhoging: - + Use peak info to prevent clipping Gebruik piek info om stotteren te voorkomen - + Output: Uitvoer: - + Buffer size: - + ms ms - + 16-bit output 16bit uitvoer - + Connectivity Connectiviteit - + File Dialog Bestandsdialoog - + Proxy Proxy - + Enable proxy usage Gebruik proxy - + Proxy host name: Proxy host naam: - + Proxy port: Proxy poort: - + Use authentication with proxy Gebruik authenticatie bij proxy - + Proxy user name: Proxy gebruikersnaam: - + Proxy password: Proxy wachtwoord: - + Visualization Visualisatie - + Effects Effecten - + General Algemeen - - + + Audio Audio - + Use software volume control Gebruik software volume - + Convert underscores to blanks Zet lage strepen om in spaties - + Convert %20 to blanks Zet %20 om in spaties diff --git a/src/qmmpui/translations/libqmmpui_pl.ts b/src/qmmpui/translations/libqmmpui_pl.ts index b8b9a332a..af5cf0950 100644 --- a/src/qmmpui/translations/libqmmpui_pl.ts +++ b/src/qmmpui/translations/libqmmpui_pl.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Opis - + Filename Nazwa pliku - + Artist Artysta - - + + Album Album - + Track Utwór - + Disabled Wyłączone - + Transports Transporty - + Decoders Dekodery - + Engines Silniki - + Title Tytuł - + Track number Numer utworu - + Two-digit track number Dwuznakowy numer utworu - + Disc number Numer albumu - + Condition Warunek - + Genre Gatunek - + Composer Kompozytor - + File name Nazwa pliku - + File path Lokalizacja - + Year Rok - + Comment Komentarz @@ -110,228 +110,228 @@ Ustawienia Qmmp - + ... ... - + Metadata Metadane - + Load metadata from files Załaduj metadane z pliku - + Song Display Wyświetlanie utworu - + Title format: Format tytułu: - - + + Preferences Ustawienia - - - - + + + + Information Informacje - + Playlist Lista odtwarzania - + Plugins Wtyczki - + Advanced Zaawansowane - + 16-bit output 16-bitowe odtwarzanie - + Connectivity Sieć - + Visualization Wizualizacje - + Effects Efekty - + General Ogólne - + File Dialog Okno dialogowe - - + + Audio Dźwięk - + Replay Gain - + Replay Gain mode: Tryb Replay Gain: - + Preamp: - - + + dB - + Default gain: Domyślne wzmocnienie: - + Use peak info to prevent clipping Użyj informacji peak by zapobiec "klipnięciom" - + Output: Wyjście: - + Buffer size: Rozmiar bufora: - + ms ms - + Use software volume control Użyj programowej regulacji głośności - + Cover Image Retrieve Pobieranie okładek - + Use separate image files Użyj oddzielnych obrazków - + Include files: Użyj plików: - + Exclude files: Wyłącz pliki: - + Recursive search depth: Głębokość rekursywnego przeszukiwania: - + Playback Odtwarzanie - + Continue playback on startup Wznów odtwarzanie po uruchomieniu programu - + User Interface - + Proxy Proxy - + Enable proxy usage Włącz proxy - + Proxy host name: Nazwa hosta proxy: - + Proxy port: Port proxy: - + Use authentication with proxy Użyj autoryzacji z proxy - + Proxy user name: Nazwa użytkownika: - + Proxy password: Hasło: - + Convert underscores to blanks Konwertuj podkreślenia na spacje - + Convert %20 to blanks Konwertuj sekwencje %20 na spacje diff --git a/src/qmmpui/translations/libqmmpui_pt_BR.ts b/src/qmmpui/translations/libqmmpui_pt_BR.ts index 40f506fbf..14c1cbbed 100644 --- a/src/qmmpui/translations/libqmmpui_pt_BR.ts +++ b/src/qmmpui/translations/libqmmpui_pt_BR.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Descrição - + Filename Nome do Arquivo - + Artist Artista - - + + Album Álbum - + Track - + Disabled - + Transports - + Decoders - + Engines - + Title Título - + Track number - + Two-digit track number - + Disc number - + Condition - + Genre Gênero - + Composer - + File name - + File path - + Year Ano - + Comment Comentário @@ -110,228 +110,228 @@ Configurações - + ... ... - + Metadata MetaData - + Load metadata from files Carregar arquivo MetaData - + Song Display Mostrar música - + Title format: Tipo de Formato: - - + + Preferences Preferências - - - - + + + + Information Informações - + Playlist Lista de músicas - + Plugins Plugins - + Advanced Avançado - + 16-bit output - + Connectivity - + Visualization - + Effects - + General - + File Dialog - - + + Audio - + Replay Gain - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Buffer size: - + ms - + Use software volume control - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + User Interface - + Proxy - + Enable proxy usage - + Proxy host name: - + Proxy port: - + Use authentication with proxy - + Proxy user name: - + Proxy password: - + Convert underscores to blanks - + Convert %20 to blanks diff --git a/src/qmmpui/translations/libqmmpui_ru.ts b/src/qmmpui/translations/libqmmpui_ru.ts index 06e7285ce..711c41fc8 100644 --- a/src/qmmpui/translations/libqmmpui_ru.ts +++ b/src/qmmpui/translations/libqmmpui_ru.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Описание - + Filename Имя файла - + Artist Исполнитель - - + + Album Альбом - + Track Дорожка - + Disabled Отключено - + Transports Транспорты - + Decoders Декодеры - + Engines Внешние проигрыватели - + Title Название - + Track number Номер трека - + Two-digit track number 2-x разрядный номер трека - + Disc number Номер диска - + Condition Условие - + Genre Жанр - + Composer Композитор - + File name Имя файла - + File path Путь к файлу - + Year Год - + Comment Комментарий @@ -110,228 +110,228 @@ Настройки Qmmp - + ... ... - + Metadata Метаданные - + Load metadata from files Считывать метаданные из файлов - + Song Display Список песен - + Title format: Формат названия: - - + + Preferences Настройки - - - - + + + + Information Информация - + Playlist Список - + Plugins Модули - + Advanced Дополнительно - + 16-bit output 16-битный вывод - + Connectivity Сеть - + Visualization Визуализация - + Effects Эффекты - + General Общие - + File Dialog Файловый диалог - - + + Audio Аудио - + Replay Gain Выравнивание громкости (Replay Gain) - + Replay Gain mode: Режим Replay Gain: - + Preamp: Предусиление: - - + + dB дБ - + Default gain: Усиление по умолчанию: - + Use peak info to prevent clipping Использовать пиковое значение для предотвращения срезания - + Output: Вывод: - + Buffer size: Размер буфера: - + ms мс - + Use software volume control Использовать программную регулировку громкости - + Cover Image Retrieve Поиск обложки альбома - + Use separate image files Использовать отдельные файлы с изображениями - + Include files: Включить файлы: - + Exclude files: Исключить файлы: - + Recursive search depth: Глубина рекурсивного поиска: - + Playback Воспроизведение - + Continue playback on startup Продолжить воспроизведение после запуска - + User Interface - + Proxy Прокси - + Enable proxy usage Использовать прокси - + Proxy host name: Прокси сервер: - + Proxy port: Прокси порт: - + Use authentication with proxy Использовать авторизацию на прокси - + Proxy user name: Имя пользователя прокси: - + Proxy password: Пароль прокси: - + Convert underscores to blanks Преобразовывать подчёркивание в пробел - + Convert %20 to blanks Преобразовывать %20 в пробел diff --git a/src/qmmpui/translations/libqmmpui_tr.ts b/src/qmmpui/translations/libqmmpui_tr.ts index f7ef3ed64..4911f79a9 100644 --- a/src/qmmpui/translations/libqmmpui_tr.ts +++ b/src/qmmpui/translations/libqmmpui_tr.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Açıklama - + Filename Dosya adı - + Artist Sanatçı - - + + Album Albüm - + Track - + Disabled - + Transports - + Decoders - + Engines - + Title Başlık - + Track number - + Two-digit track number - + Disc number - + Condition - + Genre Tarz - + Composer - + File name - + File path - + Year Yıl - + Comment Yorum @@ -110,228 +110,228 @@ Qmmp Ayarları - + ... ... - + Metadata Veri bilgisi - + Load metadata from files Veri bilgisini dosyadan yükle - + Song Display Şarkı Göstergesi - + Title format: Başlık formatı: - - + + Preferences Tercihler - - - - + + + + Information Bilgi - + Playlist Çalma Listesi - + Plugins Eklentiler - + Advanced Gelişmiş - + 16-bit output - + Connectivity Bağlanırlık - + Visualization Görsellik - + Effects Efektler - + General Genel - + File Dialog Dosya Diyaloğu - - + + Audio Ses - + Replay Gain - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Buffer size: - + ms - + Use software volume control Yazılımsal ses kontrolünü kullan - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + User Interface - + Proxy Vekil sunucu - + Enable proxy usage Vekil sunucu kullanımını etkinleştir - + Proxy host name: Vekil sunucu adı: - + Proxy port: Vekil sunucu portu: - + Use authentication with proxy Vekil sunucu yetkilendirmesi kullan - + Proxy user name: Vekil sunucu kullanıcı adı: - + Proxy password: Vekil sunucu parolası: - + Convert underscores to blanks Alt çizgileri boşluğa çevir - + Convert %20 to blanks %20 yi boşluğa çevir diff --git a/src/qmmpui/translations/libqmmpui_uk_UA.ts b/src/qmmpui/translations/libqmmpui_uk_UA.ts index 4c6936de2..28079e6b5 100644 --- a/src/qmmpui/translations/libqmmpui_uk_UA.ts +++ b/src/qmmpui/translations/libqmmpui_uk_UA.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Пояснення - + Filename Ім'я файлу - + Artist Виконавець - - + + Album Альбом - + Track Трек - + Disabled Вимкнено - + Transports Транспорти - + Decoders Декодери - + Engines Зовнішні програвачі - + Title Назва - + Track number Номер треку - + Two-digit track number 2- розрядний номер трека - + Disc number Номер диску - + Condition Умова - + Genre Жанр - + Composer Композитор - + File name Ім'я файлу - + File path Шлях файлу - + Year Рік - + Comment Коментар @@ -110,228 +110,228 @@ Налаштування Qmmp - + ... ... - + Metadata Метадані - + Load metadata from files Зчитувати метадані з файлів - + Song Display Список пісень - + Title format: Формат назви: - - + + Preferences Налаштування - - - - + + + + Information Інформація - + Playlist Список - + Plugins Модулі - + Advanced Додатково - + 16-bit output 16-бітний вивід - + Connectivity Мережа - + Visualization Візуалізація - + Effects Ефекти - + General Загальне - + File Dialog Файловий діалог - - + + Audio Звук - + Replay Gain Нормалізація гучності - + Replay Gain mode: Режим нормалізації гучності: - + Preamp: Преамплітуда: - - + + dB - + Default gain: Нормалізація за умовчанням: - + Use peak info to prevent clipping Використовувати інформацію піків для запобігання відсікання - + Output: Виведення: - + Buffer size: Розмір буферу: - + ms мс - + Use software volume control Використовувати програмний контроль гучності - + Cover Image Retrieve Пошук обладинки альбома - + Use separate image files Використовувати окремі файли зображень - + Include files: Включити файли: - + Exclude files: Виключити файли: - + Recursive search depth: Глибина рекурсивного пошуку: - + Playback Відтворення - + Continue playback on startup Продовжити відтворення при запуску - + User Interface Інтерфейс користувача - + Proxy Проксі - + Enable proxy usage Використосувати проксі - + Proxy host name: Сервер проксі: - + Proxy port: Порт проксі: - + Use authentication with proxy Використовувати авторизацію на проксі - + Proxy user name: Ім'я користвача проксі: - + Proxy password: Пароль проксі: - + Convert underscores to blanks Конвертувати підкреслювання в пробіл - + Convert %20 to blanks Конвертувати %20 в пробіл diff --git a/src/qmmpui/translations/libqmmpui_zh_CN.ts b/src/qmmpui/translations/libqmmpui_zh_CN.ts index c52cf2ef9..7ba9631c7 100644 --- a/src/qmmpui/translations/libqmmpui_zh_CN.ts +++ b/src/qmmpui/translations/libqmmpui_zh_CN.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description 描述 - + Filename 文件名 - + Artist 艺术家 - - + + Album 专辑 - + Track 音轨 - + Disabled - + Transports - + Decoders - + Engines - + Title 标题 - + Track number 音轨编号 - + Two-digit track number 两位数音轨编号 - + Disc number 光盘编号 - + Condition 条件 - + Genre 流派 - + Composer 作曲 - + File name 文件名 - + File path 文件路径 - + Year 年代 - + Comment 备注 @@ -110,228 +110,228 @@ Qmmp 设置 - + ... ... - + Metadata 元数据 - + Load metadata from files 从文件载入元数据 - + Song Display 显示歌曲 - + Title format: 标题格式: - - + + Preferences 参数设置 - - - - + + + + Information 信息 - + Playlist 播放列表 - + Plugins 插件 - + Advanced 高级 - + 16-bit output - + Connectivity 连接 - + Visualization 可视化 - + Effects 特效 - + General 常规 - + File Dialog 文件对话 - - + + Audio 音频 - + Replay Gain - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Buffer size: - + ms - + Use software volume control 使用软设备音量控制 - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + User Interface - + Proxy 代理 - + Enable proxy usage 启用代理 - + Proxy host name: 主机名: - + Proxy port: 端口: - + Use authentication with proxy 需要身份验证 - + Proxy user name: 用户名: - + Proxy password: 密码: - + Convert underscores to blanks 转换下划线为空格 - + Convert %20 to blanks 转换 %20 为空格 diff --git a/src/qmmpui/translations/libqmmpui_zh_TW.ts b/src/qmmpui/translations/libqmmpui_zh_TW.ts index ebb11abed..1dfbe2556 100644 --- a/src/qmmpui/translations/libqmmpui_zh_TW.ts +++ b/src/qmmpui/translations/libqmmpui_zh_TW.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description 說明 - + Filename 檔名 - + Artist 藝術家 - - + + Album 專輯 - + Track 音軌 - + Disabled - + Transports - + Decoders - + Engines - + Title 標題 - + Track number 音軌編號 - + Two-digit track number 兩位數音軌編號 - + Disc number 光槃編號 - + Condition 條件 - + Genre 流派 - + Composer 作曲 - + File name 文件名 - + File path 文件路徑 - + Year 年代 - + Comment 備註 @@ -110,228 +110,228 @@ Qmmp 設定 - + ... ... - + Metadata 元資料 - + Load metadata from files 從檔案載入元資料 - + Song Display 察看歌曲 - + Title format: 標題格式: - - + + Preferences 引數設定 - - - - + + + + Information 資訊 - + Playlist 播放清單 - + Plugins 插件 - + Advanced 進階 - + 16-bit output - + Connectivity 連線 - + Visualization 可視化 - + Effects 特效 - + General 常規 - + File Dialog 檔案對話 - - + + Audio 聲訊 - + Replay Gain - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Buffer size: - + ms - + Use software volume control 使用軟裝置音量控制 - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + User Interface - + Proxy 代理 - + Enable proxy usage 啟用代理 - + Proxy host name: 主機名: - + Proxy port: 通訊埠: - + Use authentication with proxy 需要身份驗證 - + Proxy user name: 用戶名: - + Proxy password: 密碼: - + Convert underscores to blanks 轉換底線為空格 - + Convert %20 to blanks 轉換 %20 為空格 diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h index 3fc7732e5..ae171acc9 100644 --- a/src/qmmpui/uihelper.h +++ b/src/qmmpui/uihelper.h @@ -27,8 +27,8 @@ #include #include #include -#include -#include +#include "playlistmanager.h" +#include "playlistmodel.h" class QAction; class QMenu; @@ -135,7 +135,6 @@ private: QPointer m_toolsMenu; QPointer m_playlistMenu; QString m_lastDir; - //JumpToTrackDialog *m_jumpDialog; QPointer m_jumpDialog; static UiHelper* m_instance; }; diff --git a/src/qmmpui/uiloader.cpp b/src/qmmpui/uiloader.cpp index 09979d18a..0209d5682 100644 --- a/src/qmmpui/uiloader.cpp +++ b/src/qmmpui/uiloader.cpp @@ -71,7 +71,7 @@ QStringList UiLoader::files() return m_files; } -void UiLoader::setCurrentUiFactory(UiFactory* factory) +void UiLoader::select(UiFactory* factory) { checkFactories(); if (!m_factories->contains(factory)) @@ -80,7 +80,7 @@ void UiLoader::setCurrentUiFactory(UiFactory* factory) settings.setValue ("Ui/current_plugin", factory->properties().shortName); } -UiFactory *UiLoader::currentUiFactory() +UiFactory *UiLoader::selected() { checkFactories(); QSettings settings (Qmmp::configFile(), QSettings::IniFormat); diff --git a/src/qmmpui/uiloader.h b/src/qmmpui/uiloader.h index 0852ca901..27b766f39 100644 --- a/src/qmmpui/uiloader.h +++ b/src/qmmpui/uiloader.h @@ -42,12 +42,12 @@ public: * Selects active user interface factory. * @param factory Ui plugin factory. */ - static void setCurrentUiFactory(UiFactory* factory); + static void select(UiFactory* factory); /*! * Returns \b true if general plugin is enabled, otherwise returns \b false * @param factory General plugin factory. */ - static UiFactory *currentUiFactory(); + static UiFactory *selected(); private: static QList *m_factories; -- cgit v1.2.3-13-gbd6f