]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/build/create-weblinks-itexi.py
Web: add Chinese webpage by Ben Luo, thanks!
[lilypond.git] / scripts / build / create-weblinks-itexi.py
index a1c26549ad35a7ff0c8d1b7b370e7b1e1a5b53ec..4e84a5297a7a1934ad6558bf15c5f02e885d147f 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 = ['', '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 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" \
@@ -191,6 +192,32 @@ translations = {
         'Doc tarball for ': 'Tarball met documentation voor ',
         ' (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,
+        },
     }