summaryrefslogtreecommitdiff
path: root/tools/announce-wrangler.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/announce-wrangler.py')
-rw-r--r--tools/announce-wrangler.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/announce-wrangler.py b/tools/announce-wrangler.py
index 7126262..cf92486 100644
--- a/tools/announce-wrangler.py
+++ b/tools/announce-wrangler.py
@@ -4,6 +4,7 @@ import glob
import wordpresslib # http://www.blackbirdblog.it/programmazione/progetti/28
import ConfigParser
import os
+import re
doaps = glob.glob("*.doap")
@@ -120,6 +121,10 @@ print "============ x8 x8 x8 ===== SEND THIS TO gnome-announce-list"
print text_version
print "============ x8 x8 x8 ===== ENDS"
+translations = re.sub('\((.*)\)',
+ '(<a href="http://svn.gnome.org/viewvc/metacity/trunk/po/\\1.po">\\1</a>)',
+ translations)
+
html_version = """\
<b>What is it ?</b><br />
<ul>%s</ul>