mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 23:26:40 +02:00
Make more FdoNotifyPlugin strings translatable.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
||||
*
|
||||
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
||||
* Copyright 2010-2014, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
||||
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
||||
* Copyright 2013-2014, Uwe L. Korn <uwelk@xhochy.com>
|
||||
*
|
||||
@@ -49,6 +49,8 @@
|
||||
#include "utils/Logger.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <QDBusConnection>
|
||||
#include <QDBusPendingCallWatcher>
|
||||
#include <QImage>
|
||||
@@ -306,14 +308,14 @@ FdoNotifyPlugin::nowPlaying( const QVariant& input )
|
||||
|
||||
|
||||
QDBusPendingReply<> reply = notifications_interface->Notify(
|
||||
"Tomahawk", // app_name
|
||||
m_nowPlayingId, // notification_id
|
||||
"", // app_icon
|
||||
"Tomahawk - Now Playing", // summary
|
||||
messageText, // body
|
||||
QStringList(), // actions
|
||||
hints, // hints
|
||||
-1 // expire_timeout
|
||||
TOMAHAWK_APPLICATION_NAME, // app_name
|
||||
m_nowPlayingId, // notification_id
|
||||
"", // app_icon
|
||||
tr( "Tomahawk - Now Playing" ), // summary
|
||||
messageText, // body
|
||||
QStringList(), // actions
|
||||
hints, // hints
|
||||
-1 // expire_timeout
|
||||
);
|
||||
|
||||
QDBusPendingCallWatcher* watcher = new QDBusPendingCallWatcher( reply, this );
|
||||
|
Reference in New Issue
Block a user