]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/build/create-weblinks-itexi.py
Web: Revise Chinese translation in build scripts
[lilypond.git] / scripts / build / create-weblinks-itexi.py
index 106dcee6579492c0d1776000769714d6fdb607ac..c7e02ceb844672ff738aa387fced648f59f69899 100644 (file)
@@ -13,7 +13,15 @@ import glob
 ### http://code.google.com/p/lilypond/issues/detail?id=1050
 
 import langdefs
-langs = [i.code if i.code != 'en' else '' for i in langdefs.WEB_LANGUAGES]
+# GUB only has python 2.4 !!!
+# langs = [i.code if i.code != 'en' else '' for i in langdefs.WEB_LANGUAGES]
+langs = []
+for lang in langdefs.WEB_LANGUAGES:
+    if lang.code == 'en':
+        langs.append('')
+    else:
+        langs.append(lang.code)
+
 
 # these links are relative from /website/ on lilypond.org
 depth = "../"
@@ -196,27 +204,27 @@ translations = {
         'Learning': '学习',
         'Music glossary': '音乐术语表',
         'Essay': '文章',
-        'Notation': '五线谱',
+        'Notation': '记谱法',
         'Usage': '使用',
         'Snippets': '片断',
         'Web': 'Web',
         'Changes': '变化',
 
         'Extending': '扩展',
-        'Internals': '内部',
+        'Internals': '内部机制',
         'Contributor': '贡献者',
 
 # keep the spaces!
-        ' (split HTML)': ' (分开的HTML',
-        ' (big HTML)': ' (大的HTML)',
+        ' (split HTML)': ' (分开的 HTML)',
+        ' (big HTML)': ' (大的 HTML)',
 
-        'Regression tests for ': '回归测试',
-        'PDF of regtests for ': '回归的PDF',
-        'MusicXML Regression tests for ': 'MusicXML回归测试',
-        'PDF of MusicXML regtests for ': 'MusicXML的PDF回归',
+        'Regression tests for ': '回归测试 ',
+        'PDF of regtests for ': '回归测试的 PDF ',
+        'MusicXML Regression tests for ': 'MusicXML 回归测试 ',
+        'PDF of MusicXML regtests for ': 'MusicXML 的 PDF 回归测试 ',
 
         'Doc tarball for ': '为文档压缩包',
-        ' (did not exist in 2.12)': ' (在2.12中不存在)',
+        ' (did not exist in 2.12)': ' (在 2.12 中不存在)',
         },
     }