summaryrefslogtreecommitdiffstats
path: root/src/modules/alsa
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-25 04:03:56 +0100
committerColin Guthrie <cguthrie@mandriva.org>2010-11-25 16:38:18 +0000
commitc72d8789139257528114ca11baa341ec2783eaea (patch)
tree3e3d94acf303d470179ca974ac877d5db6ca32b9 /src/modules/alsa
parent6c66c0585e45e943681d9f12e116b0ce691a421d (diff)
alsa-mixer: make a few strings translatable
Original patch contributed by 'kelemeng' http://pulseaudio.org/ticket/843
Diffstat (limited to 'src/modules/alsa')
-rw-r--r--src/modules/alsa/alsa-mixer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c
index 23b22d00..b3ec57ee 100644
--- a/src/modules/alsa/alsa-mixer.c
+++ b/src/modules/alsa/alsa-mixer.c
@@ -62,7 +62,7 @@ static const char *lookup_description(const char *name, const struct description
for (i = 0; i < n; i++)
if (pa_streq(dm[i].name, name))
- return dm[i].description;
+ return _(dm[i].description);
return NULL;
}
@@ -3137,7 +3137,7 @@ static int profile_verify(pa_alsa_profile *p) {
if (!pa_strbuf_isempty(sb))
pa_strbuf_puts(sb, " + ");
- pa_strbuf_printf(sb, "%s Output", m->description);
+ pa_strbuf_printf(sb, _("%s Output"), m->description);
}
if (p->input_mappings)
@@ -3145,7 +3145,7 @@ static int profile_verify(pa_alsa_profile *p) {
if (!pa_strbuf_isempty(sb))
pa_strbuf_puts(sb, " + ");
- pa_strbuf_printf(sb, "%s Input", m->description);
+ pa_strbuf_printf(sb, _("%s Input"), m->description);
}
p->description = pa_strbuf_tostring_free(sb);