]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/build/website_post.py
Web build: add translations for "Other languages"
[lilypond.git] / scripts / build / website_post.py
index a22319ee7705d1fddd4477f481d47541cb12257f..4475b467fc00f9f52cce610620a5d1e6aacebcdb 100644 (file)
@@ -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 = "<p id=\"languages\">\n"
-       text += "Other languages: "
+       text += lang_other_langs[currentLang]
        for i in range(len(langs)):
                l = langs[i]
                if (l == currentLang):