mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
alsa-mixer: make a few strings translatable
Original patch contributed by 'kelemeng' http://pulseaudio.org/ticket/843
This commit is contained in:
parent
745f59acff
commit
9472d7aeec
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -3032,7 +3032,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)
|
||||
|
|
@ -3040,7 +3040,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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue