#############################################################################
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'} = {
'<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',
'<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
'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' => '',
'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}}' => '',
'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 ' => '',
'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};
$Texi2HTML::THISDOC{'CSS_LINES'} .=
"<link rel=\"alternate stylesheet\" type=\"text/css\" href=\"$ref->{FILENAME}\" title=\"$ref->{TITLE}\">\n";
}
- # FIXME: the website doesn't use ie7-specific fixes; do the
- # docs still need this? -gp
- $Texi2HTML::THISDOC{'CSS_LINES'} .=
- "<!--[if lte IE 7]>\n<link href=\"lilypond-ie-fixes.css\" rel=\"stylesheet\" type=\"text/css\">\n<![endif]-->\n";
+
+ # The ie-fixes stylesheet is needed for the docs, but not the website.
+ if (not ($web_manual)) {
+ $Texi2HTML::THISDOC{'CSS_LINES'} .=
+ "<!--[if lte IE 7]>\n<link href=\"lilypond-ie-fixes.css\" rel=\"stylesheet\" type=\"text/css\">\n<![endif]-->\n";
+ }
if ($ENV{'AJAX_SEARCH'} == 1) {
# Add the JavaScript file only if we have an index.
$lang = "";
}
my $reldir = $ENV{DEPTH};
- my $uplink = $reldir."/Documentation/web/manuals.${lang}html";
+ # strip one depth level for translations
+ if ($lang and $lang ne "en" and substr ($reldir, 0, 3) eq '../') {
+ $reldir = substr ($reldir, 3);
+ }
+ # add a / at the end if there isn't one.
+ if (substr ($reldir, -1) ne '/') {
+ $reldir .= '/';
+ }
+ my $uplink = $reldir."Documentation/web/manuals.${lang}html";
if (not $web_manual) {
print $fh "<p class=\"toc_uplink\"><a href=\"$uplink\"