aboutsummaryrefslogblamecommitdiff
path: root/src/plugins/FileDialogs/QmmpFileDialog/translations/qmmp_file_dialog_plugin_cs.ts
blob: 5eaaf9b7a2d854f203e97708e0174c55702948e9 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                      

                                




                                                             
                                                  



                                                             
                                         

              


                                                             

                                                             
                                      



                                                             
                                         



                                                             
                                              



                                                             
                                                                

              
                                                              
                                   
                                                  

              
                                                              
                            
                                          

              
                                                              
                                       
                                                

              
                                                              
                              
                                           




                                      
                                                               
                                                               
                                         
                                                         

              
                                                               
                                               
                                                             

              
                                                               


                                                 


                                                      

              
                                                               
                                                                
                                                                              




                                   
                                                                   
                            
                                          

              
                                                                   
                             
                                          

              
                                                                   
                                    
                                             

              
                                                                   

                                   

                                       


              
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="cs">
<context>
    <name>QmmpFileDialog</name>
    <message>
        <location filename="../qmmpfiledialog.ui" line="13"/>
        <source>Add Files</source>
        <translation>Přidat soubory</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="37"/>
        <source>Up</source>
        <translation>Nahoru</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="40"/>
        <location filename="../qmmpfiledialog.ui" line="53"/>
        <location filename="../qmmpfiledialog.ui" line="72"/>
        <location filename="../qmmpfiledialog.ui" line="97"/>
        <source>...</source>
        <translation></translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="50"/>
        <source>List view</source>
        <translation>Seznam</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="69"/>
        <source>Detailed view</source>
        <translation>Podrobnosti</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="94"/>
        <source>Close dialog on add</source>
        <translation>Zavřít dialog po přidání</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="177"/>
        <source>File name:</source>
        <translation>Název souboru:</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="193"/>
        <source>Add</source>
        <translation>Přidat</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="200"/>
        <source>Files of type:</source>
        <translation>Soubory typu:</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.ui" line="226"/>
        <source>Close</source>
        <translation>Zavřít</translation>
    </message>
</context>
<context>
    <name>QmmpFileDialogFactory</name>
    <message>
        <location filename="../qmmpfiledialog.cpp" line="121"/>
        <location filename="../qmmpfiledialog.cpp" line="130"/>
        <source>Qmmp File Dialog</source>
        <translation>Souborový dialog Qmmp</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.cpp" line="129"/>
        <source>About Qmmp File Dialog</source>
        <translation>O souborovém dialogu Qmmp</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.cpp" line="131"/>
        <source>Writen by:
Vladimir Kuznetsov &lt;vovanec@gmail.com&gt;
Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
        <translation>Autoři:
Vladimír Kuzněcov &lt;vovanec@gmail.com&gt;
Ilja Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialog.cpp" line="134"/>
        <source>Some code is copied from the Qt library</source>
        <translation>Část kódu je zkopírována z knihovny Qt</translation>
    </message>
</context>
<context>
    <name>QmmpFileDialogImpl</name>
    <message>
        <location filename="../qmmpfiledialogimpl.cpp" line="259"/>
        <source>Add</source>
        <translation>Přidat</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialogimpl.cpp" line="272"/>
        <source>Save</source>
        <translation>Uložit</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialogimpl.cpp" line="288"/>
        <source>Directories</source>
        <translation>Adresáře</translation>
    </message>
    <message>
        <location filename="../qmmpfiledialogimpl.cpp" line="457"/>
        <source>%1 already exists.
Do you want to replace it?</source>
        <translation>%1 již existuje.
Přejete si jej nahradit?</translation>
    </message>
</context>
</TS>
it_file_name",true).toBool(); m_showProgress = settings.value("tooltip_progress",true).toBool(); m_template = settings.value("tooltip_template", DEFAULT_TEMPLATE).toString(); settings.endGroup(); } StatusIconPopupWidget::~StatusIconPopupWidget() { } void StatusIconPopupWidget::mousePressEvent(QMouseEvent *) { deleteLater(); } void StatusIconPopupWidget::updateMetaData() { m_timer->stop(); SoundCore *core = SoundCore::instance(); if(core->state() == Qmmp::Playing || core->state() == Qmmp::Paused) { QString title = m_template; SoundCore *core = SoundCore::instance(); QMap<Qmmp::MetaData, QString> meta = core->metaData(); if(m_splitFileName && meta[Qmmp::TITLE].isEmpty() && !meta[Qmmp::URL].contains("://")) { QString name = QFileInfo(meta[Qmmp::URL]).completeBaseName(); if(name.contains("-")) { meta[Qmmp::TITLE] = name.section('-',1,1).trimmed(); if(meta[Qmmp::ARTIST].isEmpty()) meta[Qmmp::ARTIST] = name.section('-',0,0).trimmed(); } } MetaDataFormatter f(title); title = f.format(core->metaData(), core->totalTime()/1000); m_textLabel->setText(title); QPixmap cover = MetaDataManager::instance()->getCover(core->metaData(Qmmp::URL)); m_cover->show(); m_bar->show(); if(cover.isNull()) m_cover->setPixmap(QPixmap(":/empty_cover.png")); else m_cover->setPixmap(cover); updateTime(core->elapsed()); m_bar->setVisible(m_showProgress); } else { m_cover->hide(); m_bar->hide(); m_textLabel->setText(tr("Stopped")); } qApp->processEvents(); resize(sizeHint()); qApp->processEvents(); if(isVisible()) updatePosition(m_lastTrayX,m_lastTrayY); m_timer->start(); } void StatusIconPopupWidget::updateTime(qint64 elapsed) { m_bar->setMaximum(SoundCore::instance()->totalTime()/1000); m_bar->setValue(elapsed/1000); m_bar->update(); } void StatusIconPopupWidget::updatePosition(int trayx, int trayy) { QRect screenGeometry = QApplication::desktop()->availableGeometry(); int xpos = 0; int ypos = 0; xpos = screenGeometry.x() + trayx -5; if(xpos + width() > screenGeometry.width()) xpos = screenGeometry.width() - width() -5; if(trayy < screenGeometry.y()) //tray on top of screen { ypos = screenGeometry.y() + 5; } if(trayy > screenGeometry.y()) //tray on bottom { ypos = screenGeometry.y() + screenGeometry.height() - height() -5; } move(xpos,ypos); return; } void StatusIconPopupWidget::showInfo(int x, int y) { m_timer->stop(); m_lastTrayX = x; m_lastTrayY = y; updateMetaData(); qApp->processEvents(); updatePosition(x,y); qApp->processEvents(); show(); m_timer->start(); } TimeBar::TimeBar(QWidget *parent) : QProgressBar(parent) {} QString TimeBar::text() const { return QString("%1:%2").arg(value()/60,2,10,QChar('0')).arg(value()%60,2,10,QChar('0')); }