summaryrefslogtreecommitdiffstats
path: root/t/add/positioning
diff options
context:
space:
mode:
Diffstat (limited to 't/add/positioning')
-rw-r--r--t/add/positioning/_file-after.pod.fr26
-rw-r--r--t/add/positioning/_file-before.pod.fr26
-rw-r--r--t/add/positioning/_file-eof.pod.fr26
-rw-r--r--t/add/positioning/_file-eofmode.pod.fr26
-rw-r--r--t/add/positioning/_output6
-rw-r--r--t/add/positioning/add-after.fr5
-rw-r--r--t/add/positioning/add-before.fr5
-rw-r--r--t/add/positioning/add-eof.fr5
-rw-r--r--t/add/positioning/add-eofmode.fr5
-rw-r--r--t/add/positioning/fr.po37
-rw-r--r--t/add/positioning/input1.pod7
-rw-r--r--t/add/positioning/input2.pod7
-rw-r--r--t/add/positioning/input3.pod7
-rw-r--r--t/add/positioning/input4.pod7
-rw-r--r--t/add/positioning/positioning.conf9
-rw-r--r--t/add/positioning/positioning.pot37
16 files changed, 241 insertions, 0 deletions
diff --git a/t/add/positioning/_file-after.pod.fr b/t/add/positioning/_file-after.pod.fr
new file mode 100644
index 0000000..5cb5fc3
--- /dev/null
+++ b/t/add/positioning/_file-after.pod.fr
@@ -0,0 +1,26 @@
+
+ *****************************************************
+ * GENERATED FILE, DO NOT EDIT *
+ * THIS IS NO SOURCE FILE, BUT RESULT OF COMPILATION *
+ *****************************************************
+
+This file was generated by po4a(7). Do not store it (in VCS, for example),
+but store the PO file used as source file by po4a-translate.
+
+In fact, consider this as a binary, and the PO file as a regular .c file:
+If the PO get lost, keeping this translation up-to-date will be harder.
+
+=encoding UTF-8
+
+=head1 NOM
+
+bébête - un programme bébête
+
+=head1 AUTEUR
+
+moi
+
+=head1 TRADUCTEUR
+
+moi
+ \ No newline at end of file
diff --git a/t/add/positioning/_file-before.pod.fr b/t/add/positioning/_file-before.pod.fr
new file mode 100644
index 0000000..2e208f5
--- /dev/null
+++ b/t/add/positioning/_file-before.pod.fr
@@ -0,0 +1,26 @@
+
+ *****************************************************
+ * GENERATED FILE, DO NOT EDIT *
+ * THIS IS NO SOURCE FILE, BUT RESULT OF COMPILATION *
+ *****************************************************
+
+This file was generated by po4a(7). Do not store it (in VCS, for example),
+but store the PO file used as source file by po4a-translate.
+
+In fact, consider this as a binary, and the PO file as a regular .c file:
+If the PO get lost, keeping this translation up-to-date will be harder.
+
+=encoding UTF-8
+
+=head1 NOM
+
+bébête - un programme bébête
+
+=head1 TRADUCTEUR
+
+moi
+
+=head1 AUTEUR
+
+moi
+
diff --git a/t/add/positioning/_file-eof.pod.fr b/t/add/positioning/_file-eof.pod.fr
new file mode 100644
index 0000000..163ae1d
--- /dev/null
+++ b/t/add/positioning/_file-eof.pod.fr
@@ -0,0 +1,26 @@
+
+ *****************************************************
+ * GENERATED FILE, DO NOT EDIT *
+ * THIS IS NO SOURCE FILE, BUT RESULT OF COMPILATION *
+ *****************************************************
+
+This file was generated by po4a(7). Do not store it (in VCS, for example),
+but store the PO file used as source file by po4a-translate.
+
+In fact, consider this as a binary, and the PO file as a regular .c file:
+If the PO get lost, keeping this translation up-to-date will be harder.
+
+=encoding UTF-8
+
+=head1 NOM
+
+bébête - un programme bébête
+
+=head1 AUTEUR
+
+moi
+
+=head1 TRADUCTEUR2
+
+me again
+ \ No newline at end of file
diff --git a/t/add/positioning/_file-eofmode.pod.fr b/t/add/positioning/_file-eofmode.pod.fr
new file mode 100644
index 0000000..163ae1d
--- /dev/null
+++ b/t/add/positioning/_file-eofmode.pod.fr
@@ -0,0 +1,26 @@
+
+ *****************************************************
+ * GENERATED FILE, DO NOT EDIT *
+ * THIS IS NO SOURCE FILE, BUT RESULT OF COMPILATION *
+ *****************************************************
+
+This file was generated by po4a(7). Do not store it (in VCS, for example),
+but store the PO file used as source file by po4a-translate.
+
+In fact, consider this as a binary, and the PO file as a regular .c file:
+If the PO get lost, keeping this translation up-to-date will be harder.
+
+=encoding UTF-8
+
+=head1 NOM
+
+bébête - un programme bébête
+
+=head1 AUTEUR
+
+moi
+
+=head1 TRADUCTEUR2
+
+me again
+ \ No newline at end of file
diff --git a/t/add/positioning/_output b/t/add/positioning/_output
new file mode 100644
index 0000000..669e6a0
--- /dev/null
+++ b/t/add/positioning/_output
@@ -0,0 +1,6 @@
+Updating positioning.pot: (4 entries)
+Updating fr.po: 4 translated messages.
+file-before.pod.fr is 100% translated (4 strings).
+file-after.pod.fr is 100% translated (4 strings).
+file-eof.pod.fr is 100% translated (4 strings).
+file-eofmode.pod.fr is 100% translated (4 strings).
diff --git a/t/add/positioning/add-after.fr b/t/add/positioning/add-after.fr
new file mode 100644
index 0000000..328ee1d
--- /dev/null
+++ b/t/add/positioning/add-after.fr
@@ -0,0 +1,5 @@
+PO4A-HEADER:mode=after;position=AUTEUR;beginboundary=^=head
+=head1 TRADUCTEUR
+
+moi
+ \ No newline at end of file
diff --git a/t/add/positioning/add-before.fr b/t/add/positioning/add-before.fr
new file mode 100644
index 0000000..e08ed03
--- /dev/null
+++ b/t/add/positioning/add-before.fr
@@ -0,0 +1,5 @@
+PO4A-HEADER:mode=before;position=AUTEUR;beginboundary=^=head
+=head1 TRADUCTEUR
+
+moi
+
diff --git a/t/add/positioning/add-eof.fr b/t/add/positioning/add-eof.fr
new file mode 100644
index 0000000..e6f7b2b
--- /dev/null
+++ b/t/add/positioning/add-eof.fr
@@ -0,0 +1,5 @@
+PO4A-HEADER:mode=after;position=AUTEUR;beginboundary=AStringThatDoesNotExistInTheDoc
+=head1 TRADUCTEUR2
+
+me again
+ \ No newline at end of file
diff --git a/t/add/positioning/add-eofmode.fr b/t/add/positioning/add-eofmode.fr
new file mode 100644
index 0000000..4ae2d13
--- /dev/null
+++ b/t/add/positioning/add-eofmode.fr
@@ -0,0 +1,5 @@
+PO4A-HEADER:mode=eof
+=head1 TRADUCTEUR2
+
+me again
+ \ No newline at end of file
diff --git a/t/add/positioning/fr.po b/t/add/positioning/fr.po
new file mode 100644
index 0000000..fc41440
--- /dev/null
+++ b/t/add/positioning/fr.po
@@ -0,0 +1,37 @@
+# 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-05 23:34+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: =head1
+#: add/positioning/input.pod:1
+msgid "NAME"
+msgstr "NOM"
+
+#. type: textblock
+#: add/positioning/input.pod:3
+msgid "dummy - a dummy program"
+msgstr "bébête - un programme bébête"
+
+#. type: =head1
+#: add/positioning/input.pod:5
+msgid "AUTHOR"
+msgstr "AUTEUR"
+
+#. type: textblock
+#: add/positioning/input.pod:7
+msgid "me"
+msgstr "moi"
diff --git a/t/add/positioning/input1.pod b/t/add/positioning/input1.pod
new file mode 100644
index 0000000..e8ff67a
--- /dev/null
+++ b/t/add/positioning/input1.pod
@@ -0,0 +1,7 @@
+=head1 NAME
+
+dummy - a dummy program
+
+=head1 AUTHOR
+
+me
diff --git a/t/add/positioning/input2.pod b/t/add/positioning/input2.pod
new file mode 100644
index 0000000..e8ff67a
--- /dev/null
+++ b/t/add/positioning/input2.pod
@@ -0,0 +1,7 @@
+=head1 NAME
+
+dummy - a dummy program
+
+=head1 AUTHOR
+
+me
diff --git a/t/add/positioning/input3.pod b/t/add/positioning/input3.pod
new file mode 100644
index 0000000..e8ff67a
--- /dev/null
+++ b/t/add/positioning/input3.pod
@@ -0,0 +1,7 @@
+=head1 NAME
+
+dummy - a dummy program
+
+=head1 AUTHOR
+
+me
diff --git a/t/add/positioning/input4.pod b/t/add/positioning/input4.pod
new file mode 100644
index 0000000..e8ff67a
--- /dev/null
+++ b/t/add/positioning/input4.pod
@@ -0,0 +1,7 @@
+=head1 NAME
+
+dummy - a dummy program
+
+=head1 AUTHOR
+
+me
diff --git a/t/add/positioning/positioning.conf b/t/add/positioning/positioning.conf
new file mode 100644
index 0000000..6936640
--- /dev/null
+++ b/t/add/positioning/positioning.conf
@@ -0,0 +1,9 @@
+[po4a_langs] fr
+
+[po4a_paths] positioning.pot $lang:$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:pod] input1.pod fr:file-before.pod.fr add_fr:add-before.fr
+[type:pod] input2.pod fr:file-after.pod.fr add_fr:add-after.fr
+[type:pod] input3.pod fr:file-eof.pod.fr add_fr:add-eof.fr
+[type:pod] input4.pod fr:file-eofmode.pod.fr add_fr:add-eofmode.fr
diff --git a/t/add/positioning/positioning.pot b/t/add/positioning/positioning.pot
new file mode 100644
index 0000000..76a0c71
--- /dev/null
+++ b/t/add/positioning/positioning.pot
@@ -0,0 +1,37 @@
+# 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-05 23:34+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: =head1
+#: add/positioning/input.pod:1
+msgid "NAME"
+msgstr ""
+
+#. type: textblock
+#: add/positioning/input.pod:3
+msgid "dummy - a dummy program"
+msgstr ""
+
+#. type: =head1
+#: add/positioning/input.pod:5
+msgid "AUTHOR"
+msgstr ""
+
+#. type: textblock
+#: add/positioning/input.pod:7
+msgid "me"
+msgstr ""