summaryrefslogtreecommitdiffstats
path: root/t/fmt/halibut
diff options
context:
space:
mode:
Diffstat (limited to 't/fmt/halibut')
-rw-r--r--t/fmt/halibut/basic.but47
-rw-r--r--t/fmt/halibut/basic.norm49
-rw-r--r--t/fmt/halibut/basic.po124
-rw-r--r--t/fmt/halibut/basic.pot121
-rw-r--r--t/fmt/halibut/basic.trans49
5 files changed, 390 insertions, 0 deletions
diff --git a/t/fmt/halibut/basic.but b/t/fmt/halibut/basic.but
new file mode 100644
index 0000000..b1bedfd
--- /dev/null
+++ b/t/fmt/halibut/basic.but
@@ -0,0 +1,47 @@
+\title document title
+
+\cfg{text-filename}{puzzles.txt}
+
+\define{dash} \u2013{-}
+
+Some text
+
+\copyright Some text. See \k{licence} for details.
+
+\cfg{html-local-head}{<meta name="AppleTitle" content="Puzzles Help">}
+
+\C{intro} Introduction
+
+Text paragraph with some inline formatting. Here is some \e{emphasised
+text}. And a \dash sign.
+\I{website}\W{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}\cw{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}.
+
+\C{common} \ii{listing}
+
+\dt \ii\e{New game} (\q{N}, Ctrl+\q{N})
+
+\dd Some text
+
+\dt \ii\e{Restart game}
+
+\dd Some text
+
+\dt \ii\e{Load}
+
+\dd Some text
+
+\lcont{
+
+paragraph text
+
+}
+
+\IM{command-line}{command line} command line
+
+\IM{default parameters, specifying} default parameters, specifying
+\IM{default parameters, specifying} preferences, specifying default
+
+\IM{Unix} Unix
+\IM{Unix} Linux
+
+\versionid Some text
diff --git a/t/fmt/halibut/basic.norm b/t/fmt/halibut/basic.norm
new file mode 100644
index 0000000..d6acd16
--- /dev/null
+++ b/t/fmt/halibut/basic.norm
@@ -0,0 +1,49 @@
+\# This file was generated with po4a. Translate the source file.
+
+\title document title
+
+\cfg{text-filename}{puzzles.txt}
+
+\define{dash} \u2013{-}
+
+Some text
+
+\copyright Some text. See \k{licence} for details.
+
+\cfg{html-local-head}{<meta name="AppleTitle" content="Puzzles Help">}
+
+\C{intro} Introduction
+
+Text paragraph with some inline formatting. Here is some \e{emphasised
+text}. And a \dash sign.
+\I{website}\W{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}\cw{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}.
+
+\C{common} \ii{listing}
+
+\dt \ii\e{New game} (\q{N}, Ctrl+\q{N})
+
+\dd Some text
+
+\dt \ii\e{Restart game}
+
+\dd Some text
+
+\dt \ii\e{Load}
+
+\dd Some text
+
+\lcont{
+
+paragraph text
+
+}
+
+\IM{command-line}{command line} command line
+
+\IM{default parameters, specifying} default parameters, specifying
+\IM{default parameters, specifying} preferences, specifying default
+
+\IM{Unix} Unix
+\IM{Unix} Linux
+
+\versionid Some text
diff --git a/t/fmt/halibut/basic.po b/t/fmt/halibut/basic.po
new file mode 100644
index 0000000..25eb9b7
--- /dev/null
+++ b/t/fmt/halibut/basic.po
@@ -0,0 +1,124 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-26 14:41+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: basic.but:2
+msgid "document title"
+msgstr "DOCUMENT TITLE"
+
+#. type: Plain text
+#: basic.but:4
+msgid "\\cfg{text-filename}{puzzles.txt}"
+msgstr ""
+
+#. type: define
+#: basic.but:5
+#, no-wrap
+msgid "\\u2013{-}"
+msgstr ""
+
+#. type: Plain text
+#: basic.but:8 basic.but:24 basic.but:28 basic.but:32 basic.but:47
+msgid "Some text"
+msgstr "SOME TEXT"
+
+#. type: Plain text
+#: basic.but:10
+msgid "Some text. See \\k{licence} for details."
+msgstr "SOME TEXT. See \\k{licence} FOR DETAILS."
+
+#. type: Plain text
+#: basic.but:12
+msgid "\\cfg{html-local-head}{<meta name=\"AppleTitle\" content=\"Puzzles Help\">}"
+msgstr "\\cfg{html-local-head}{<meta name=\"AppleTitle\" content=\"PUZZLES HELP\">}"
+
+#. type: Plain text
+#: basic.but:14
+msgid "Introduction"
+msgstr "INTRODUCTION"
+
+#. type: Plain text
+#: basic.but:18
+msgid ""
+"Text paragraph with some inline formatting. Here is some \\e{emphasised "
+"text}. And a \\dash sign. "
+"\\I{website}\\W{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}\\cw{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}."
+msgstr ""
+"TEXT PARAGRAPH WITH SOME INLINE FORMATTING. HERE IS SOME \\e{EMPHASISED "
+"TEXT}. AND A \\dash SIGN. "
+"\\I{website}\\W{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}\\cw{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}."
+
+#. type: ii{#1}
+#: basic.but:20
+msgid "listing"
+msgstr "LISTING"
+
+#. type: Plain text
+#: basic.but:22
+msgid "\\ii\\e{New game} (\\q{N}, Ctrl+\\q{N})"
+msgstr "\\ii\\e{NEW GAME} (\\q{N}, Ctrl+\\q{N})"
+
+#. type: Plain text
+#: basic.but:26
+msgid "\\ii\\e{Restart game}"
+msgstr "\\ii\\e{RESTART GAME}"
+
+#. type: Plain text
+#: basic.but:30
+msgid "\\ii\\e{Load}"
+msgstr "\\ii\\e{LOAD}"
+
+#. type: Plain text
+#: basic.but:38
+msgid "paragraph text"
+msgstr "PARAGRAPH TEXT"
+
+#. type: IM{#1}
+#: basic.but:39
+msgid "command-line"
+msgstr ""
+
+#. type: IM
+#: basic.but:39
+#, no-wrap
+msgid "{command line} command line"
+msgstr "{COMMAND LINE} COMMAND LINE"
+
+#. type: IM{#1}
+#: basic.but:41 basic.but:42
+#, no-wrap
+msgid "default parameters, specifying"
+msgstr "DEFAULT PARAMETERS, SPECIFYING"
+
+#. type: IM
+#: basic.but:42
+#, no-wrap
+msgid "preferences, specifying default"
+msgstr "PREFERENCES, SPECIFYING DEFAULT"
+
+#. type: IM{#1}
+#: basic.but:44 basic.but:45
+#, no-wrap
+msgid "Unix"
+msgstr "UNIX"
+
+#. type: IM
+#: basic.but:45
+#, no-wrap
+msgid "Linux"
+msgstr "LINUX"
diff --git a/t/fmt/halibut/basic.pot b/t/fmt/halibut/basic.pot
new file mode 100644
index 0000000..739c156
--- /dev/null
+++ b/t/fmt/halibut/basic.pot
@@ -0,0 +1,121 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2020-04-26 14:40+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: basic.but:2
+msgid "document title"
+msgstr ""
+
+#. type: Plain text
+#: basic.but:4
+msgid "\\cfg{text-filename}{puzzles.txt}"
+msgstr ""
+
+#. type: define
+#: basic.but:5
+#, no-wrap
+msgid "\\u2013{-}"
+msgstr ""
+
+#. type: Plain text
+#: basic.but:8 basic.but:24 basic.but:28 basic.but:32 basic.but:47
+msgid "Some text"
+msgstr ""
+
+#. type: Plain text
+#: basic.but:10
+msgid "Some text. See \\k{licence} for details."
+msgstr ""
+
+#. type: Plain text
+#: basic.but:12
+msgid "\\cfg{html-local-head}{<meta name=\"AppleTitle\" content=\"Puzzles Help\">}"
+msgstr ""
+
+#. type: Plain text
+#: basic.but:14
+msgid "Introduction"
+msgstr ""
+
+#. type: Plain text
+#: basic.but:18
+msgid ""
+"Text paragraph with some inline formatting. Here is some \\e{emphasised "
+"text}. And a \\dash sign. "
+"\\I{website}\\W{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}\\cw{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}."
+msgstr ""
+
+#. type: ii{#1}
+#: basic.but:20
+msgid "listing"
+msgstr ""
+
+#. type: Plain text
+#: basic.but:22
+msgid "\\ii\\e{New game} (\\q{N}, Ctrl+\\q{N})"
+msgstr ""
+
+#. type: Plain text
+#: basic.but:26
+msgid "\\ii\\e{Restart game}"
+msgstr ""
+
+#. type: Plain text
+#: basic.but:30
+msgid "\\ii\\e{Load}"
+msgstr ""
+
+#. type: Plain text
+#: basic.but:38
+msgid "paragraph text"
+msgstr ""
+
+#. type: IM{#1}
+#: basic.but:39
+msgid "command-line"
+msgstr ""
+
+#. type: IM
+#: basic.but:39
+#, no-wrap
+msgid "{command line} command line"
+msgstr ""
+
+#. type: IM{#1}
+#: basic.but:41 basic.but:42
+#, no-wrap
+msgid "default parameters, specifying"
+msgstr ""
+
+#. type: IM
+#: basic.but:42
+#, no-wrap
+msgid "preferences, specifying default"
+msgstr ""
+
+#. type: IM{#1}
+#: basic.but:44 basic.but:45
+#, no-wrap
+msgid "Unix"
+msgstr ""
+
+#. type: IM
+#: basic.but:45
+#, no-wrap
+msgid "Linux"
+msgstr ""
diff --git a/t/fmt/halibut/basic.trans b/t/fmt/halibut/basic.trans
new file mode 100644
index 0000000..bd59dbf
--- /dev/null
+++ b/t/fmt/halibut/basic.trans
@@ -0,0 +1,49 @@
+\# This file was generated with po4a. Translate the source file.
+
+\title DOCUMENT TITLE
+
+\cfg{text-filename}{puzzles.txt}
+
+\define{dash} \u2013{-}
+
+SOME TEXT
+
+\copyright SOME TEXT. See \k{licence} FOR DETAILS.
+
+\cfg{html-local-head}{<meta name="AppleTitle" content="PUZZLES HELP">}
+
+\C{intro} INTRODUCTION
+
+TEXT PARAGRAPH WITH SOME INLINE FORMATTING. HERE IS SOME \e{EMPHASISED
+TEXT}. AND A \dash SIGN.
+\I{website}\W{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}\cw{https://www.chiark.greenend.org.uk/~sgtatham/puzzles/}.
+
+\C{common} \ii{LISTING}
+
+\dt \ii\e{NEW GAME} (\q{N}, Ctrl+\q{N})
+
+\dd SOME TEXT
+
+\dt \ii\e{RESTART GAME}
+
+\dd SOME TEXT
+
+\dt \ii\e{LOAD}
+
+\dd SOME TEXT
+
+\lcont{
+
+PARAGRAPH TEXT
+
+}
+
+\IM{command-line}{COMMAND LINE} COMMAND LINE
+
+\IM{DEFAULT PARAMETERS, SPECIFYING} DEFAULT PARAMETERS, SPECIFYING
+\IM{DEFAULT PARAMETERS, SPECIFYING} PREFERENCES, SPECIFYING DEFAULT
+
+\IM{UNIX} UNIX
+\IM{UNIX} LINUX
+
+\versionid SOME TEXT