#!@PYTHON@
#-*- coding: utf-8 -*-
-##### This is web_post.py. This script deals with translations
+##### This is website_post.py. This script deals with translations
##### in the "make website" target.
import sys
###### Translation data, move out, see create-weblinks-itexi.py
translations = {
+ 'ca': {
+ 'English': 'Català',
+ 'Other languages': 'Altres idiomes',
+ },
'cs': {
'English': 'Česky',
'Other languages': 'Jiné jazyky',
def makeFooter (filename, currentLang):
footer = '''<p id="languages">
+<!-- These links were autogenerated by %(me)s -->
%(other)s: %(lst)s.
<br>
%(browser_language)s
</p>
'''
+ me = sys.argv[0]
def link (lang):
str = '''<a href="%(file_name)s">%(language_name)s</a>'''
file_name = addLangExt (filename, lang, 'html')
outfile.write("</div>\n")
outfile.write(line)
outfile.close()
-