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 @@ <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="71"/> <source>Allow %1 to connect and stream from you?</source> - <translation type="unfinished"/> + <translation>هل تريد السماح ل%1 +بالربط و التحميل منك؟</translation> </message> <message> <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="87"/> <source>Allow Streaming</source> - <translation type="unfinished"/> + <translation>السماح بالتحميل</translation> </message> <message> <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="90"/> <source>Deny Access</source> - <translation type="unfinished"/> + <translation>رفض الوصول</translation> </message> </context> <context> @@ -23,7 +24,7 @@ connect and stream from you?</source> <message> <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="187"/> <source>Tomahawk needs you to decide whether %1 is allowed to connect.</source> - <translation type="unfinished"/> + <translation>توماهوك يريد منك ان تقرر ان كنت تريد السماح ل%1 بالربط بك.</translation> </message> </context> <context> @@ -2053,12 +2054,12 @@ You may wish to try re-authenticating.</source> <message> <location filename="../src/libtomahawk/ContextMenu.cpp" line="155"/> <source>Copy Album &Link</source> - <translation type="unfinished"/> + <translation>نسخ &رابط الالبوم</translation> </message> <message> <location filename="../src/libtomahawk/ContextMenu.cpp" line="197"/> <source>Copy Artist &Link</source> - <translation type="unfinished"/> + <translation>نسخ &رابط قائمة الأغاني</translation> </message> <message> <location filename="../src/libtomahawk/ContextMenu.cpp" line="311"/> 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 @@ <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="71"/> <source>Allow %1 to connect and stream from you?</source> - <translation type="unfinished"/> + <translation>Willst du %1 +erlauben sich mit dir zu verbinden?</translation> </message> <message> <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="87"/> <source>Allow Streaming</source> - <translation type="unfinished"/> + <translation>Zugriff erlauben</translation> </message> <message> <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="90"/> <source>Deny Access</source> - <translation type="unfinished"/> + <translation>Zugriff verweigern</translation> </message> </context> <context> @@ -23,7 +24,7 @@ connect and stream from you?</source> <message> <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="187"/> <source>Tomahawk needs you to decide whether %1 is allowed to connect.</source> - <translation type="unfinished"/> + <translation>Tomahawk will wissen, ob du dich mit %1 verbinden möchtest.</translation> </message> </context> <context> @@ -94,17 +95,17 @@ connect and stream from you?</source> <message> <location filename="../src/libtomahawk/ActionCollection.cpp" line="72"/> <source>&Load Playlist</source> - <translation>&Lade Playliste</translation> + <translation>&Lade Playlist</translation> </message> <message> <location filename="../src/libtomahawk/ActionCollection.cpp" line="73"/> <source>&Rename Playlist</source> - <translation>Playliste &umbenennen</translation> + <translation>Playlist &umbenennen</translation> </message> <message> <location filename="../src/libtomahawk/ActionCollection.cpp" line="74"/> <source>&Copy Playlist Link</source> - <translation>&Kopiere Link zu dieser Playliste</translation> + <translation>&Kopiere Link zu dieser Playlist</translation> </message> <message> <location filename="../src/libtomahawk/ActionCollection.cpp" line="75"/> @@ -626,7 +627,7 @@ connect and stream from you?</source> <message> <location filename="../src/libtomahawk/widgets/NewPlaylistWidget.ui" line="20"/> <source>Enter a title for the new playlist:</source> - <translation>Gib einen Titel für die neue Playliste ein:</translation> + <translation>Gib einen Titel für die neue Playlist ein:</translation> </message> <message> <location filename="../src/libtomahawk/widgets/NewPlaylistWidget.ui" line="37"/> @@ -636,17 +637,17 @@ connect and stream from you?</source> <message> <location filename="../src/libtomahawk/widgets/NewPlaylistWidget.ui" line="47"/> <source>Just enter a genre or tag name and Tomahawk will suggest a few songs to get you started with your new playlist:</source> - <translation>Gib einfach ein Genre oder einen Tagnamen ein, und Tomahawk wird dir einige Lieder vorschlagen und dir helfen eine neue Playliste zu erstellen:</translation> + <translation>Gib einfach ein Genre oder einen Tagnamen ein, und Tomahawk wird dir einige Lieder vorschlagen und dir helfen eine neue Playlist zu erstellen:</translation> </message> <message> <location filename="../src/libtomahawk/widgets/NewPlaylistWidget.cpp" line="43"/> <source>&Create Playlist</source> - <translation>Playliste &erstellen</translation> + <translation>Playlist &erstellen</translation> </message> <message> <location filename="../src/libtomahawk/widgets/NewPlaylistWidget.h" line="50"/> <source>Create a new playlist</source> - <translation>Erstelle eine neue Playliste</translation> + <translation>Erstelle eine neue Playlist</translation> </message> </context> <context> @@ -762,7 +763,7 @@ connect and stream from you?</source> <message> <location filename="../src/libtomahawk/playlist/PlaylistModel.cpp" line="82"/> <source>A playlist by %1, created %2</source> - <translation>Eine Playliste von %1, erstellt %2</translation> + <translation>Eine Playlist von %1, erstellt %2</translation> </message> <message> <location filename="../src/libtomahawk/playlist/PlaylistModel.cpp" line="83"/> @@ -785,17 +786,17 @@ connect and stream from you?</source> <message> <location filename="../src/libtomahawk/widgets/PlaylistTypeSelectorDialog.ui" line="32"/> <source>New Playlist</source> - <translation>Neue Playliste</translation> + <translation>Neue Playlist</translation> </message> <message> <location filename="../src/libtomahawk/widgets/PlaylistTypeSelectorDialog.ui" line="49"/> <source>Just a regular old playlist... Give it a name, drag in some tracks, and go!</source> - <translation>Eine ganze normale Playliste... Gib ihr einen Namen, füg ein paar Lieder hinzu, und los geht's!</translation> + <translation>Eine ganze normale Playlist... Gib ihr einen Namen, füg ein paar Lieder hinzu, und los geht's!</translation> </message> <message> <location filename="../src/libtomahawk/widgets/PlaylistTypeSelectorDialog.ui" line="75"/> <source>Don't know exactly what you want? Give Tomahawk a few pointers and let it build a playlist for you!</source> - <translation>Du weisst noch nicht genau was du willst? Mit etwas Hilfe kann Tomahawk eine Playliste nach deinem Geschmack erstellen!</translation> + <translation>Du weisst noch nicht genau was du willst? Mit etwas Hilfe kann Tomahawk eine Playlist nach deinem Geschmack erstellen!</translation> </message> <message> <location filename="../src/libtomahawk/widgets/PlaylistTypeSelectorDialog.ui" line="92"/> @@ -805,17 +806,17 @@ connect and stream from you?</source> <message> <location filename="../src/libtomahawk/widgets/PlaylistTypeSelectorDialog.ui" line="102"/> <source>New Playlist...</source> - <translation>Neue Playliste...</translation> + <translation>Neue Playlist...</translation> </message> <message> <location filename="../src/libtomahawk/widgets/PlaylistTypeSelectorDialog.ui" line="113"/> <source>Create Manual Playlist</source> - <translation>Manuelle Playliste erstellen</translation> + <translation>Manuelle Playlist erstellen</translation> </message> <message> <location filename="../src/libtomahawk/widgets/PlaylistTypeSelectorDialog.ui" line="123"/> <source>Create Automatic Playlist</source> - <translation>Automatische Playliste erstellen</translation> + <translation>Automatische Playlist erstellen</translation> </message> </context> <context> @@ -828,7 +829,7 @@ connect and stream from you?</source> <message> <location filename="../src/libtomahawk/playlist/PlaylistView.cpp" line="165"/> <source>This playlist is currently empty. Add some tracks to it and enjoy the music!</source> - <translation>Diese Playliste ist derzeit leer. Füge einige Stücke hinzu und genieße die Musik!</translation> + <translation>Diese Playlist ist derzeit leer. Füge einige Stücke hinzu und genieße die Musik!</translation> </message> </context> <context> @@ -1329,7 +1330,7 @@ connect and stream from you?</source> <message> <location filename="../src/sourcetree/SourceTreeView.cpp" line="196"/> <source>&Export Playlist</source> - <translation>Playliste &exportieren</translation> + <translation>Playlist &exportieren</translation> </message> <message> <location filename="../src/sourcetree/SourceTreeView.cpp" line="350"/> @@ -1384,12 +1385,12 @@ connect and stream from you?</source> <message> <location filename="../src/sourcetree/SourcesModel.cpp" line="84"/> <source>Playlist</source> - <translation>Playliste</translation> + <translation>Playlist</translation> </message> <message> <location filename="../src/sourcetree/SourcesModel.cpp" line="87"/> <source>Automatic Playlist</source> - <translation>Automatische Playliste</translation> + <translation>Automatische Playlist</translation> </message> <message> <location filename="../src/sourcetree/SourcesModel.cpp" line="90"/> @@ -2048,12 +2049,12 @@ You may wish to try re-authenticating.</source> <message> <location filename="../src/libtomahawk/ContextMenu.cpp" line="155"/> <source>Copy Album &Link</source> - <translation type="unfinished"/> + <translation>Album-&Link kopieren</translation> </message> <message> <location filename="../src/libtomahawk/ContextMenu.cpp" line="197"/> <source>Copy Artist &Link</source> - <translation type="unfinished"/> + <translation>Künstler-&Link kopieren</translation> </message> <message> <location filename="../src/libtomahawk/ContextMenu.cpp" line="311"/> @@ -2722,7 +2723,7 @@ Versuch die Filter anzupassen für neue Lieder.</translation> <message> <location filename="../src/libtomahawk/utils/JspfLoader.cpp" line="144"/> <source>New Playlist</source> - <translation>Neue Playliste</translation> + <translation>Neue Playlist</translation> </message> <message> <location filename="../src/libtomahawk/utils/JspfLoader.cpp" line="170"/> @@ -2732,7 +2733,7 @@ Versuch die Filter anzupassen für neue Lieder.</translation> <message> <location filename="../src/libtomahawk/utils/JspfLoader.cpp" line="170"/> <source>Some tracks in the playlist do not contain an artist and a title. They will be ignored.</source> - <translation>Einige Stücke in der Playliste enthalten weder Künstler noch Titel. Diese werden ignoriert.</translation> + <translation>Einige Stücke in der Playlist enthalten weder Künstler noch Titel. Diese werden ignoriert.</translation> </message> <message> <location filename="../src/libtomahawk/utils/JspfLoader.cpp" line="192"/> @@ -2742,7 +2743,7 @@ Versuch die Filter anzupassen für neue Lieder.</translation> <message> <location filename="../src/libtomahawk/utils/JspfLoader.cpp" line="192"/> <source>This is not a valid XSPF playlist.</source> - <translation>Dies ist keine gültige XSPF-Playliste.</translation> + <translation>Dies ist keine gültige XSPF-Playlist.</translation> </message> </context> <context> @@ -3020,7 +3021,7 @@ Tomahawk auf Twitter's Website authentifiziert hast:</translation> <message> <location filename="../src/TomahawkWindow.ui" line="171"/> <source>Create &New Playlist...</source> - <translation>Neue &Playliste erstellen…</translation> + <translation>Neue &Playlist erstellen…</translation> </message> <message> <location filename="../src/TomahawkWindow.ui" line="176"/> @@ -3030,7 +3031,7 @@ Tomahawk auf Twitter's Website authentifiziert hast:</translation> <message> <location filename="../src/TomahawkWindow.ui" line="184"/> <source>Create New &Automatic Playlist</source> - <translation>Neue &automatische Playliste erstellen</translation> + <translation>Neue &automatische Playlist erstellen</translation> </message> <message> <location filename="../src/TomahawkWindow.ui" line="189"/> @@ -3169,7 +3170,7 @@ Tomahawk auf Twitter's Website authentifiziert hast:</translation> <message> <location filename="../src/TomahawkWindow.cpp" line="679"/> <source>This is not a valid XSPF playlist.</source> - <translation>Dies ist keine gültige XSPF-Playliste.</translation> + <translation>Dies ist keine gültige XSPF-Playlist.</translation> </message> <message> <location filename="../src/TomahawkWindow.cpp" line="683"/> @@ -3179,7 +3180,7 @@ Tomahawk auf Twitter's Website authentifiziert hast:</translation> <message> <location filename="../src/TomahawkWindow.cpp" line="683"/> <source>Some tracks in the playlist do not contain an artist and a title. They will be ignored.</source> - <translation>Einige Stücke in der Playliste enthalten weder Künstler noch Titel. Diese werden ignoriert.</translation> + <translation>Einige Stücke in der Playlist enthalten weder Künstler noch Titel. Diese werden ignoriert.</translation> </message> <message> <location filename="../src/TomahawkWindow.cpp" line="697"/> @@ -3683,12 +3684,12 @@ Lyrics for "%1" by %2: <message> <location filename="../src/libtomahawk/utils/XspfLoader.cpp" line="54"/> <source>Failed to fetch the desired playlist from the network, or the desired file does not exist</source> - <translation>Fehler beim Laden der Playliste</translation> + <translation>Fehler beim Laden der Playlist</translation> </message> <message> <location filename="../src/libtomahawk/utils/XspfLoader.cpp" line="191"/> <source>New Playlist</source> - <translation>Neue Playliste</translation> + <translation>Neue Playlist</translation> </message> </context> <context> 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 @@ <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="71"/> <source>Allow %1 to connect and stream from you?</source> - <translation type="unfinished"/> + <translation>Permettre a %1 +de se connecter et streamer de vous?</translation> </message> <message> <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="87"/> <source>Allow Streaming</source> - <translation type="unfinished"/> + <translation>Permettre Streaming</translation> </message> <message> <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="90"/> <source>Deny Access</source> - <translation type="unfinished"/> + <translation>Refuser l'accès</translation> </message> </context> <context> @@ -23,7 +24,7 @@ connect and stream from you?</source> <message> <location filename="../src/libtomahawk/jobview/AclJobItem.cpp" line="187"/> <source>Tomahawk needs you to decide whether %1 is allowed to connect.</source> - <translation type="unfinished"/> + <translation>Tomahawk a besoin de vous pour décider si %1 est autorisé à se connecter.</translation> </message> </context> <context> @@ -2053,12 +2054,12 @@ Essayez de vous authentifier de nouveau.</translation> <message> <location filename="../src/libtomahawk/ContextMenu.cpp" line="155"/> <source>Copy Album &Link</source> - <translation type="unfinished"/> + <translation>Copier le &lien de l'album</translation> </message> <message> <location filename="../src/libtomahawk/ContextMenu.cpp" line="197"/> <source>Copy Artist &Link</source> - <translation type="unfinished"/> + <translation>Copier le &lien de l'artiste</translation> </message> <message> <location filename="../src/libtomahawk/ContextMenu.cpp" line="311"/> 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 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;