[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Uses langdefs.py to create language list for create-weblinks-itexi.p
From: |
jan . nieuwenhuizen |
Subject: |
Re: Uses langdefs.py to create language list for create-weblinks-itexi.py (issue 4951047) |
Date: |
Fri, 02 Sep 2011 06:25:59 +0000 |
If that works, then why not have
--- a/scripts/build/create-weblinks-itexi.py
+++ b/scripts/build/create-weblinks-itexi.py
@@ -9,11 +9,11 @@ import sys
import os
import glob
### translation data -- shouldn't be here; see issue
### http://code.google.com/p/lilypond/issues/detail?id=1050
-#langs = ['', 'cs', 'de', 'es', 'fr', 'hu', 'it', 'ja', 'nl', 'zh']
-langs = ['', 'cs', 'de', 'es', 'fr', 'hu', 'it', 'ja', 'nl', 'zh']
+import langdefs
+langs = [i.code if i.code != 'en' else '' for i in langdefs.LANGUAGES]
# Get/update node translations
'''
http://codereview.appspot.com/4951047/