From f7888aab023c5a29dcda9da73d88874a89727d19 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 21 Nov 2014 19:46:57 +0100 Subject: [PATCH] Make more FdoNotifyPlugin texts translatable. --- src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp b/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp index d3a96e463..18fd0a932 100644 --- a/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp +++ b/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp @@ -125,7 +125,7 @@ FdoNotifyPlugin::pushInfo( Tomahawk::InfoSystem::InfoPushData pushData ) switch ( pushData.type ) { case Tomahawk::InfoSystem::InfoTrackUnresolved: - notifyUser( "The current track could not be resolved. Tomahawk will pick back up with the next resolvable track from this source." ); + notifyUser( tr( "The current track could not be resolved. Tomahawk will pick back up with the next resolvable track from this source." ) ); return; case Tomahawk::InfoSystem::InfoNotifyUser: @@ -133,7 +133,7 @@ FdoNotifyPlugin::pushInfo( Tomahawk::InfoSystem::InfoPushData pushData ) return; case Tomahawk::InfoSystem::InfoNowStopped: - notifyUser( "Tomahawk is stopped." ); + notifyUser( tr( "Tomahawk is stopped." ) ); return; case Tomahawk::InfoSystem::InfoNowPlaying: @@ -318,7 +318,6 @@ FdoNotifyPlugin::nowPlaying( const QVariant& input ) QDBusPendingCallWatcher* watcher = new QDBusPendingCallWatcher( reply, this ); connect( watcher, SIGNAL( finished( QDBusPendingCallWatcher* ) ), SLOT( dbusPlayingReplyReceived( QDBusPendingCallWatcher* ) ) ); - }