X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Flilypond-texi2html.init;h=6814aafed73b77435468900be865f84cf339a508;hb=854c9519c;hp=2993bdb2198567ad3656b94dca620cb8b0ef8be7;hpb=f2fbf0dd215c8af6a30aae6c9634f3b92333b0ab;p=lilypond.git diff --git a/Documentation/lilypond-texi2html.init b/Documentation/lilypond-texi2html.init index 2993bdb219..6814aafed7 100644 --- a/Documentation/lilypond-texi2html.init +++ b/Documentation/lilypond-texi2html.init @@ -13,7 +13,7 @@ ### -) All @unnumbered* sections are placed into the same file ### (implemented by split_at_numbered_sections) ### -) Use our custom CSS file, with IE-specific fixes in another CSS file, -### impelmented by lilypond_css_lines +### implemented by lilypond_css_lines ### -) TOC (folded, with the current page highlighted) in an overflown
### is added to every page; implemented by: ### lilypond_print_element_header -- building of the TOC @@ -134,11 +134,12 @@ $LY_LANGUAGES->{'nl'} = { }; $LY_LANGUAGES->{'zh'} = { - 'Back to Documentation Index' => '', - '

Thanks to ${webdev_link} for hosting ${lily_site}.' => '', + 'Back to Documentation Index' => '回到文档索引', + '

Thanks to ${webdev_link} for hosting ${lily_site}.' => '非常感谢 ${webdev_link} 提供 ${lily_site} 的主机空间。', }; # FIXME: request the translations below then send them to texi2html/texinfo devs + $LANGUAGES->{'it'} = { ' The buttons in the navigation panels have the following meaning:' => ' I bottoni nei pannelli di navigazione hanno il seguente significato:', ' where the @strong{ Example } assumes that the current position is at @strong{ Subsubsection One-Two-Three } of a document of the following structure:' => ' dove @strong{ Esempio } assume che l\'attuale posizione è alla @strong{ Sottosottosezione Uno-Due-Tre } di un documento che ha la seguente struttura:', @@ -544,7 +545,7 @@ $LANGUAGES->{'ja'} = { '{title_ref}' => '{title_ref}' }; -$LANGUAGES->{'zh'} = { +$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 ' => '', @@ -679,141 +680,142 @@ $LANGUAGES->{'zh'} = { '{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}}' => '', +$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:' => ' 这里的@strong{ 例子 } 假设当前的位置是在紧接着的结构的文档中的 @strong{ 小分段 1-2-3 }:', + ' Up ' => ' 上 ', + '(outside of any element)' => '(任何元素外面)', + '(outside of any node)' => '(任何节点外面)', + '@b{{quotation_arg}:} ' => '@b{{quotation_arg}:} ', + '@cite{{book}}' => '@cite{{book}}', + '@{No value for `{value}\'@}' => '@{没有值 `{value}\'@}', + 'About' => '关于', + 'About (help)' => '关于 (帮助)', + 'About This Document' => '关于本文档', + 'April' => '4 月', + 'August' => '8 月', + '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' => '12 月', + 'FastBack' => '快速返回', + 'FastForward' => '快速向前', + 'February' => '2 月', + 'First' => '第一个', + 'First section in reading order' => '看的第一段', + 'Following' => '紧接着的', + 'Following node' => '紧接着的节点', + 'Footnotes' => '脚注', + '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' => '跳转到', + 'June' => '6 月', + '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}}' => '', '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' => '', + '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}\' ', + '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' => '', - '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}}' => '', + '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}}' => '', '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}' => '', + '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}\'', + '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} @cite{{book}}' => '', - '{node_file_href} section `{section}\' in @cite{{book}}' => '', + '{node_file_href} section `{section}\' in @cite{{book}}' => '{node_file_href} 段 `{section}\' 在 @cite{{book}}里', '{reference_name}' => '', - '{ref}' => '', - '{style} {number}' => '', - '{style}: {caption_first_line}' => '', - '{style}: {shortcaption_first_line}' => '', + '{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}' }; + sub ly_get_string () { my $lang = $Texi2HTML::THISDOC{current_lang}; my $string = shift; @@ -839,22 +841,18 @@ our $web_manual; $Texi2HTML::Config::DOCTYPE = ''; @Texi2HTML::Config::CSS_REFS = ( - {FILENAME => "lilypond-mccarty.css", TITLE => "Default style"} + {FILENAME => "lilypond-manuals.css", TITLE => "Default style"} ); @Texi2HTML::Config::ALT_CSS_REFS = ( - {FILENAME => "lilypond.css", TITLE => "Andrew Hawryluk's design" }, - {FILENAME => "lilypond-blue.css", TITLE => "Kurt Kroon's blue design" }, -); + ); sub web_settings() { - print STDERR "Initializing settings for web site: [$Texi2HTML::THISDOC{current_lang}]\n"; + print STDERR "Processing web site: [$Texi2HTML::THISDOC{current_lang}]\n"; $Texi2HTML::Config::BODYTEXT = ""; @Texi2HTML::Config::CSS_REFS = ( - {FILENAME => "lilypond-web.css", TITLE => "Patrick McCarty's design"} + {FILENAME => "lilypond-website.css", TITLE => "Default style"} ); @Texi2HTML::Config::ALT_CSS_REFS = ( - {FILENAME => "lilypond-web-alt1.css", TITLE => "Alternate style 1"}, - {FILENAME => "lilypond-web-alt2.css", TITLE => "Alternate style 2"}, ); } @@ -1447,9 +1445,9 @@ sub remove_unneeded_anchor($) for ($i = 0; $i < @hrefsplit; $i++) { $item = @hrefsplit[$i]; if ($item =~ /#/) { - @splitted = split(".html#", $item); - if (@splitted[0] eq @splitted[1]) { - @hrefsplit[$i] = @splitted[0] . ".html"; + @split = split(".html#", $item); + if (@split[0] eq @split[1]) { + @hrefsplit[$i] = @split[0] . ".html"; } } }