From 558b902b6248c21825ec05c2737ab265b4a91691 Mon Sep 17 00:00:00 2001 From: Tomahawk CI Date: Sun, 1 Jul 2012 22:17:39 +0000 Subject: [PATCH 1/3] Automatic merge of Transifex translations --- lang/tomahawk_ar.ts | 13 +++++---- lang/tomahawk_de.ts | 67 +++++++++++++++++++++++---------------------- lang/tomahawk_fr.ts | 13 +++++---- 3 files changed, 48 insertions(+), 45 deletions(-) diff --git a/lang/tomahawk_ar.ts b/lang/tomahawk_ar.ts index cdb5c30a2..38b82ab7a 100644 --- a/lang/tomahawk_ar.ts +++ b/lang/tomahawk_ar.ts @@ -5,17 +5,18 @@ Allow %1 to connect and stream from you? - + هل تريد السماح ل%1 +بالربط و التحميل منك؟ Allow Streaming - + السماح بالتحميل Deny Access - + رفض الوصول @@ -23,7 +24,7 @@ connect and stream from you? Tomahawk needs you to decide whether %1 is allowed to connect. - + توماهوك يريد منك ان تقرر ان كنت تريد السماح ل%1 بالربط بك. @@ -2053,12 +2054,12 @@ You may wish to try re-authenticating. Copy Album &Link - + نسخ &رابط الالبوم Copy Artist &Link - + نسخ &رابط قائمة الأغاني diff --git a/lang/tomahawk_de.ts b/lang/tomahawk_de.ts index 1db4a3d82..e4babff34 100644 --- a/lang/tomahawk_de.ts +++ b/lang/tomahawk_de.ts @@ -5,17 +5,18 @@ Allow %1 to connect and stream from you? - + Willst du %1 +erlauben sich mit dir zu verbinden? Allow Streaming - + Zugriff erlauben Deny Access - + Zugriff verweigern @@ -23,7 +24,7 @@ connect and stream from you? Tomahawk needs you to decide whether %1 is allowed to connect. - + Tomahawk will wissen, ob du dich mit %1 verbinden möchtest. @@ -94,17 +95,17 @@ connect and stream from you? &Load Playlist - &Lade Playliste + &Lade Playlist &Rename Playlist - Playliste &umbenennen + Playlist &umbenennen &Copy Playlist Link - &Kopiere Link zu dieser Playliste + &Kopiere Link zu dieser Playlist @@ -626,7 +627,7 @@ connect and stream from you? Enter a title for the new playlist: - Gib einen Titel für die neue Playliste ein: + Gib einen Titel für die neue Playlist ein: @@ -636,17 +637,17 @@ connect and stream from you? Just enter a genre or tag name and Tomahawk will suggest a few songs to get you started with your new playlist: - Gib einfach ein Genre oder einen Tagnamen ein, und Tomahawk wird dir einige Lieder vorschlagen und dir helfen eine neue Playliste zu erstellen: + Gib einfach ein Genre oder einen Tagnamen ein, und Tomahawk wird dir einige Lieder vorschlagen und dir helfen eine neue Playlist zu erstellen: &Create Playlist - Playliste &erstellen + Playlist &erstellen Create a new playlist - Erstelle eine neue Playliste + Erstelle eine neue Playlist @@ -762,7 +763,7 @@ connect and stream from you? A playlist by %1, created %2 - Eine Playliste von %1, erstellt %2 + Eine Playlist von %1, erstellt %2 @@ -785,17 +786,17 @@ connect and stream from you? New Playlist - Neue Playliste + Neue Playlist Just a regular old playlist... Give it a name, drag in some tracks, and go! - Eine ganze normale Playliste... Gib ihr einen Namen, füg ein paar Lieder hinzu, und los geht's! + Eine ganze normale Playlist... Gib ihr einen Namen, füg ein paar Lieder hinzu, und los geht's! Don't know exactly what you want? Give Tomahawk a few pointers and let it build a playlist for you! - Du weisst noch nicht genau was du willst? Mit etwas Hilfe kann Tomahawk eine Playliste nach deinem Geschmack erstellen! + Du weisst noch nicht genau was du willst? Mit etwas Hilfe kann Tomahawk eine Playlist nach deinem Geschmack erstellen! @@ -805,17 +806,17 @@ connect and stream from you? New Playlist... - Neue Playliste... + Neue Playlist... Create Manual Playlist - Manuelle Playliste erstellen + Manuelle Playlist erstellen Create Automatic Playlist - Automatische Playliste erstellen + Automatische Playlist erstellen @@ -828,7 +829,7 @@ connect and stream from you? This playlist is currently empty. Add some tracks to it and enjoy the music! - Diese Playliste ist derzeit leer. Füge einige Stücke hinzu und genieße die Musik! + Diese Playlist ist derzeit leer. Füge einige Stücke hinzu und genieße die Musik! @@ -1329,7 +1330,7 @@ connect and stream from you? &Export Playlist - Playliste &exportieren + Playlist &exportieren @@ -1384,12 +1385,12 @@ connect and stream from you? Playlist - Playliste + Playlist Automatic Playlist - Automatische Playliste + Automatische Playlist @@ -2048,12 +2049,12 @@ You may wish to try re-authenticating. Copy Album &Link - + Album-&Link kopieren Copy Artist &Link - + Künstler-&Link kopieren @@ -2722,7 +2723,7 @@ Versuch die Filter anzupassen für neue Lieder. New Playlist - Neue Playliste + Neue Playlist @@ -2732,7 +2733,7 @@ Versuch die Filter anzupassen für neue Lieder. Some tracks in the playlist do not contain an artist and a title. They will be ignored. - Einige Stücke in der Playliste enthalten weder Künstler noch Titel. Diese werden ignoriert. + Einige Stücke in der Playlist enthalten weder Künstler noch Titel. Diese werden ignoriert. @@ -2742,7 +2743,7 @@ Versuch die Filter anzupassen für neue Lieder. This is not a valid XSPF playlist. - Dies ist keine gültige XSPF-Playliste. + Dies ist keine gültige XSPF-Playlist. @@ -3020,7 +3021,7 @@ Tomahawk auf Twitter's Website authentifiziert hast: Create &New Playlist... - Neue &Playliste erstellen… + Neue &Playlist erstellen… @@ -3030,7 +3031,7 @@ Tomahawk auf Twitter's Website authentifiziert hast: Create New &Automatic Playlist - Neue &automatische Playliste erstellen + Neue &automatische Playlist erstellen @@ -3169,7 +3170,7 @@ Tomahawk auf Twitter's Website authentifiziert hast: This is not a valid XSPF playlist. - Dies ist keine gültige XSPF-Playliste. + Dies ist keine gültige XSPF-Playlist. @@ -3179,7 +3180,7 @@ Tomahawk auf Twitter's Website authentifiziert hast: Some tracks in the playlist do not contain an artist and a title. They will be ignored. - Einige Stücke in der Playliste enthalten weder Künstler noch Titel. Diese werden ignoriert. + Einige Stücke in der Playlist enthalten weder Künstler noch Titel. Diese werden ignoriert. @@ -3683,12 +3684,12 @@ Lyrics for "%1" by %2: Failed to fetch the desired playlist from the network, or the desired file does not exist - Fehler beim Laden der Playliste + Fehler beim Laden der Playlist New Playlist - Neue Playliste + Neue Playlist diff --git a/lang/tomahawk_fr.ts b/lang/tomahawk_fr.ts index 1bfae0b5d..163827f89 100644 --- a/lang/tomahawk_fr.ts +++ b/lang/tomahawk_fr.ts @@ -5,17 +5,18 @@ Allow %1 to connect and stream from you? - + Permettre a %1 +de se connecter et streamer de vous? Allow Streaming - + Permettre Streaming Deny Access - + Refuser l'accès @@ -23,7 +24,7 @@ connect and stream from you? Tomahawk needs you to decide whether %1 is allowed to connect. - + Tomahawk a besoin de vous pour décider si %1 est autorisé à se connecter. @@ -2053,12 +2054,12 @@ Essayez de vous authentifier de nouveau. Copy Album &Link - + Copier le &lien de l'album Copy Artist &Link - + Copier le &lien de l'artiste From a1b24c12447831000e1604cce2a0ba29ff3514fe Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 2 Jul 2012 03:49:24 +0200 Subject: [PATCH 2/3] * Emit coverChanged() even when we couldn't get a cover, so the views update / trigger new requests. --- src/libtomahawk/Album.cpp | 6 +++--- src/libtomahawk/Artist.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libtomahawk/Album.cpp b/src/libtomahawk/Album.cpp index 70ae122a5..bf88e86ab 100644 --- a/src/libtomahawk/Album.cpp +++ b/src/libtomahawk/Album.cpp @@ -180,15 +180,15 @@ Album::infoSystemInfo( const Tomahawk::InfoSystem::InfoRequestData& requestData, } else if ( output.isValid() ) { - m_coverLoaded = true; - QVariantMap returnedData = output.value< QVariantMap >(); const QByteArray ba = returnedData["imgbytes"].toByteArray(); if ( ba.length() ) { m_coverBuffer = ba; - emit coverChanged(); } + + m_coverLoaded = true; + emit coverChanged(); } } diff --git a/src/libtomahawk/Artist.cpp b/src/libtomahawk/Artist.cpp index ea5b34790..4b255c70b 100644 --- a/src/libtomahawk/Artist.cpp +++ b/src/libtomahawk/Artist.cpp @@ -321,14 +321,14 @@ Artist::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestData, QVari } else if ( output.isValid() ) { - m_coverLoaded = true; - const QByteArray ba = returnedData["imgbytes"].toByteArray(); if ( ba.length() ) { m_coverBuffer = ba; - emit coverChanged(); } + + m_coverLoaded = true; + emit coverChanged(); } break; From 868779c40c91b72b90d28c9f9f9102ad82a8737e Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 2 Jul 2012 04:03:32 +0200 Subject: [PATCH 3/3] * Add a vertical spacer item to the DiagnosticsDialog, so contents don't move around. --- src/DiagnosticsDialog.cpp | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/DiagnosticsDialog.cpp b/src/DiagnosticsDialog.cpp index e63a6fe16..17a084632 100644 --- a/src/DiagnosticsDialog.cpp +++ b/src/DiagnosticsDialog.cpp @@ -48,7 +48,7 @@ DiagnosticsDialog::DiagnosticsDialog( QWidget *parent ) connect( ui->buttonBox, SIGNAL( rejected() ), this, SLOT( reject() ) ); ui->scrollAreaWidgetContents->setLayout( new QVBoxLayout() ); - + updateLogView(); } @@ -89,7 +89,7 @@ DiagnosticsDialog::updateLogView() ui->scrollAreaWidgetContents->layout()->addWidget( new QLabel( log, this ) ); // Peers / Accounts, TODO ui->scrollAreaWidgetContents->layout()->addWidget( new QLabel( "ACCOUNTS:\n", this ) ); - + const QList< Tomahawk::source_ptr > sources = SourceList::instance()->sources( true ); const QList< Tomahawk::Accounts::Account* > accounts = Tomahawk::Accounts::AccountManager::instance()->accounts( Tomahawk::Accounts::SipType ); foreach ( Tomahawk::Accounts::Account* account, accounts ) @@ -107,13 +107,15 @@ DiagnosticsDialog::updateLogView() connect( account->sipPlugin(), SIGNAL( peerOffline( QString ) ), SLOT( onPeerOffline( QString ) ) ); connect( account->sipPlugin(), SIGNAL( sipInfoReceived( QString, SipInfo ) ), SLOT( onSipInfoReceived( QString, SipInfo ) ) ); connect( account->sipPlugin(), SIGNAL( softwareVersionReceived( QString, QString ) ), SLOT( onSoftwareVersionReceived( QString, QString ) ) ); - + QLabel* accountInfoLabel = new QLabel( this ); ui->scrollAreaWidgetContents->layout()->addWidget( accountInfoLabel ); m_accountDescriptionStore.insert( account, accountInfoLabel ); - + updateAccountLabel( account ); } + + ui->scrollAreaWidgetContents->layout()->addItem( new QSpacerItem( 1, 1, QSizePolicy::Fixed, QSizePolicy::Expanding ) ); } @@ -135,8 +137,8 @@ DiagnosticsDialog::onAccountConnectionStateChanged( Tomahawk::Accounts::Account: { Tomahawk::Accounts::Account* account = qobject_cast< Tomahawk::Accounts::Account* >( sender() ); Q_ASSERT( account ); - - updateAccountLabel( account ); + + updateAccountLabel( account ); } @@ -153,7 +155,7 @@ DiagnosticsDialog::onPeerOnline( const QString& ) { Tomahawk::Accounts::Account* account = qobject_cast< SipPlugin* >( sender() )->account(); Q_ASSERT( account ); - + updateAccountLabel( account ); } @@ -163,7 +165,7 @@ DiagnosticsDialog::onPeerOffline( const QString& ) { Tomahawk::Accounts::Account* account = qobject_cast< SipPlugin* >( sender() )->account(); Q_ASSERT( account ); - + updateAccountLabel( account ); } @@ -173,7 +175,7 @@ DiagnosticsDialog::onSipInfoReceived( const QString& /* peerId */ , const SipInf { Tomahawk::Accounts::Account* account = qobject_cast< SipPlugin* >( sender() )->account(); Q_ASSERT( account ); - + updateAccountLabel( account ); } @@ -183,7 +185,7 @@ DiagnosticsDialog::onSoftwareVersionReceived( const QString& /* peerId */ , cons { Tomahawk::Accounts::Account* account = qobject_cast< SipPlugin* >( sender() )->account(); Q_ASSERT( account ); - + updateAccountLabel( account ); } @@ -192,7 +194,7 @@ void DiagnosticsDialog::updateAccountLabel( Tomahawk::Accounts::Account* account ) { QLabel* accountInfoLabel = m_accountDescriptionStore.value( account ); - + if ( accountInfoLabel ) { QString accountInfo; @@ -256,7 +258,7 @@ DiagnosticsDialog::updateAccountLabel( Tomahawk::Accounts::Account* account ) } } accountInfo.append( "\n" ); - + accountInfoLabel->setText( accountInfo ); } } \ No newline at end of file