Hello.  I've been very busy parsing doc logs and there is something
thatkind of annoys me: double slashes everywhere.  IMHO directories in
build scripts should end in their bare names if they are going to be
joined with a filename by means of a slash anyway, NOT end in slash
'just in case'.

I know that you shouldn't fix what doesn't need fixing; at least this
does not break anything, this is the test I've made with the patch
applied:

time ( make clean && ./autogen.sh && make && make doc-clean && make doc )

[32Mb of output later...]

Mirroring...
Processing HTML pages for offline target...
find ./out-www/offline-root -type l | xargs rm -f
make[1]: Leaving directory `/home/fravd/source/lilypond'

real    105m17.622s
user    93m34.935s
sys     10m16.579s

So the program builds, the docs build and look good, and 'make
install' succeeds.

Attached.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com
From e3c5b227c931b8750a9ef50d71db3e29413d36da Mon Sep 17 00:00:00 2001
From: Francisco Vila <[email protected]>
Date: Sun, 30 Jan 2011 19:37:02 +0100
Subject: [PATCH 4/5] Doc: additions to Chinese documentation and web.

---
 Documentation/lily_index_search.php    |    4 +-
 Documentation/lilypond-texi2html.init  |  395 +++++++++++++++++++++++++++-----
 make/website.make                      |    5 +-
 python/langdefs.py                     |    5 +-
 scripts/build/create-weblinks-itexi.py |   57 +++++-
 scripts/build/website_post.py          |   10 +-
 6 files changed, 411 insertions(+), 65 deletions(-)

diff --git a/Documentation/lily_index_search.php b/Documentation/lily_index_search.php
index f1b1e17..21c2020 100644
--- a/Documentation/lily_index_search.php
+++ b/Documentation/lily_index_search.php
@@ -1,5 +1,5 @@
 <?php
-  $languages = array ("en"=>"en", "de"=>"de", "nl"=>"nl", "jp"=>"jp", "hu"=>"hu", "fr"=>"fr", ""=>"en");
+  $languages = array ("en"=>"en", "de"=>"de", "nl"=>"nl", "ja"=>"ja", "hu"=>"hu", "fr"=>"fr", "zh"=>"zh", ""=>"en");
   $manuals = array ("essay"=>"essay", "extending"=>"extending", "learning"=>"learning", "notation"=>"notation", "usage"=>"usage");
 
   $lang = $languages[$_REQUEST['lang']];
@@ -59,4 +59,4 @@
   if ($form_submitted) {
     echo "</body></html>\n";
   }
-?>
\ No newline at end of file
+?>
diff --git a/Documentation/lilypond-texi2html.init b/Documentation/lilypond-texi2html.init
index 5734091..2993bdb 100644
--- a/Documentation/lilypond-texi2html.init
+++ b/Documentation/lilypond-texi2html.init
@@ -91,9 +91,14 @@ use Encode qw(decode);
 #############################################################################
 
 my $LY_LANGUAGES = {};
-$LY_LANGUAGES->{'fr'} = {
-    'Back to Documentation Index' => 'Retour à l\'accueil de la documentation',
-    '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '<p>Remerciements à ${webdev_link} pour l\'hébergement de ${lily_site}.',
+$LY_LANGUAGES->{'cs'} = {
+    'Back to Documentation Index' => '',
+    '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '',
+};
+
+$LY_LANGUAGES->{'de'} = {
+    'Back to Documentation Index' => 'Zur Dokumentationsübersicht',
+    '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '',
 };
 
 $LY_LANGUAGES->{'es'} = {
@@ -101,15 +106,11 @@ $LY_LANGUAGES->{'es'} = {
     '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '<p>Agradecemos a ${webdev_link} el alojamiento de ${lily_site}.',
 };
 
-$LY_LANGUAGES->{'de'} = {
-    'Back to Documentation Index' => 'Zur Dokumentationsübersicht',
-    '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '',
+$LY_LANGUAGES->{'fr'} = {
+    'Back to Documentation Index' => 'Retour à l\'accueil de la documentation',
+    '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '<p>Remerciements à ${webdev_link} pour l\'hébergement de ${lily_site}.',
 };
 
-$LY_LANGUAGES->{'ja'} = {
-    'Back to Documentation Index' => 'ドキュメント インデックスに戻る',
-    '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '',
-};
 
 $LY_LANGUAGES->{'hu'} = {
     'Back to Documentation Index' => 'Vissza a dokumentációk jegyzékéhez',
@@ -121,9 +122,20 @@ $LY_LANGUAGES->{'it'} = {
     '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '',
 };
 
+$LY_LANGUAGES->{'ja'} = {
+    'Back to Documentation Index' => 'ドキュメント インデックスに戻る',
+    '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '${lily_site} をホスティングしてくれている ${webdev_link} に感謝します。',
+};
+
+
 $LY_LANGUAGES->{'nl'} = {
     'Back to Documentation Index' => 'Terug naar de Documentatieindex',
-    '<p>Met dank aan ${webdev_link} voor het hosten van ${lily_site}.' => '',
+    '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '<p>Met dank aan ${webdev_link} voor het hosten van ${lily_site}.',
+};
+
+$LY_LANGUAGES->{'zh'} = {
+    'Back to Documentation Index' => '',
+    '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '',
 };
 
 # FIXME: request the translations below then send them to texi2html/texinfo devs
@@ -411,45 +423,180 @@ $LANGUAGES->{'ja'} = {
                        'About This Document' => 'このドキュメントについて',
                        'April' => '4 月',
                        'August' => '8 月',
-                       'Back' => 'Back',
-                       'Back section in previous file' => '',
+                       'Back' => '戻る',
+                       'Back section in previous file' => '前のファイルのセクションに戻る',
                        'Beginning of this chapter or previous chapter' => 'この章あるいは前の章の先頭',
                        'Button' => 'ボタン',
                        'Contents' => '目次',
                        'Cover (top) of document' => 'ドキュメントの表紙 (先頭)',
-                       'Current' => '',
+                       'Current' => '現在の',
                        'Current Position' => '現在の位置',
-                       'Current section' => '',
+                       'Current section' => '現在のセクション',
                        'December' => '12 月',
-                       'FastBack' => '',
-                       'FastForward' => '',
+                       'FastBack' => '大きく戻る',
+                       'FastForward' => '大きく進む',
                        'February' => '2 月',
-                       'First' => '',
-                       'First section in reading order' => '',
-                       'Following' => '',
-                       'Following node' => '',
+                       'First' => '最初',
+                       'First section in reading order' => '最初のセクション',
+                       'Following' => '次',
+                       'Following node' => '次のノード',
                        'Footnotes' => '脚注',
-                       'Forward' => '',
-                       'Forward section in next file' => '',
+                       'Forward' => '進む',
+                       'Forward section in next file' => '次のファイルのセクションに進む',
                        'From 1.2.3 go to' => '1.2.3 からの行き先',
                        'Go to' => '行き先',
                        'Index' => 'インデックス',
                        'Index Entry' => 'インデックス エントリ',
                        'January' => '1 月',
                        'July' => '7 月',
-                       'Jump to' => '',
+                       'Jump to' => '行き先',
                        'June' => '6月',
-                       'Last' => '',
-                       'Last section in reading order' => '',
+                       'Last' => '最後',
+                       'Last section in reading order' => '最後のセクション',
                        'March' => '3 月',
                        'May' => '5 月',
                        'Menu:' => 'メニュー',
+                       'Name' => '名前',
+                       'Next' => '次',
+                       'Next chapter' => '次の章',
+                       'Next file' => '次のファイル',
+                       'Next node' => '次のノード',
+                       'Next section in reading order' => '次のセクション',
+                       'Next section on same level' => '次のセクション',
+                       'NextFile' => '次のファイル',
+                       'Node following in node reading order' => '次のノード',
+                       'Node up' => '上のノード',
+                       'NodeNext' => '次のノード',
+                       'NodePrev' => '前のノード',
+                       'NodeUp' => '上のノード',
+                       'November' => '11 月',
+                       'October' => '10 月',
+                       'Overview' => '概要',
+                       'Prev' => '前',
+                       'PrevFile' => '前のファイル',
+                       'Previous' => '前の',
+                       'Previous file' => '前のファイル',
+                       'Previous node' => '前のノード',
+                       'Previous section in reading order' => '前のセクション',
+                       'Previous section on same level' => '前のセクション',
+                       'Section' => 'セクション',
+                       'Section One' => 'セクション 1',
+                       'See ' => '参照',
+                       'See @cite{{book}}' => '@cite{{book}} を参照してください',
+                       'See section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => '@cite{{book}} のセクション `@asis{}`{section_name}\'@asis{}\' を参照してください',
+                       'See section `{section}\' in @cite{{book}}' => '@cite{{book}} のセクション `{section}\' を参照してください',
+                       'See section {reference_name}' => 'セクション {reference_name} を参照してください',
+                       'See {node_file_href}' => '{node_file_href} を参照してください',
+                       'See {node_file_href} @cite{{book}}' => '@cite{{book}} の {node_file_href} を参照してください',
+                       'See {node_file_href} section `{section}\' in @cite{{book}}' => '@cite{{book}} の {node_file_href} セクション `{section}\' を参照してください',
+                       'See {reference_name}' => '{reference_name} を参照してください',
+                       'See {ref}' => '{ref} を参照してください',
+                       'See {title_ref}' => '{title_ref} を参照してください',
+                       'September' => '9 月',
+                       'Short Table of Contents' => '簡単な目次',
+                       'Short table of contents' => '簡単な目次',
+                       'Subsection One-Four' => 'サブセクション 1-4',
+                       'Subsection One-One' => 'サブセクション 1-1',
+                       'Subsection One-Three' => 'サブセクション 1-3',
+                       'Subsection One-Two' => 'サブセクション 1-2',
+                       'Subsubsection One-Two-Four' => 'サブサブセクション 1-2-4',
+                       'Subsubsection One-Two-One' => 'サブサブセクション 1-2-1',
+                       'Subsubsection One-Two-Three' => 'サブサブセクション 1-2-3',
+                       'Subsubsection One-Two-Two' => 'サブサブセクション 1-2-2',
+                       'T2H_today' => '%s, %d %d',
+                       'Table of Contents' => '目次',
+                       'Table of contents' => '目次',
+                       'The node you are looking for is at {href}.' => 'あなたが探しているノードは {href} にあります。',
+                       'This' => 'この',
+                       'This document was generated on @i{{date}} using @uref{{program_homepage}, @i{{program}}}.' => 'このドキュメントは @i{{date}} に、@uref{{program_homepage}, @i{{program}}} を用いて生成されました。',
+                       'This document was generated using @uref{{program_homepage}, @emph{{program}}}.' => 'このドキュメントは @uref{{program_homepage}, @emph{{program}}} を用いて生成されました。',
+                       'Top' => 'トップ',
+                       'Untitled Document' => '無題のドキュメント',
+                       'Up' => '上',
+                       'Up node' => '上のノード',
+                       'Up section' => '上のセクション',
+                       'current' => '現在の',
+                       'on @emph{{date}}' => '@emph{{date}} に',
+                       'section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => '@cite{{book}} のセクション `@asis{}`{section_name}\'@asis{}\'',
+                       'section `{section}\' in @cite{{book}}' => '@cite{{book}} のセクション `{section}\'',
+                       'see ' => '参照',
+                       'see @cite{{book}}' => '@cite{{book}} を参照してください',
+                       'see section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => '@cite{{book}} のセクション `@asis{}`{section_name}\'@asis{}\' を参照してください',
+                       'see section `{section}\' in @cite{{book}}' => '@cite{{book}} のセクション `{section}\' を参照してください',
+                       'see section {reference_name}' => 'セクション {reference_name} を参照してください',
+                       'see {node_file_href}' => '{node_file_href} を参照してください',
+                       'see {node_file_href} @cite{{book}}' => '{node_file_href} @cite{{book}} を参照してください',
+                       'see {node_file_href} section `{section}\' in @cite{{book}}' => '@cite{{book}} の {node_file_href} section `{section}\' を参照してください',
+                       'see {reference_name}' => '{reference_name} を参照してください',
+                       'see {ref}' => '{ref} を参照してくださ',
+                       'see {title_ref}' => '{title_ref} を参照してくださ',
+                       '{acronym_like} ({explanation})' => '{acronym_like} ({explanation})',
+                       '{name} of {class}' => '{class} の {name}',
+                       '{name} on {class}' => '{class} の {name}',
+                       '{node_file_href}' => '{node_file_href}',
+                       '{node_file_href} @cite{{book}}' => '{node_file_href} @cite{{book}}',
+                       '{node_file_href} section `{section}\' in @cite{{book}}' => '@cite{{book}} の {node_file_href} セクション `{section}\'',
+                       '{reference_name}' => '{reference_name}',
+                       '{ref}' => '{ref}',
+                       '{style} {number}' => '{style} {number}',
+                       '{style}: {caption_first_line}' => '{style}: {caption_first_line}',
+                       '{style}: {shortcaption_first_line}' => '{style}: {shortcaption_first_line}',
+                       '{title_ref}' => '{title_ref}'
+                     };
+
+$LANGUAGES->{'zh'} = {
+                       '  The buttons in the navigation panels have the following meaning:' => '',
+                       '  where the @strong{ Example } assumes that the current position is at @strong{ Subsubsection One-Two-Three } of a document of the following structure:' => '',
+                       ' Up ' => '',
+                       '(outside of any element)' => '',
+                       '(outside of any node)' => '',
+                       '@b{{quotation_arg}:} ' => '',
+                       '@cite{{book}}' => '',
+                       '@{No value for `{value}\'@}' => '',
+                       'About' => '',
+                       'About (help)' => '',
+                       'About This Document' => '',
+                       'April' => '',
+                       'August' => '',
+                       'Back' => '',
+                       'Back section in previous file' => '',
+                       'Beginning of this chapter or previous chapter' => '',
+                       'Button' => '',
+                       'Contents' => '',
+                       'Cover (top) of document' => '',
+                       'Current' => '',
+                       'Current Position' => '',
+                       'Current section' => '',
+                       'December' => '',
+                       'FastBack' => '',
+                       'FastForward' => '',
+                       'February' => '',
+                       'First' => '',
+                       'First section in reading order' => '',
+                       'Following' => '',
+                       'Following node' => '',
+                       'Footnotes' => '',
+                       'Forward' => '',
+                       'Forward section in next file' => '',
+                       'From 1.2.3 go to' => '',
+                       'Go to' => '',
+                       'Index' => '',
+                       'Index Entry' => '',
+                       'January' => '',
+                       'July' => '',
+                       'Jump to' => '',
+                       'June' => '',
+                       'Last' => '',
+                       'Last section in reading order' => '',
+                       'March' => '',
+                       'May' => '',
+                       'Menu:' => '',
                        'Name' => '',
                        'Next' => '',
-                       'Next chapter' => '次の章',
+                       'Next chapter' => '',
                        'Next file' => '',
                        'Next node' => '',
-                       'Next section in reading order' => '次のセクション',
+                       'Next section in reading order' => '',
                        'Next section on same level' => '',
                        'NextFile' => '',
                        'Node following in node reading order' => '',
@@ -457,18 +604,18 @@ $LANGUAGES->{'ja'} = {
                        'NodeNext' => '',
                        'NodePrev' => '',
                        'NodeUp' => '',
-                       'November' => '11 月',
-                       'October' => '10 月',
-                       'Overview' => '概要',
+                       'November' => '',
+                       'October' => '',
+                       'Overview' => '',
                        'Prev' => '',
                        'PrevFile' => '',
                        'Previous' => '',
                        'Previous file' => '',
                        'Previous node' => '',
-                       'Previous section in reading order' => '前のセクション',
+                       'Previous section in reading order' => '',
                        'Previous section on same level' => '',
-                       'Section' => 'セクション',
-                       'Section One' => 'セクション 1',
+                       'Section' => '',
+                       'Section One' => '',
                        'See ' => '',
                        'See @cite{{book}}' => '',
                        'See section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => '',
@@ -480,31 +627,31 @@ $LANGUAGES->{'ja'} = {
                        'See {reference_name}' => '',
                        'See {ref}' => '',
                        'See {title_ref}' => '',
-                       'September' => '9 月',
+                       'September' => '',
                        'Short Table of Contents' => '',
                        'Short table of contents' => '',
-                       'Subsection One-Four' => 'サブセクション 1-4',
-                       'Subsection One-One' => 'サブセクション 1-1',
-                       'Subsection One-Three' => 'サブセクション 1-3',
-                       'Subsection One-Two' => 'サブセクション 1-2',
-                       'Subsubsection One-Two-Four' => 'サブサブセクション 1-2-4',
-                       'Subsubsection One-Two-One' => 'サブサブセクション 1-2-1',
-                       'Subsubsection One-Two-Three' => 'サブサブセクション 1-2-3',
-                       'Subsubsection One-Two-Two' => 'サブサブセクション 1-2-2',
-                       'T2H_today' => '%s, %d %d',
-                       'Table of Contents' => '目次',
-                       'Table of contents' => '目次',
+                       'Subsection One-Four' => '',
+                       'Subsection One-One' => '',
+                       'Subsection One-Three' => '',
+                       'Subsection One-Two' => '',
+                       'Subsubsection One-Two-Four' => '',
+                       'Subsubsection One-Two-One' => '',
+                       'Subsubsection One-Two-Three' => '',
+                       'Subsubsection One-Two-Two' => '',
+                       'T2H_today' => '',
+                       'Table of Contents' => '',
+                       'Table of contents' => '',
                        'The node you are looking for is at {href}.' => '',
                        'This' => '',
-                       'This document was generated on @i{{date}} using @uref{{program_homepage}, @i{{program}}}.' => 'このドキュメントは @i{{date}} に、@uref{{program_homepage}, @i{{program}}} を用いて生成されました。',
-                       'This document was generated using @uref{{program_homepage}, @emph{{program}}}.' => 'このドキュメントは @uref{{program_homepage}, @emph{{program}}} を用いて生成されました。',
-                       'Top' => 'トップ',
+                       'This document was generated on @i{{date}} using @uref{{program_homepage}, @i{{program}}}.' => '',
+                       'This document was generated using @uref{{program_homepage}, @emph{{program}}}.' => '',
+                       'Top' => '',
                        'Untitled Document' => '',
-                       'Up' => '上',
+                       'Up' => '',
                        'Up node' => '',
-                       'Up section' => '上のセクション',
+                       'Up section' => '',
                        'current' => '',
-                       'on @emph{{date}}' => '@emph{{date}} に',
+                       'on @emph{{date}}' => '',
                        'section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => '',
                        'section `{section}\' in @cite{{book}}' => '',
                        'see ' => '',
@@ -518,20 +665,154 @@ $LANGUAGES->{'ja'} = {
                        'see {reference_name}' => '',
                        'see {ref}' => '',
                        'see {title_ref}' => '',
-                       '{acronym_like} ({explanation})' => '{acronym_like} ({explanation})',
+                       '{acronym_like} ({explanation})' => '',
                        '{name} of {class}' => '',
                        '{name} on {class}' => '',
                        '{node_file_href}' => '',
                        '{node_file_href} @cite{{book}}' => '',
                        '{node_file_href} section `{section}\' in @cite{{book}}' => '',
                        '{reference_name}' => '',
-                       '{ref}' => '{ref}',
-                       '{style} {number}' => '{style} {number}',
-                       '{style}: {caption_first_line}' => '{style}: {caption_first_line}',
-                       '{style}: {shortcaption_first_line}' => '{style}: {shortcaption_first_line}',
+                       '{ref}' => '',
+                       '{style} {number}' => '',
+                       '{style}: {caption_first_line}' => '',
+                       '{style}: {shortcaption_first_line}' => '',
                        '{title_ref}' => '{title_ref}'
                      };
 
+$LANGUAGES->{'cs'} = {
+                       '  The buttons in the navigation panels have the following meaning:' => '',
+                       '  where the @strong{ Example } assumes that the current position is at @strong{ Subsubsection One-Two-Three } of a document of the following structure:' => '',
+                       ' Up ' => '',
+                       '(outside of any element)' => '',
+                       '(outside of any node)' => '',
+                       '@b{{quotation_arg}:} ' => '',
+                       '@cite{{book}}' => '',
+                       '@{No value for `{value}\'@}' => '',
+                       'About' => '',
+                       'About (help)' => '',
+                       'About This Document' => '',
+                       'April' => '',
+                       'August' => '',
+                       'Back' => '',
+                       'Back section in previous file' => '',
+                       'Beginning of this chapter or previous chapter' => '',
+                       'Button' => '',
+                       'Contents' => '',
+                       'Cover (top) of document' => '',
+                       'Current' => '',
+                       'Current Position' => '',
+                       'Current section' => '',
+                       'December' => '',
+                       'FastBack' => '',
+                       'FastForward' => '',
+                       'February' => '',
+                       'First' => '',
+                       'First section in reading order' => '',
+                       'Following' => '',
+                       'Following node' => '',
+                       'Footnotes' => '',
+                       'Forward' => '',
+                       'Forward section in next file' => '',
+                       'From 1.2.3 go to' => '',
+                       'Go to' => '',
+                       'Index' => '',
+                       'Index Entry' => '',
+                       'January' => '',
+                       'July' => '',
+                       'Jump to' => '',
+                       'June' => '',
+                       'Last' => '',
+                       'Last section in reading order' => '',
+                       'March' => '',
+                       'May' => '',
+                       'Menu:' => '',
+                       'Name' => '',
+                       'Next' => '',
+                       'Next chapter' => '',
+                       'Next file' => '',
+                       'Next node' => '',
+                       'Next section in reading order' => '',
+                       'Next section on same level' => '',
+                       'NextFile' => '',
+                       'Node following in node reading order' => '',
+                       'Node up' => '',
+                       'NodeNext' => '',
+                       'NodePrev' => '',
+                       'NodeUp' => '',
+                       'November' => '',
+                       'October' => '',
+                       'Overview' => '',
+                       'Prev' => '',
+                       'PrevFile' => '',
+                       'Previous' => '',
+                       'Previous file' => '',
+                       'Previous node' => '',
+                       'Previous section in reading order' => '',
+                       'Previous section on same level' => '',
+                       'Section' => '',
+                       'Section One' => '',
+                       'See ' => '',
+                       'See @cite{{book}}' => '',
+                       'See section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => '',
+                       'See section `{section}\' in @cite{{book}}' => '',
+                       'See section {reference_name}' => '',
+                       'See {node_file_href}' => '',
+                       'See {node_file_href} @cite{{book}}' => '',
+                       'See {node_file_href} section `{section}\' in @cite{{book}}' => '',
+                       'See {reference_name}' => '',
+                       'See {ref}' => '',
+                       'See {title_ref}' => '',
+                       'September' => '',
+                       'Short Table of Contents' => '',
+                       'Short table of contents' => '',
+                       'Subsection One-Four' => '',
+                       'Subsection One-One' => '',
+                       'Subsection One-Three' => '',
+                       'Subsection One-Two' => '',
+                       'Subsubsection One-Two-Four' => '',
+                       'Subsubsection One-Two-One' => '',
+                       'Subsubsection One-Two-Three' => '',
+                       'Subsubsection One-Two-Two' => '',
+                       'T2H_today' => '',
+                       'Table of Contents' => '',
+                       'Table of contents' => '',
+                       'The node you are looking for is at {href}.' => '',
+                       'This' => '',
+                       'This document was generated on @i{{date}} using @uref{{program_homepage}, @i{{program}}}.' => '',
+                       'This document was generated using @uref{{program_homepage}, @emph{{program}}}.' => '',
+                       'Top' => '',
+                       'Untitled Document' => '',
+                       'Up' => '',
+                       'Up node' => '',
+                       'Up section' => '',
+                       'current' => '',
+                       'on @emph{{date}}' => '',
+                       'section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => '',
+                       'section `{section}\' in @cite{{book}}' => '',
+                       'see ' => '',
+                       'see @cite{{book}}' => '',
+                       'see section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => '',
+                       'see section `{section}\' in @cite{{book}}' => '',
+                       'see section {reference_name}' => '',
+                       'see {node_file_href}' => '',
+                       'see {node_file_href} @cite{{book}}' => '',
+                       'see {node_file_href} section `{section}\' in @cite{{book}}' => '',
+                       'see {reference_name}' => '',
+                       'see {ref}' => '',
+                       'see {title_ref}' => '',
+                       '{acronym_like} ({explanation})' => '',
+                       '{name} of {class}' => '',
+                       '{name} on {class}' => '',
+                       '{node_file_href}' => '',
+                       '{node_file_href} @cite{{book}}' => '',
+                       '{node_file_href} section `{section}\' in @cite{{book}}' => '',
+                       '{reference_name}' => '',
+                       '{ref}' => '',
+                       '{style} {number}' => '',
+                       '{style}: {caption_first_line}' => '',
+                       '{style}: {shortcaption_first_line}' => '',
+                       '{title_ref}' => '{title_ref}'
+                     };
 
 sub ly_get_string () {
     my $lang = $Texi2HTML::THISDOC{current_lang};
diff --git a/make/website.make b/make/website.make
index 4987a60..9ea6790 100644
--- a/make/website.make
+++ b/make/website.make
@@ -35,8 +35,9 @@ endif
 OUT=out-website
 
 ### only update this when the language compiles correctly!
-# LANGUAGES = (site, de, es, fr, hu, it, ja, nl)
-WEB_LANGS = es fr it nl de hu
+# LANGUAGES = (site, cs, de, es, fr, hu, it, ja, nl, zh)
+#WEB_LANGS = de es fr hu it ja nl zh cs
+WEB_LANGS = de es fr hu it ja nl zh
 
 TEXI2HTML=ONLY_WEB=1 TOP_SRC_DIR=$(top-src-dir) DEPTH=$(depth) PERL_UNICODE=SD $(TEXI2HTML_PROGRAM)
 
diff --git a/python/langdefs.py b/python/langdefs.py
index 032c791..f0d2030 100644
--- a/python/langdefs.py
+++ b/python/langdefs.py
@@ -59,6 +59,7 @@ def french_html_filter (page):
         body = body.replace (r[0], r[1])
     return page[:body_begin] + body + page[body_end:]
 
+# cs = LanguageDef ('cs', 'česky', enable_ly_identifier_l10n=False)
 de = LanguageDef ('de', 'deutsch')
 es = LanguageDef ('es', 'español')
 fr = LanguageDef ('fr', 'français', double_punct_char_sep='&nbsp;', html_filter = french_html_filter)
@@ -66,12 +67,14 @@ hu = LanguageDef ('hu', 'magyar')
 it = LanguageDef ('it', 'italiano')
 ja = LanguageDef ('ja', '日本語', enable_ly_identifier_l10n=False)
 nl = LanguageDef ('nl', 'nederlands')
+zh = LanguageDef ('zh', '中文', enable_ly_identifier_l10n=False)
 
 # Outdated or broken translations may be disabled
 # (please run 'make doc-clean' before doing that):
 #fr.enabled = False
 
-LANGUAGES = (site, de, es, fr, hu, it, ja, nl)
+# LANGUAGES = (site, cs, de, es, fr, hu, it, ja, nl, zh)
+LANGUAGES = (site, de, es, fr, hu, it, ja, nl, zh)
 
 if __name__ == '__main__':
     print ' '.join ([l.code for l in LANGUAGES if l.enabled and l.code != 'en'])
diff --git a/scripts/build/create-weblinks-itexi.py b/scripts/build/create-weblinks-itexi.py
index a1c2654..98c7c00 100644
--- a/scripts/build/create-weblinks-itexi.py
+++ b/scripts/build/create-weblinks-itexi.py
@@ -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" \
@@ -29,6 +30,32 @@ done
 '''
 
 translations = {
+    'cs': {
+        '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,
+        },
     'de': {
         'Source': 'Quellen',
         'Learning': 'Einführung',
@@ -191,6 +218,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,
+        },
     }
 
 
diff --git a/scripts/build/website_post.py b/scripts/build/website_post.py
index d4e8c4b..ba2432e 100644
--- a/scripts/build/website_post.py
+++ b/scripts/build/website_post.py
@@ -11,6 +11,10 @@ import re
 
 ###### Translation data, move out, see create-weblinks-itexi.py
 translations = {
+    'cs': {
+        'English': 'Česky',
+        'Other languages': 'Other languages',
+        },
     'de': {
         'English': 'Deutsch',
         'Other languages': 'Andere Sprachen',
@@ -32,13 +36,17 @@ translations = {
         'Other languages': 'Altre lingue',
         },
     'ja': {
-        'English': 'Japanese',
+        'English': '日本語',
         'Other languages': '他の言語',
         },
     'nl': {
         'English': 'Nederlands',
         'Other languages': 'Andere talen',
         },
+    'zh': {
+        'English': '中文',
+        'Other languages': 'Other languages',
+        },
     }
 
 # needs at least: make -C po or make- C Documentation/po
-- 
1.7.0.4

_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to