X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fbuild%2Fwebsite_post.py;h=a6fafdc01251bb38559f84d2dc3c337855881029;hb=59edf02a1acae41e21a080617aa7bd8673125762;hp=129c1217d325ecfc148eafac80f20e3590fdb9e6;hpb=25e22b5ae7e6c1c5a8ffa82fd8217909ef3fa124;p=lilypond.git diff --git a/scripts/build/website_post.py b/scripts/build/website_post.py index 129c1217d3..a6fafdc012 100644 --- a/scripts/build/website_post.py +++ b/scripts/build/website_post.py @@ -1,7 +1,7 @@ #!@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 @@ -11,6 +11,10 @@ import re ###### Translation data, move out, see create-weblinks-itexi.py translations = { + 'ca': { + 'English': 'Català ', + 'Other languages': 'Altres idiomes', + }, 'cs': { 'English': 'Äesky', 'Other languages': 'Jiné jazyky', @@ -45,11 +49,11 @@ translations = { }, 'zh': { 'English': 'ä¸æ', - 'Other languages': 'å ¶å®è¯è¨', + 'Other languages': 'å ¶ä»è¯è¨', }, } -# needs at least: make -C po or make- C Documentation/po +# needs at least: make -C po or make -C Documentation/po HAVE_GETTEXT = False #### this breaks on lilypond.org @@ -111,12 +115,14 @@ def addLangExt(filename, lang, ext): return text def makeFooter (filename, currentLang): - # TODO: add link to automatic language selection? - # still need to include this page in the new webpages somewhere footer = '''
+
%(other)s: %(lst)s.
+
+%(browser_language)s