Commit def15fa5 authored by Dicson's avatar Dicson
Browse files

NowListen. translatable warning string

parent 991a3f47
...@@ -53,7 +53,7 @@ class NowListenPlugin(GajimPlugin): ...@@ -53,7 +53,7 @@ class NowListenPlugin(GajimPlugin):
@log_calls('NowListenPlugin') @log_calls('NowListenPlugin')
def activate(self): def activate(self):
if not dbus_support.supported: if not dbus_support.supported:
raise GajimPluginException("python-dbus is missing!") raise GajimPluginException(_('python-dbus is missing!'))
listener = MusicTrackListener.get() listener = MusicTrackListener.get()
if not self.music_track_changed_signal: if not self.music_track_changed_signal:
self.music_track_changed_signal = listener.connect( self.music_track_changed_signal = listener.connect(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment