aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/13 yelp/help
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /meson/test cases/frameworks/13 yelp/help
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'meson/test cases/frameworks/13 yelp/help')
-rw-r--r--meson/test cases/frameworks/13 yelp/help/C/index.page8
-rw-r--r--meson/test cases/frameworks/13 yelp/help/C/media/test.txt1
-rw-r--r--meson/test cases/frameworks/13 yelp/help/LINGUAS2
-rw-r--r--meson/test cases/frameworks/13 yelp/help/de/de.po13
-rw-r--r--meson/test cases/frameworks/13 yelp/help/es/es.po13
-rw-r--r--meson/test cases/frameworks/13 yelp/help/es/media/test.txt1
-rw-r--r--meson/test cases/frameworks/13 yelp/help/meson.build21
7 files changed, 59 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/13 yelp/help/C/index.page b/meson/test cases/frameworks/13 yelp/help/C/index.page
new file mode 100644
index 000000000..1b367e678
--- /dev/null
+++ b/meson/test cases/frameworks/13 yelp/help/C/index.page
@@ -0,0 +1,8 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="guide"
+ id="index">
+ <title>
+ Hello!
+ </title>
+</page>
diff --git a/meson/test cases/frameworks/13 yelp/help/C/media/test.txt b/meson/test cases/frameworks/13 yelp/help/C/media/test.txt
new file mode 100644
index 000000000..ce0136250
--- /dev/null
+++ b/meson/test cases/frameworks/13 yelp/help/C/media/test.txt
@@ -0,0 +1 @@
+hello
diff --git a/meson/test cases/frameworks/13 yelp/help/LINGUAS b/meson/test cases/frameworks/13 yelp/help/LINGUAS
new file mode 100644
index 000000000..173f97890
--- /dev/null
+++ b/meson/test cases/frameworks/13 yelp/help/LINGUAS
@@ -0,0 +1,2 @@
+de
+es
diff --git a/meson/test cases/frameworks/13 yelp/help/de/de.po b/meson/test cases/frameworks/13 yelp/help/de/de.po
new file mode 100644
index 000000000..a54ce7fda
--- /dev/null
+++ b/meson/test cases/frameworks/13 yelp/help/de/de.po
@@ -0,0 +1,13 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: meson master\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. (itstool) path: page/title
+#: C/index.page:5
+msgid "Hello!"
+msgstr "Hallo!"
diff --git a/meson/test cases/frameworks/13 yelp/help/es/es.po b/meson/test cases/frameworks/13 yelp/help/es/es.po
new file mode 100644
index 000000000..b69ce7fc3
--- /dev/null
+++ b/meson/test cases/frameworks/13 yelp/help/es/es.po
@@ -0,0 +1,13 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: meson master\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. (itstool) path: page/title
+#: C/index.page:5
+msgid "Hello!"
+msgstr "¡Hola!"
diff --git a/meson/test cases/frameworks/13 yelp/help/es/media/test.txt b/meson/test cases/frameworks/13 yelp/help/es/media/test.txt
new file mode 100644
index 000000000..3453b0015
--- /dev/null
+++ b/meson/test cases/frameworks/13 yelp/help/es/media/test.txt
@@ -0,0 +1 @@
+Hola.
diff --git a/meson/test cases/frameworks/13 yelp/help/meson.build b/meson/test cases/frameworks/13 yelp/help/meson.build
new file mode 100644
index 000000000..c8edd61ba
--- /dev/null
+++ b/meson/test cases/frameworks/13 yelp/help/meson.build
@@ -0,0 +1,21 @@
+gnome = import('gnome')
+
+gnome.yelp('meson',
+ sources: 'index.page',
+ media: 'media/test.txt',
+ symlink_media: false,
+ languages: ['de', 'es'],
+)
+
+gnome.yelp('meson-symlink',
+ sources: 'index.page',
+ media: 'media/test.txt',
+ symlink_media: true,
+ languages: ['de', 'es'],
+)
+
+gnome.yelp('meson-linguas',
+ sources: 'index.page',
+ media: 'media/test.txt',
+ symlink_media: false,
+)