From 811a8df50a816460d1819737f7b9716f98a08bb9 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sat, 3 Sep 2011 10:40:40 +0100 Subject: [PATCH] Revert "Amends create-weblinks-itexi to use langdefs" This reverts commit 3158f995ea81784ea84a06d865e90342ca774406. accidental push --- scripts/build/create-weblinks-itexi.py | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/scripts/build/create-weblinks-itexi.py b/scripts/build/create-weblinks-itexi.py index cba1c9cd35..d799925909 100644 --- a/scripts/build/create-weblinks-itexi.py +++ b/scripts/build/create-weblinks-itexi.py @@ -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 ''' -- 2.39.2