From 54afa56a0df9264317db7af5f7c50bd9e2bb2e44 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 17 Oct 2009 00:09:36 +0200 Subject: pulse: when constructing a stream title from tag data make sure it is translatable --- ext/pulse/pulsesink.c | 3 ++- po/POTFILES.in | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c index d84c49d4..7303324e 100644 --- a/ext/pulse/pulsesink.c +++ b/ext/pulse/pulsesink.c @@ -49,6 +49,7 @@ #include #include #include +#include #include "pulsesink.h" #include "pulseutil.h" @@ -2172,7 +2173,7 @@ gst_pulsesink_event (GstBaseSink * sink, GstEvent * event) if (title && artist) t = buf = - g_strdup_printf ("'%s' by '%s'", g_strstrip (title), + g_strdup_printf (_("'%s' by '%s'"), g_strstrip (title), g_strstrip (artist)); else if (title) t = g_strstrip (title); diff --git a/po/POTFILES.in b/po/POTFILES.in index 7ee3258d..98253c48 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,4 +1,5 @@ ext/esd/esdsink.c +ext/pulse/pulsesink.c ext/flac/gstflacdec.c ext/jpeg/gstjpegdec.c ext/libpng/gstpngdec.c -- cgit