From 306282bee2b993ebdf83ffb6c731655bb841441d Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Tue, 26 Jul 2022 19:52:44 +0800 Subject: [PATCH] Fix the problem that the description field of pa_alsa_path struct isn't translated Signed-off-by: tangjie02 --- src/modules/alsa/alsa-mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c index 7b755ce..49c3968 100644 --- a/src/modules/alsa/alsa-mixer.c +++ b/src/modules/alsa/alsa-mixer.c @@ -2838,7 +2838,7 @@ static int path_verify(pa_alsa_path *p) { if (p->device_port_type == PA_DEVICE_PORT_TYPE_UNKNOWN) p->device_port_type = map->type; if (!p->description) - p->description = pa_xstrdup(map->description); + p->description = pa_xstrdup(_(map->description)); } if (!p->description) { -- 2.33.0