[pulseaudio-discuss] [PATCH] Fix the WhatIsWrongWithSystemWide URL

Alexander E. Patrakov patrakov at gmail.com
Sat Nov 29 08:09:30 PST 2014


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 at http://pulseaudio.org/wiki/WhatIsWrongWithSystemMod 
@http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode @g' | sed 
's at http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode at http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/@g' 
| sed 's@/\.@/ . at g' | sed 's@/,@/ , at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-the-WhatIsWrongWithSystemWide-URL.patch
Type: text/x-patch
Size: 49267 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141129/397e6c41/attachment-0001.bin>


More information about the pulseaudio-discuss mailing list