From: Graham Percival Date: Fri, 5 Mar 2010 19:11:11 +0000 (+0000) Subject: Web build: add translations for "Other languages" X-Git-Tag: release/2.13.16-1~52^2~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5bf9a25382bce0ea80f384d3cc25d2d6a7d7078c;p=lilypond.git Web build: add translations for "Other languages" --- diff --git a/scripts/build/website_post.py b/scripts/build/website_post.py index a22319ee77..4475b467fc 100644 --- a/scripts/build/website_post.py +++ b/scripts/build/website_post.py @@ -8,12 +8,22 @@ import sys import os import glob +#### Translation data lang_lookup = { 'fr': 'français', 'es': 'español', '': 'english' } +lang_other_langs = { + 'es': 'Blargle flop: ', + 'fr': 'lirer des autres langs: ', + '': 'Other languages: ' +} + + +#### Actual program + #indir, outdir = sys.argv[1:] # FIXME: looks dangerous! @@ -38,7 +48,7 @@ langs.sort() def makeFooter(currentLang): text = "

\n" - text += "Other languages: " + text += lang_other_langs[currentLang] for i in range(len(langs)): l = langs[i] if (l == currentLang):