]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/build/create-weblinks-itexi.py
Merge branch 'master' into lilypond/translation
[lilypond.git] / scripts / build / create-weblinks-itexi.py
index d3984a96cb1f6d93d5872a10b34c399ab660a4b2..cc1055cba823bbf985f10a6ee9587dbfbe39b588 100644 (file)
@@ -16,11 +16,11 @@ depth = "../"
 ### http://code.google.com/p/lilypond/issues/detail?id=1050
 
 #langs = ['', 'cs', 'de', 'es', 'fr', 'hu', 'it', 'ja', 'nl', 'zh']
-langs = ['', '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 zh; 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" \
@@ -124,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)',
 
@@ -193,30 +192,31 @@ translations = {
         ' (did not exist in 2.12)': ' (bestond nog niet in 2.12)',
      },
     'zh': {
-        'Source': 0,
-        'Learning': 0,
-        'Music glossary': 0,
-        'Essay': 0,
-        'Notation': 0,
-        'Usage': 0,
-        'Snippets': 0,
-        'Web': 0,
-        'Changes': 0,
-
-        'Extending': 0,
-        'Internals': 0,
-        'Contributor': 0,
-
-        ' (split HTML)': 0,
-        ' (big HTML)': 0,
-
-        'Regression tests for ': 0,
-        'PDF of regtests for ': 0,
-        'MusicXML Regression tests for ': 0,
-        'PDF of MusicXML regtests for ': 0,
-
-        'Doc tarball for ': 0,
-        ' (did not exist in 2.12)': 0,
+        '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中不存在)',
         },
     }