1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02: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> === /* === 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 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
* Copyright 2013-2014, Uwe L. Korn <uwelk@xhochy.com> * Copyright 2013-2014, Uwe L. Korn <uwelk@xhochy.com>
* *
@@ -49,6 +49,8 @@
#include "utils/Logger.h" #include "utils/Logger.h"
#include "utils/TomahawkUtilsGui.h" #include "utils/TomahawkUtilsGui.h"
#include "config.h"
#include <QDBusConnection> #include <QDBusConnection>
#include <QDBusPendingCallWatcher> #include <QDBusPendingCallWatcher>
#include <QImage> #include <QImage>
@@ -306,10 +308,10 @@ FdoNotifyPlugin::nowPlaying( const QVariant& input )
QDBusPendingReply<> reply = notifications_interface->Notify( QDBusPendingReply<> reply = notifications_interface->Notify(
"Tomahawk", // app_name TOMAHAWK_APPLICATION_NAME, // app_name
m_nowPlayingId, // notification_id m_nowPlayingId, // notification_id
"", // app_icon "", // app_icon
"Tomahawk - Now Playing", // summary tr( "Tomahawk - Now Playing" ), // summary
messageText, // body messageText, // body
QStringList(), // actions QStringList(), // actions
hints, // hints hints, // hints