]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/build/create-weblinks-itexi.py
Silences "Not a dir" messages in make website
[lilypond.git] / scripts / build / create-weblinks-itexi.py
index 202bfc29a698d97e3f7763205cd732f87ca35c18..cc1055cba823bbf985f10a6ee9587dbfbe39b588 100644 (file)
@@ -15,11 +15,12 @@ depth = "../"
 ### translation data -- shouldn't be here; see issue
 ### http://code.google.com/p/lilypond/issues/detail?id=1050
 
-langs = ['', 'de', 'es', 'fr', 'hu', 'it', 'ja', 'nl']
+#langs = ['', 'cs', 'de', 'es', 'fr', 'hu', 'it', 'ja', 'nl', 'zh']
+langs = ['', 'cs', 'de', 'es', 'fr', 'hu', 'it', 'ja', 'nl', 'zh']
 
 # Get/update node translations
 '''
-for i in de es fr hu it ja nl; do
+for i in cs de es fr hu it ja nl zh; do
     echo "'"$i"': {"
     (echo '--' ; grep -nH -B1 translationof Documentation/$i/web/* ) \
         | pytt '^--\n.*@(?:unnum|sub)[^ ]* (.*)\n.*@translationof (.*)\n' "'\2': '\1',\n" \
@@ -123,7 +124,6 @@ translations = {
         'Internals': 'Belső működés',
         'Contributor': 'Közreműködés',
 
-# keep the spaces!
         ' (split HTML)': ' (HTML oldalak)',
         ' (big HTML)': ' (egy nagy HTML oldal)',
 
@@ -191,6 +191,33 @@ translations = {
         'Doc tarball for ': 'Tarball met documentation voor ',
         ' (did not exist in 2.12)': ' (bestond nog niet in 2.12)',
      },
+    'zh': {
+        'Source': '源码',
+        'Learning': '学习',
+        'Music glossary': '音乐术语表',
+        'Essay': '文章',
+        'Notation': '五线谱',
+        'Usage': '使用',
+        'Snippets': '片断',
+        'Web': 'Web',
+        'Changes': '变化',
+
+        'Extending': '扩展',
+        'Internals': '内部',
+        'Contributor': '贡献者',
+
+# keep the spaces!
+        ' (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回归',
+
+        'Doc tarball for ': '为文档压缩包',
+        ' (did not exist in 2.12)': ' (在2.12中不存在)',
+        },
     }