X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Flilypond-texi2html.init;h=1ae43523cf9b7569facdee873e38018564fccf83;hb=c39d188d28fdc84cef8cbaea7b8d6e2fb718c30f;hp=03e0c903e6519c975505c35e63d9de9027c68297;hpb=2944a83e59f487894a214769392ce27289accb71;p=lilypond.git diff --git a/Documentation/lilypond-texi2html.init b/Documentation/lilypond-texi2html.init index 03e0c903e6..1ae43523cf 100644 --- a/Documentation/lilypond-texi2html.init +++ b/Documentation/lilypond-texi2html.init @@ -93,6 +93,11 @@ use Encode qw(decode); ############################################################################# my $LY_LANGUAGES = {}; +$LY_LANGUAGES->{'ca'} = { + 'Back to Documentation Index' => '', + '

Thanks to ${webdev_link} for hosting ${lily_site}.' => '', +}; + $LY_LANGUAGES->{'cs'} = { 'Back to Documentation Index' => '', '

Thanks to ${webdev_link} for hosting ${lily_site}.' => '', @@ -116,17 +121,17 @@ $LY_LANGUAGES->{'fr'} = { $LY_LANGUAGES->{'hu'} = { 'Back to Documentation Index' => 'Vissza a dokumentációk jegyzékéhez', - '

Thanks to ${webdev_link} for hosting ${lily_site}.' => 'Köszönet a ${webdev_link} részére a ${lily_site} tárhelyért.', + '

Thanks to ${webdev_link} for hosting ${lily_site}.' => '

Köszönet a ${webdev_link} részére a ${lily_site} tárhelyért.', }; $LY_LANGUAGES->{'it'} = { 'Back to Documentation Index' => 'Torna all\'indice della documentazione', - '

Thanks to ${webdev_link} for hosting ${lily_site}.' => '', + '

Thanks to ${webdev_link} for hosting ${lily_site}.' => 'Grazie a ${webdev_link} per l\'hosting di ${lily_site}.', }; $LY_LANGUAGES->{'ja'} = { 'Back to Documentation Index' => 'ドキュメント インデックスに戻る', - '

Thanks to ${webdev_link} for hosting ${lily_site}.' => '${lily_site} をホスティングしてくれている ${webdev_link} に感謝します。', + '

Thanks to ${webdev_link} for hosting ${lily_site}.' => '

${lily_site} をホスティングしてくれている ${webdev_link} に感謝します。', }; @@ -137,7 +142,7 @@ $LY_LANGUAGES->{'nl'} = { $LY_LANGUAGES->{'zh'} = { 'Back to Documentation Index' => '回到文档索引', - '

Thanks to ${webdev_link} for hosting ${lily_site}.' => '非常感谢 ${webdev_link} 提供 ${lily_site} 的主机空间。', + '

Thanks to ${webdev_link} for hosting ${lily_site}.' => '

非常感谢 ${webdev_link} 提供 ${lily_site} 的主机空间。', }; # FIXME: request the translations below then send them to texi2html/texinfo devs @@ -682,6 +687,141 @@ $LANGUAGES->{'cs'} = { '{title_ref}' => '{title_ref}' }; +$LANGUAGES->{'ca'} = { + ' The buttons in the navigation panels have the following meaning:' => ' Els botons dels plafons de navegació tenen els significat següent:', + ' where the @strong{ Example } assumes that the current position is at @strong{ Subsubsection One-Two-Three } of a document of the following structure:' => ' on l\'@strong{ Exemple } suposa que la posició actual està a @strong{ Subsubsecció U-Dos-tres } d\'un document a l\'estructura següent:', + ' Up ' => ' Amunt ', + '(outside of any element)' => '(fora de qualsevol element)', + '(outside of any node)' => '(fora de qualsevol node)', + '@b{{quotation_arg}:} ' => '@{{quotation_arg}:}', + '@cite{{book}}' => '@cite{{book}}', + '@{No value for `{value}\'@}' => '@{No hi ha cap valor per a `{value}\'@}', + 'About' => 'Quant a', + 'About (help)' => 'Quant a (ajuda)', + 'About This Document' => 'Quant a aquest document', + 'April' => 'Abril', + 'August' => 'Agost', + 'Back' => 'Endarrere', + 'Back section in previous file' => 'Endarrere una secció al fitxer previ', + 'Beginning of this chapter or previous chapter' => 'Inici d\'aquest capítol o capítol previ', + 'Button' => 'Botó', + 'Contents' => 'Continguts', + 'Cover (top) of document' => 'Portada (inici) del document', + 'Current' => 'Actual', + 'Current Position' => 'Posició actual', + 'Current section' => 'Secció actual', + 'December' => 'Desembre', + 'FastBack' => 'Endarrere ràpid', + 'FastForward' => 'Endavant ràpid', + 'February' => 'Febrer', + 'First' => 'Primera', + 'First section in reading order' => 'Primera secció a l\'orde de lectura', + 'Following' => 'Següent', + 'Following node' => 'Node següent', + 'Footnotes' => 'Notes a peu de pàgina', + 'Forward' => 'Endavant', + 'Forward section in next file' => 'Endavant una secció al fitxer següent', + 'From 1.2.3 go to' => 'De 1.2.3 ves a', + 'Go to' => 'Ves a', + 'Index' => 'Índex', + 'Index Entry' => 'Entrada d\'índex', + 'January' => 'Gener', + 'July' => 'Juliol', + 'Jump to' => 'Salta a', + 'June' => 'Juny', + 'Last' => 'Últim', + 'Last section in reading order' => 'Última secció en ordre de lectura', + 'March' => 'Març', + 'May' => 'Maig', + 'Menu:' => 'Menú', + 'Name' => 'Nom', + 'Next' => 'Següent', + 'Next chapter' => 'Capítol següent', + 'Next file' => 'Fitxer següent', + 'Next node' => 'Node següent', + 'Next section in reading order' => 'Secció següent en ordre de lectura', + 'Next section on same level' => 'Secció següent al mateix nivell', + 'NextFile' => 'Fitxer següent', + 'Node following in node reading order' => 'Node següent en ordre de lectura de nodes', + 'Node up' => 'Node amunt', + 'NodeNext' => 'Node següent', + 'NodePrev' => 'Node previ', + 'NodeUp' => 'Node Amunt', + 'November' => 'Novembre', + 'October' => 'Octobre', + 'Overview' => 'Panoràmica', + 'Prev' => 'Previ', + 'PrevFile' => 'Fitxer previ', + 'Previous' => 'Previ', + 'Previous file' => 'Fitxer previ', + 'Previous node' => 'Node previ', + 'Previous section in reading order' => 'Secció prèvia en ordre de lectura', + 'Previous section on same level' => 'Secció prèvia al mateix nivell', + 'Section' => 'Secció', + 'Section One' => 'Secció u', + 'See ' => 'Vegeu ', + 'See @cite{{book}}' => 'Vegeu @cite{{book}}', + 'See section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => 'Vegeu secció @asis{}`{section_name}\'@asis{}\' a @cite{{book}}', + 'See section `{section}\' in @cite{{book}}' => 'Vegeu la secció `{section}\' a @cite{{book}}', + 'See section {reference_name}' => 'Vegeu la secció {reference_name}', + 'See {node_file_href}' => 'Vegeu {node_file_href}', + 'See {node_file_href} @cite{{book}}' => 'Vegeu {node_file_href} @cite{{book}}', + 'See {node_file_href} section `{section}\' in @cite{{book}}' => 'Vegeu {node_file_href} secció `{secion}\' a @cite{{book}}', + 'See {reference_name}' => 'Vegeu {reference_name}', + 'See {ref}' => 'Vegeu {ref}', + 'See {title_ref}' => 'Vegeu {title_ref}', + 'September' => 'Septembre', + 'Short Table of Contents' => 'Taula de continguts breu', + 'Short table of contents' => 'Taula de continguts breu', + 'Subsection One-Four' => 'Subsecció U-Quatre', + 'Subsection One-One' => 'Subsecció U-U', + 'Subsection One-Three' => 'Subsecció U-Tres', + 'Subsection One-Two' => 'Subsecció U-Dos', + 'Subsubsection One-Two-Four' => 'Subsubsecció U-Dos-Quatre', + 'Subsubsection One-Two-One' => 'Subsubsecció U-Dos-U', + 'Subsubsection One-Two-Three' => 'Subsubsecció U-Dos-Tres', + 'Subsubsection One-Two-Two' => 'Subsubsecció U-Dos-Dos', + 'T2H_today' => 'T2H_today', + 'Table of Contents' => 'Taula de contingus', + 'Table of contents' => 'Taula de continguts', + 'The node you are looking for is at {href}.' => 'El node que esteu buscant està a {href}.', + 'This' => 'Aquest', + 'This document was generated on @i{{date}} using @uref{{program_homepage}, @i{{program}}}.' => 'Aquest document es va generar a @i{{date}} usant @uref{{program_homepage}, @i{{program}}}', + 'This document was generated using @uref{{program_homepage}, @emph{{program}}}.' => 'Aquest document es va generar usant @uref{{program_homepage}, @empf{{program}}}.', + 'Top' => 'Part superior', + 'Untitled Document' => 'Document sense títol', + 'Up' => 'Amunt', + 'Up node' => 'Amunt node', + 'Up section' => 'Amunt secció', + 'current' => 'actual', + 'on @emph{{date}}' => 'el @empf{{date}}', + 'section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => 'secció `@asis{}`{secion_name}\'@asis{}\' a @cite{{book}}', + 'section `{section}\' in @cite{{book}}' => 'secció `{section}\' a @cite{{book}}', + 'see ' => 'vegeu ', + 'see @cite{{book}}' => 'vegeu @cite{{book}}', + 'see section `@asis{}`{section_name}\'@asis{}\' in @cite{{book}}' => 'vegeu secció `@asis{}`{secion_name}\'@asis{}\' a @cite{{book}}', + 'see section `{section}\' in @cite{{book}}' => 'vegeu secció `{section}\' a @cite{{book}}', + 'see section {reference_name}' => 'vegeu secció {reference_name}', + 'see {node_file_href}' => 'vegeu {node_file_href}', + 'see {node_file_href} @cite{{book}}' => 'vegeu {node_file_href} @cite{{book}}', + 'see {node_file_href} section `{section}\' in @cite{{book}}' => 'vegeu {node_file_href} secció `{seciont}\' a @cite{{book}}', + 'see {reference_name}' => 'vegeu {reference_name}', + 'see {ref}' => 'vegeu {ref}', + 'see {title_ref}' => 'vegeu {title_ref}', + '{acronym_like} ({explanation})' => '{acronym_lie} ({explanation})', + '{name} of {class}' => '{name} de {class}', + '{name} on {class}' => '{name} a {class}', + '{node_file_href}' => '{node_file_href}', + '{node_file_href} @cite{{book}}' => '{node_file_href} @cite{{book}}', + '{node_file_href} section `{section}\' in @cite{{book}}' => '{node_file_href} secció `{secció}\' a @cite{{book}}', + '{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:' => ' 这里的@strong{ 例子 } 假设当前的位置是在紧接着的结构的文档中的 @strong{ 小分段 1-2-3 }:', @@ -1094,6 +1234,25 @@ sub lilypond_css_lines ($$) $Texi2HTML::THISDOC{'CSS_LINES'} .= "\n"; } } + + ## This section makes the manual name visible to CSS through the body tag + ## so that styles can be applied per manual. It will add the manual + ## directory name (e.g., 'notation' or 'learning') as a CSS class, as well + ## as a development status. + + # Parse the input file name to determine the manual we're dealing with. + my ($docu_dir, $docu_name) = split_texi_filename ($Texi2HTML::THISDOC{'input_file_name'}); + + # Hard-coded value to indicate if this is a development version + # ('devStatus') or stable version ('stableStatus') + # TODO: Figure out how to automatically set this value based on the even/odd minor revision number or some other mechanism. + $documentstatus = 'devStatus'; + + # Create the extra information for the tag. + # For example, the development Notation reference in English + # will output in HTML as + $Texi2HTML::Config::BODYTEXT = 'lang="' . $Texi2HTML::THISDOC{current_lang} . '" class="' . $docu_name . ' ' . $documentstatus . '"'; + } @@ -1424,11 +1583,10 @@ sub lilypond_external_href($$$) $href = &$default_external_href($node, $node_id, $node_xhtml_id, lc_last($file)); $href = remove_unneeded_anchor($href); - # TODO: very yucky, but will be fixed in issue 1004 if ($web_manual) { - my $only_web = $ENV{ONLY_WEB}; - if ($only_web) { - $href = "../../doc/v2.13/Documentation/web/".$href; + my $only_web_version = $ENV{ONLY_WEB_VERSION}; + if ($only_web_version) { + $href = "../../doc/".$only_web_version."/Documentation/web/".$href; } } @@ -1513,7 +1671,7 @@ sub generate_ly_toc_entries($$$$$) 'introduction' => [2, 2, 2, 2, 3, 3, 4, 4], 'download' => [2, 2, 2, 3, 3, 4], 'manuals' => [1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4], - 'community' => [1, 1, 1, 2, 2, 2, 2, 3, 3, 3], + 'community' => [1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4], ); my $addColor = "colorDefault"; while (($top_section, $color_indices) = each %color_maps) { @@ -1683,7 +1841,7 @@ sub lilypond_print_toc_div ($$) print $fh '

' . &$anchor('', $Texi2HTML::HREF{'Top'}, - $topname, + $topname . " ", 'title="Start of the manual"' ) . "

\n"; }