diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-20 20:42:16 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-20 20:42:16 +0200 |
commit | e0dfedd8827b9fc66f3ed886b6a7087bc57ff710 (patch) | |
tree | 9ab3ac361d9a697a6229adf9459a33931e71b231 /plugins/notify | |
parent | 3fac94108e78fe5a6c61943cbcf713921eff3424 (diff) |
localize now playing notification
Diffstat (limited to 'plugins/notify')
-rw-r--r-- | plugins/notify/notify.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/notify/notify.c b/plugins/notify/notify.c index 1f1bc194..7d81c6d8 100644 --- a/plugins/notify/notify.c +++ b/plugins/notify/notify.c @@ -21,6 +21,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include "../../gettext.h" #define E_NOTIFICATION_BUS_NAME "org.freedesktop.Notifications" #define E_NOTIFICATION_INTERFACE "org.freedesktop.Notifications" @@ -134,7 +135,7 @@ on_songchanged (DB_event_trackchange_t *ev, uintptr_t data) { const char *v_appname = "DeaDBeeF"; dbus_uint32_t v_id = 0; const char *v_iconname = PREFIX "/share/deadbeef/pixmaps/play_24.png"; - const char *v_summary = "DeaDBeeF now playing"; + const char *v_summary = _("DeaDBeeF now playing"); const char *v_body = esc; dbus_int32_t v_timeout = -1; |