### 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" \
'Snippets': 'Kódrészletek',
'Web': 'Web',
'Changes': 'Változások',
-
- #TODO
- 'Extending': 0,
+ 'Extending': 'Bővítés',
'Internals': 'Belső működés',
- 'Contributor': 0,
+ 'Contributor': 'Közreműködés',
- ' (split HTML)': 0,
- ' (big HTML)': 0,
+ ' (split HTML)': ' (HTML oldalak)',
+ ' (big HTML)': ' (egy nagy HTML oldal)',
- 'Regression tests for ': 0,
- 'PDF of regtests for ': 0,
- 'MusicXML Regression tests for ': 0,
- 'PDF of MusicXML regtests for ': 0,
+ 'Regression tests for ': 'Regressziós tesztek - verzió: ',
+ 'PDF of regtests for ': 'PDF formátumban - verzió: ',
+ 'MusicXML Regression tests for ': 'MusicXML regressziós tesztek - verzió: ',
+ 'PDF of MusicXML regtests for ': 'PDF formátumban - verzió: ',
- 'Doc tarball for ': 0,
- ' (did not exist in 2.12)': 0,
+ 'Doc tarball for ': 'Tömörített csomag - verzió: ',
+ ' (did not exist in 2.12)': ' (nem létezett a 2.12-es verzióban)',
},
'ja': {
'Source': 'ソース',
'Changes': '変更点',
#TODO
- 'Extending': 0,
+ 'Extending': '拡張',
'Internals': '内部リファレンス',
- 'Contributor': 0,
+ 'Contributor': '貢献者向けガイド',
- ' (split HTML)': 0,
- ' (big HTML)': 0,
+# keep the spaces!
+ ' (split HTML)': ' (ページ毎に分割された HTML)',
+ ' (big HTML)': ' (1 つの大きな HTML)',
- 'Regression tests for ': 0,
- 'PDF of regtests for ': 0,
- 'MusicXML Regression tests for ': 0,
- 'PDF of MusicXML regtests for ': 0,
+ 'Regression tests for ': '回帰テスト バージョン ',
+ 'PDF of regtests for ': '回帰テスト (PDF 版) バージョン ',
+ 'MusicXML Regression tests for ': 'MusicXML 回帰テスト バージョン ',
+ 'PDF of MusicXML regtests for ': 'MusicXML 回帰テスト (PDF 版) バージョン ',
- 'Doc tarball for ': 0,
- ' (did not exist in 2.12)': 0,
+ 'Doc tarball for ': 'ドキュメント アーカイブ バージョン ',
+ ' (did not exist in 2.12)': ' (バージョン 2.12 には存在しません)',
},
'nl': {
'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,
+ },
}
url+"lilypond-book/collated-files.html",
getTrans("lilypond-book Regression tests for ", lang)+version)
make_ver_link(macroLang("regtest"+name+"XmlPdf", lang),
- url+"musicxml/collated-files.html",
+ url+"musicxml/collated-files.pdf",
getTrans("PDF of MusicXML regtests for ", lang)+version)
make_ver_link(macroLang("regtest"+name+"AbcPdf", lang),
- url+"abc2ly/collated-files.html",
+ url+"abc2ly/collated-files.pdf",
getTrans("PDF of abc2ly regtests for ", lang)+version)
make_ver_link(macroLang("regtest"+name+"LilypondBookPdf", lang),
- url+"lilypond-book/collated-files.html",
+ url+"lilypond-book/collated-files.pdf",
getTrans("PDF of lilypond-book regtests for ", lang)+version)
def make_doctarball_links(name, version, lang):