fix translation error of pulseaudio
(cherry picked from commit 5b4f79d9de707548f6e5549d4a38bc0fee45d585)
This commit is contained in:
parent
0ae6d95069
commit
ad6c8f5de8
25
0001-fix-translation-error-of-pulseaudio.patch
Normal file
25
0001-fix-translation-error-of-pulseaudio.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 71270658311ae22922dc98dad79b835f6d62e4bd Mon Sep 17 00:00:00 2001
|
||||||
|
From: peijiankang <peijiankang@kylinos.cn>
|
||||||
|
Date: Mon, 20 Jun 2022 10:48:08 +0800
|
||||||
|
Subject: [PATCH] fix translation error of pulseaudio
|
||||||
|
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
||||||
@ -6,7 +6,7 @@
|
|||||||
Name: pulseaudio
|
Name: pulseaudio
|
||||||
Summary: Improved Linux Sound Server
|
Summary: Improved Linux Sound Server
|
||||||
Version: 15.0
|
Version: 15.0
|
||||||
Release: 4
|
Release: 5
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://www.freedesktop.org/wiki/Software/PulseAudio
|
URL: https://www.freedesktop.org/wiki/Software/PulseAudio
|
||||||
Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
|
Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
|
||||||
@ -14,6 +14,7 @@ Source1: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-
|
|||||||
Source5: default.pa-for-gdm
|
Source5: default.pa-for-gdm
|
||||||
|
|
||||||
Patch201: pulseaudio-autostart.patch
|
Patch201: pulseaudio-autostart.patch
|
||||||
|
Patch202: 0001-fix-translation-error-of-pulseaudio.patch
|
||||||
|
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: automake libtool gcc-c++ bash-completion
|
BuildRequires: automake libtool gcc-c++ bash-completion
|
||||||
@ -233,6 +234,9 @@ exit 0
|
|||||||
%{_datadir}/glib-2.0/schemas/org.freedesktop.pulseaudio.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.pulseaudio.gschema.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 20 2022 peijiankang <peijiankang@kylinos.cn> - 15.0-5
|
||||||
|
- fix translation error of pulseaudio
|
||||||
|
|
||||||
* Thu Feb 24 2022 tanyulong <tanyulong@kylinos.cn> - 15.0-4
|
* Thu Feb 24 2022 tanyulong <tanyulong@kylinos.cn> - 15.0-4
|
||||||
- fix Mplayer/mpv error
|
- fix Mplayer/mpv error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user