1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 23:39:42 +01:00

Make more FdoNotifyPlugin strings translatable.

This commit is contained in:
Christian Muehlhaeuser 2014-11-22 18:35:17 +01:00
parent 28859d4ec9
commit 87d2ddd8c6

View File

@ -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 );