]> git.donarmstrong.com Git - lilypond.git/commitdiff
Revert "Amends create-weblinks-itexi to use langdefs"
authorGraham Percival <graham@percival-music.ca>
Sat, 3 Sep 2011 09:40:40 +0000 (10:40 +0100)
committerGraham Percival <graham@percival-music.ca>
Sat, 3 Sep 2011 09:40:40 +0000 (10:40 +0100)
This reverts commit 3158f995ea81784ea84a06d865e90342ca774406.

accidental push

scripts/build/create-weblinks-itexi.py

index cba1c9cd35b307f803ee64d53dc6820e91cf2c8b..d799925909c9c4933527cafe77bfb56149977c4b 100644 (file)
@@ -9,21 +9,14 @@ import sys
 import os
 import glob
 
+# these links are relative from /website/ on lilypond.org
+depth = "../"
+
 ### translation data -- shouldn't be here; see issue
 ### http://code.google.com/p/lilypond/issues/detail?id=1050
 
-langs = []
-
-import langdefs
-langobjs = langdefs.LANGUAGES
-for i in langobjs:
-    if i.code == 'en':
-        langs.append ('')
-    else:
-        langs.append(i.code)
-
-# these links are relative from /website/ on lilypond.org
-depth = "../"
+#langs = ['', 'cs', 'de', 'es', 'fr', 'hu', 'it', 'ja', 'nl', 'zh']
+langs = ['', 'cs', 'de', 'es', 'fr', 'hu', 'it', 'ja', 'nl', 'zh']
 
 # Get/update node translations
 '''