Bug#1084181: Chinese translate error in po/zh_CN.po, cause .xsession-errors report error infos
Package: xfce4-pulseaudio-plugin
Version: 0.4.8-1
Severity: minor
Tags: l10n upstream patch
X-Debbugs-Cc: zhouxiaobo.500@gmail.com, yjwork@qq.com, atzlinux@sina.com
Hi,
My locale is:
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh
I see many error infos in my ~/.xsession-errors:
(wrapper-2.0:20056): Gtk-WARNING **: 17:40:12.052: Failed to set text '音量 41%
</b><small>Raptor Lake-P/U/H cAVS Stereo</small>' from markup due to error parsing markup: 第 2 行第 5 个字符出错: 元素“b”已经闭合,当前仍开放的元素是“markup”
(wrapper-2.0:20056): Gtk-WARNING **: 17:40:12.052: Failed to set text '音量 41%
</b><small>Raptor Lake-P/U/H cAVS Stereo</small>' from markup due to error parsing markup: 第 2 行第 5 个字符出错: 元素“b”已经闭合,当前仍开放的元素是“markup”
These error infos is cause by typo in po/zh_CN.po in xfce4-pulseaudio-plugin upstream 0.4.8.
Please help to apply this patch:
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 625826c..5fa3dc7 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -191,14 +191,14 @@ msgstr "未连接到 PulseAudio 服务"
msgid ""
"<b>Volume %d%% (muted)</b>\n"
"<small>%s</small>"
-msgstr "音量 %d%% (已静音)\n</b><small>%s</small>"
+msgstr "<b>音量 %d%% (已静音)\n</b><small>%s</small>"
#: ../panel-plugin/pulseaudio-button.c:359
#, c-format
msgid ""
"<b>Volume %d%%</b>\n"
"<small>%s</small>"
-msgstr "音量 %d%%\n</b><small>%s</small>"
+msgstr "<b>音量 %d%%\n</b><small>%s</small>"
#: ../panel-plugin/pulseaudio-menu.c:521
msgid "Output"
Thanks!
xiao sheng wen
-- System Information:
Codename: bookworm
Architecture: x86_64
Kernel: Linux 6.10.11-rt-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages xfce4-pulseaudio-plugin depends on:
ii libc6 2.36-9+deb12u8
ii libcairo2 1.16.0-7
ii libexo-2-0 4.18.0-1
ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-1+deb12u1
ii libglib2.0-0 2.74.6-2+deb12u3
ii libgtk-3-0 3.24.38-2~deb12u2
ii libkeybinder-3.0-0 0.3.2-1.1
ii libnotify4 0.8.1-1
ii libpulse-mainloop-glib0 16.1+dfsg1-2+b1
ii libpulse0 16.1+dfsg1-2+b1
ii libwnck-3-0 43.0-3
ii libxfce4panel-2.0-4 4.18.2-1
ii libxfce4ui-2-0 4.18.2-2
ii libxfce4util7 4.18.1-2
ii libxfconf-0-3 4.18.0-2
Versions of packages xfce4-pulseaudio-plugin recommends:
ii pavucontrol 5.0-2
ii pipewire-pulse 0.3.65-3+deb12u1
xfce4-pulseaudio-plugin suggests no packages.
-- no debconf information
Reply to: