From 76c8ca4b007c4c1ac6084cd25c9b13d9b94c204f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 17 Oct 2009 00:09:36 +0200 Subject: [PATCH] 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 d84c49d46a..7303324e8f 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 7ee3258d88..98253c480a 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