Fix the WhatIsWrongWithSystemWide URL

System Internals / PulseAudio - Alexander E. Patrakov [gmail.com] - 29 December 2014 07:41 UTC

Pavel Machek reported in his blog that our message about the system mode has a dead link in it. And this link is also present in translations. So, I replaced it in the source and fixed all translations using a script:

for a in po/*.po ; do msgcat --no-wrap $a | sed 's@http://pulseaudio.org/wiki/WhatIsWrongWithSystemMod @http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode @g' | sed 's@http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode@http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/@g' | sed 's@/\.@/ .@g' | sed 's@/,@/ ,@g' | msgcat - > $a.new

git add -i # to filter out formatting changes

The "/." and "/," replacements are needed so that various terminal emulators don't include the trailing "." or "," into the clickable URL.

The resulting patch is attached, just in case, in order to avoid damaging non-ASCII characters.

--Alexander E. Patrakov

>From 7dcd197571840e467d688f0f7354253730bbcc15 Mon Sep 17 00:00:00 2001 From: "Alexander E. Patrakov" Date: Sat, 29 Nov 2014 20:56:27 +0500 Subject: [PATCH]

Reported by Pavel Machek in http://pavelmachek.livejournal.com/126190.html

All translations were also fixed using a script.

01ae1c1 Fix the WhatIsWrongWithSystemWide URL
po/as.po | 9 +++++----
po/bn_IN.po | 9 +++++----
po/ca.po | 10 ++++++----
po/cs.po | 8 +++++---
po/de.po | 8 +++++---
po/de_CH.po | 5 +++--
po/el.po | 10 ++++++----
po/es.po | 11 ++++++-----
po/fi.po | 8 +++++---
po/fr.po | 10 ++++++----
po/gu.po | 8 +++++---
po/he.po | 5 +++--
po/hi.po | 10 ++++++----
po/hu.po | 10 ++++++----
po/id.po | 19 +++++++++++++++----
po/it.po | 10 ++++++----
po/ja.po | 8 +++++---
po/kn.po | 8 +++++---
po/ml.po | 10 ++++++----
po/mr.po | 9 +++++----
po/nl.po | 10 ++++++----
po/or.po | 10 ++++++----
po/pa.po | 9 +++++----
po/pl.po | 10 ++++++----
po/pt.po | 10 ++++++----
po/pt_BR.po | 10 ++++++----
po/ru.po | 10 ++++++----
po/sk.po | 5 +++--
po/sr.po | 10 ++++++----
po/sr@latin.po | 10 ++++++----
po/sv.po | 5 +++--
po/ta.po | 10 ++++++----
po/te.po | 10 ++++++----
po/uk.po | 11 ++++++-----
po/zh_CN.po | 9 +++++----
po/zh_TW.po | 13 +++++++++----
src/daemon/main.c | 2 +-
37 files changed, 206 insertions(+), 133 deletions(-)

Upstream: cgit.freedesktop.org


  • Share