]> git.donarmstrong.com Git - lilypond.git/commitdiff
Lilypond-book: Test case for language detection (also included files)
authorReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 23 Jun 2010 18:03:41 +0000 (20:03 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 3 Jul 2010 11:26:53 +0000 (13:26 +0200)
input/regression/lilypond-book/include3.ily [new file with mode: 0644]
input/regression/lilypond-book/texinfo-include-language-detection-included.itely [new file with mode: 0644]
input/regression/lilypond-book/texinfo-include-language-detection.tely [new file with mode: 0644]
input/regression/lilypond-book/texinfo-language-detection.tely [new file with mode: 0644]

diff --git a/input/regression/lilypond-book/include3.ily b/input/regression/lilypond-book/include3.ily
new file mode 100644 (file)
index 0000000..818ff12
--- /dev/null
@@ -0,0 +1,15 @@
+\version "2.13.20"
+
+\header {
+doctitlees = "If you see this 'translated' doctitle, language detection work"
+
+texidoces = "If you see this 'translated' texidoc, language detection work"
+
+  texidoc = "Original texidoc (you should not see this!)"
+  doctitle = "Original doctitle (you should not see this!)"
+}
+
+\relative c'' {
+  c1
+}
+
diff --git a/input/regression/lilypond-book/texinfo-include-language-detection-included.itely b/input/regression/lilypond-book/texinfo-include-language-detection-included.itely
new file mode 100644 (file)
index 0000000..e8b101b
--- /dev/null
@@ -0,0 +1,2 @@
+The texidoc of the following snippet should be "translated":
+@lilypondfile[printfilename,texidoc,doctitle]{include3.ily}
diff --git a/input/regression/lilypond-book/texinfo-include-language-detection.tely b/input/regression/lilypond-book/texinfo-include-language-detection.tely
new file mode 100644 (file)
index 0000000..d4c4c1e
--- /dev/null
@@ -0,0 +1,13 @@
+\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*-
+@setfilename texinfo-language-detection.info
+@settitle Texinfo language detection
+@documentencoding UTF-8
+@documentlanguage es
+@afourpaper
+
+@node Top
+@top Texinfo language detection
+
+@include texinfo-include-language-detection-included.itely
+
+@bye
diff --git a/input/regression/lilypond-book/texinfo-language-detection.tely b/input/regression/lilypond-book/texinfo-language-detection.tely
new file mode 100644 (file)
index 0000000..7bf5289
--- /dev/null
@@ -0,0 +1,15 @@
+\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*-
+@setfilename texinfo-language-detection.info
+@settitle Texinfo language detection
+@documentencoding UTF-8
+@documentlanguage es
+@afourpaper
+
+@node Top
+@top Texinfo language detection
+
+The texidoc of the following snippet should be "translated":
+@lilypondfile[printfilename,texidoc,doctitle]{include3.ily}
+
+
+@bye