[gnome-taquin/meson: 4/5] use gettext to translate the files



commit 416dfe37a6fe6eddfbcd5faed65c6ef3629813d5
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sun Jan 20 14:39:08 2019 +0100

    use gettext to translate the files

 data/org.gnome.Taquin.appdata.xml.in | 16 ++++++++--------
 data/org.gnome.Taquin.desktop.in     | 12 ++++++------
 po/POTFILES.in                       | 11 +++++------
 3 files changed, 19 insertions(+), 20 deletions(-)
---
diff --git a/data/org.gnome.Taquin.appdata.xml.in b/data/org.gnome.Taquin.appdata.xml.in
index bb6de94..6f87219 100644
--- a/data/org.gnome.Taquin.appdata.xml.in
+++ b/data/org.gnome.Taquin.appdata.xml.in
@@ -4,21 +4,21 @@
   <id>org.gnome.Taquin</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>GPL-3.0+</project_license>
-  <_name>GNOME Taquin</_name>
-  <_summary>Slide tiles to their correct places</_summary>
+  <name>GNOME Taquin</name>
+  <summary>Slide tiles to their correct places</summary>
   <description>
-    <_p>
+    <p>
       Taquin is a computer version of the 15-puzzle and other sliding puzzles.
-    </_p>
-    <_p>
+    </p>
+    <p>
       The object of Taquin is to move tiles so that they reach their places,
       either indicated with numbers, or with parts of a great image.
-    </_p>
+    </p>
   </description>
   <screenshots>
     <screenshot height="455" width="700" type="default">
       <image>https://gitlab.gnome.org/GNOME/gnome-taquin/raw/master/data/appdata-screenshot.png</image>
-      <_caption>A GNOME taquin game preview</_caption>
+      <caption>A GNOME taquin game preview</caption>
     </screenshot>
   </screenshots>
   <launchable type="desktop-id">org.gnome.Taquin.desktop</launchable>
@@ -34,7 +34,7 @@
     <kudo>UserDocs</kudo>
   </kudos>
   <translation type="gettext">gnome-taquin</translation>
-  <_developer_name>The GNOME Project</_developer_name>
+  <developer_name>The GNOME Project</developer_name>
   <content_rating type="oars-1.0">
     <content_attribute id="violence-cartoon">none</content_attribute>
     <content_attribute id="violence-fantasy">none</content_attribute>
diff --git a/data/org.gnome.Taquin.desktop.in b/data/org.gnome.Taquin.desktop.in
index 33c724b..b6bdcfe 100644
--- a/data/org.gnome.Taquin.desktop.in
+++ b/data/org.gnome.Taquin.desktop.in
@@ -1,13 +1,13 @@
 [Desktop Entry]
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
 Icon=org.gnome.Taquin
-_Name=Taquin
+Name=Taquin
 # Translators: a GenericName that gives the application goal, as defined in the desktop file spec
-_GenericName=15-puzzle
+GenericName=15-puzzle
 # Translators: a Comment that gives the application function, as defined in the desktop file spec
-_Comment=Slide tiles to their correct places
+Comment=Slide tiles to their correct places
 # Translators: some search Keywords to find this application, as defined in the desktop file spec. Do NOT 
translate or localize the semicolons! The list MUST also end with a semicolon!
-_Keywords=puzzle;
+Keywords=puzzle;
 Exec=gnome-taquin
 Terminal=false
 Type=Application
@@ -17,10 +17,10 @@ Actions=Fifteen;Sixteen;
 
 [Desktop Action Fifteen]
 # Translators: an action Name, as defined in the desktop file spec; name of the traditional Taquin game
-_Name=15-Puzzle
+Name=15-Puzzle
 Exec=gnome-taquin --fifteen
 
 [Desktop Action Sixteen]
 # Translators: an action Name, as defined in the desktop file spec; name of the alternative game
-_Name=16-Puzzle
+Name=16-Puzzle
 Exec=gnome-taquin --sixteen
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 19a2c46..f8bc6df 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,11 +1,10 @@
 # List of source files containing translatable strings.
 # Please keep this file in alphabetical order.
-[encoding: UTF-8]
-[type: gettext/glade]data/taquin-screens.ui
-[type: gettext/glade]data/taquin.ui
-data/org.gnome.taquin.appdata.xml.in
-data/org.gnome.taquin.desktop.in
-data/org.gnome.taquin.gschema.xml
+data/org.gnome.Taquin.appdata.xml.in
+data/org.gnome.Taquin.desktop.in
+data/org.gnome.Taquin.gschema.xml
+data/taquin-screens.ui
+data/taquin.ui
 src/game-window.vala
 src/taquin-main.vala
 src/taquin-game.vala


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