[swell-foop] Updated build to work with mallard help. * use all lowercase help file naming * updated meson to inc



commit 114d4fe44a30d657a31cf01246a01f6efaf8e84a
Author: Robert Roth <robert roth bee-tf ro>
Date:   Mon Jul 6 09:54:44 2020 +0300

    Updated build to work with mallard help.
    * use all lowercase help file naming
    * updated meson to include the mallard help files and media
    * removed languages from LINGUAS as the translations will need to be redone
    * updated preferences page according to the new UI, no preferences window

 help/C/index.page                               |  2 +-
 help/C/{Introduction.page => introduction.page} |  0
 help/C/keyboard-shortcut.page                   | 38 -------------------------
 help/C/preferences.page                         | 22 +++++++-------
 help/C/topic.dat                                |  3 --
 help/LINGUAS                                    | 22 --------------
 help/meson.build                                | 18 +++++++-----
 7 files changed, 22 insertions(+), 83 deletions(-)
---
diff --git a/help/C/index.page b/help/C/index.page
index 4d950fa..108207a 100644
--- a/help/C/index.page
+++ b/help/C/index.page
@@ -33,7 +33,7 @@
   </section>
 
   <section id="advanced-settings" style="2column">
-    <title>Advance settings</title>
+    <title>Advanced settings</title>
   </section>
 
   <section id="tip" style="2column">
diff --git a/help/C/Introduction.page b/help/C/introduction.page
similarity index 100%
rename from help/C/Introduction.page
rename to help/C/introduction.page
diff --git a/help/C/preferences.page b/help/C/preferences.page
index e44cb02..9a8adeb 100644
--- a/help/C/preferences.page
+++ b/help/C/preferences.page
@@ -20,25 +20,24 @@
 
   <title>Game settings</title>
 
-  <p>You can change the game look according to your preference.</p>
+  <p>You can change the game look according to your preferences.</p>
 
   <section id="board-size">
-  <title>Change the size</title>
+  <title>Change the board size</title>
   <p>You can set the size of the board according to your preference:</p>
   <steps>
     <item><p>Select <guiseq><gui style="menu">Swell Foop</gui>
-    <gui style="menuitem">Preferences</gui></guiseq>.</p></item>
-    <item><p>The default board size is <gui>Small</gui>. You can change it from
-    <gui>Board size</gui> under <gui>Setup</gui>.</p></item>
+    <gui style="menuitem">Setup</gui></guiseq>.</p></item>
+    <item><p>The default board size is <gui>Small (6 x 5)</gui>.</p></item>
   </steps>
   </section>
 
   <section id="colors">
-  <title>Change the number of objects</title>
+  <title>Change the number of colors</title>
   <p>You can increase the number of different objects in the game.</p>
   <steps>
     <item><p>Select <guiseq><gui style="menu">Swell Foop</gui>
-    <gui style="menuitem">Preferences</gui></guiseq>.</p></item>
+    <gui style="menuitem">Setup</gui></guiseq>.</p></item>
     <item><p>The default number of colors is 3, you can increase or decrease
     it from <gui>Number of colors</gui> under <gui>Setup</gui>. The maximum
     number of colors allowed are 4.</p></item>
@@ -50,9 +49,8 @@
   <p>To change the appearance of the objects:</p>
   <steps>
     <item><p>Select <guiseq><gui style="menu">Swell Foop</gui>
-    <gui style="menuitem">Preferences</gui></guiseq>.</p></item>
-    <item><p>The default theme is <gui>Shapes and Colors</gui>. You can select
-    another theme from <gui>Theme</gui> under <gui>Appearance</gui>.</p></item>
+    <gui style="menuitem">Appearance</gui></guiseq>.</p></item>
+    <item><p>The default theme is <gui>Shapes and Colors</gui>.</p></item>
   </steps>
   </section>
 
@@ -63,9 +61,9 @@
   the game play at the expense of animation quality.</p>
   <steps>
     <item><p>Select <guiseq><gui style="menu">Swell Foop</gui>
-    <gui style="menuitem">Preferences</gui></guiseq>.</p></item>
+    <gui style="menuitem">Appearance</gui></guiseq>.</p></item>
     <item><p>To speed up the game, check the <gui style="checkbox">Zealous
-    Animation</gui> under <gui>Operation</gui>.</p></item>
+    Animation</gui> checkbox.</p></item>
   </steps>
   </section>
 </page>
diff --git a/help/LINGUAS b/help/LINGUAS
index bf1b05d..d2b08cb 100644
--- a/help/LINGUAS
+++ b/help/LINGUAS
@@ -1,23 +1 @@
 # please keep this list sorted alphabetically
-ca
-cs
-da
-de
-el
-en_GB
-es
-eu
-fr
-hu
-id
-it
-oc
-pl
-pt_BR
-ru
-sl
-sr
-sr@latin
-sv
-uk
-zh_CN
diff --git a/help/meson.build b/help/meson.build
index 1bfd161..db2cd75 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -1,17 +1,21 @@
 help_pages = [
   'legal.xml',
-  'index.docbook',
+  'index.page',
+  'introduction.page',
+  'playing-game.page',
+  'preferences.page',
+  'score.page',
+  'start.page',
+  'strategy.page',
 ]
 
 help_media = [
-  'figures/play1.png',
-  'figures/play2.png',
-  'figures/play3.png',
-  'figures/play4.png',
-  'figures/start-up.png',
+  'figures/logo.png',
+  'figures/start-game.png',
 ]
 
 gnome.yelp(meson.project_name(),
   sources: help_pages,
-  media: help_media
+  media: help_media,
+  symlink_media: true
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]