[gnome-mahjongg] Mark most images/videos as not translatable, as they contain no translatable strings.



commit 5e9b9214c29feec3e251fe579921a563c2a3c82d
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Fri Feb 28 05:36:07 2014 +0100

    Mark most images/videos as not translatable, as they contain no translatable strings.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725368

 help/C/gameplay.page |    5 +++--
 help/C/hints.page    |    5 +++--
 help/C/map.page      |   40 ++++++++++++++++++++--------------------
 3 files changed, 26 insertions(+), 24 deletions(-)
---
diff --git a/help/C/gameplay.page b/help/C/gameplay.page
index 9568f92..594f12e 100644
--- a/help/C/gameplay.page
+++ b/help/C/gameplay.page
@@ -1,4 +1,5 @@
 <page xmlns="http://projectmallard.org/1.0/";
+  xmlns:its="http://www.w3.org/2005/11/its";
   type="topic"
   id="gameplay">
 
@@ -49,8 +50,8 @@
   <section id="usage-video">
   <title>Video demonstration</title>
 
-  <media type="video" mime="application/ogg"
-  src="figures/mahjongg-video.ogv"><p>Video of gameplay</p></media>
+  <media its:translate="no" type="video" mime="application/ogg"
+  src="figures/mahjongg-video.ogv"><p its:translate="yes">Video of gameplay</p></media>
 
   </section>
 </page>
diff --git a/help/C/hints.page b/help/C/hints.page
index 42459b8..0c8c5a5 100644
--- a/help/C/hints.page
+++ b/help/C/hints.page
@@ -1,4 +1,5 @@
 <page xmlns="http://projectmallard.org/1.0/";
+  xmlns:its="http://www.w3.org/2005/11/its";
   type="topic"
   id="hints">
 
@@ -45,8 +46,8 @@
 
   <section id="hints-video">
     <title>Video demonstration</title>
-    <media type="video" width="500" mime="application/ogg" src="figures/hints-video.ogv">
-    <tt:tt xmlns:tt="http://www.w3.org/ns/ttml";>
+    <media its:translate="no" type="video" width="500" mime="application/ogg" src="figures/hints-video.ogv">
+    <tt:tt its:translate="yes" xmlns:tt="http://www.w3.org/ns/ttml";>
      <tt:body>
       <tt:div begin="1s" end="5s">
        <tt:p>
diff --git a/help/C/map.page b/help/C/map.page
index 1ff9602..bd7f9fe 100644
--- a/help/C/map.page
+++ b/help/C/map.page
@@ -37,23 +37,23 @@
 <table>
  <tr>
    <td>
-  <media type="image" src="figures/layout-easy.png" width="200">
-    <p>easy image</p>
+  <media its:translate="no" type="image" src="figures/layout-easy.png" width="200">
+    <p its:translate="yes">easy image</p>
   </media>
    </td>
    <td>
-  <media type="image" src="figures/layout-ziggurat.png" width="200">
-    <p>the ziggurat layout image</p>
+  <media its:translate="no" type="image" src="figures/layout-ziggurat.png" width="200">
+    <p its:translate="yes">the ziggurat layout image</p>
   </media>
    </td>
    <td>
-  <media type="image" src="figures/layout-bridges.png" width="200">
-    <p>four bridges layout image</p>
+  <media its:translate="no" type="image" src="figures/layout-bridges.png" width="200">
+    <p its:translate="yes">four bridges layout image</p>
   </media>
     </td>
     <td>
-      <media type="image" src="figures/layout-overpass.png" width="200">
-       <p>overpass layout image</p>
+      <media its:translate="no" type="image" src="figures/layout-overpass.png" width="200">
+       <p its:translate="yes" >overpass layout image</p>
       </media>
     </td>
    </tr>
@@ -68,23 +68,23 @@
 <table>
  <tr>
    <td>
-  <media type="image" src="figures/layout-cloud.png" width="200">
-    <p>cloud layout image</p>
+  <media its:translate="no" type="image" src="figures/layout-cloud.png" width="200">
+    <p its:translate="yes">cloud layout image</p>
   </media>
    </td>
    <td>
-  <media type="image" src="figures/layout-tic-tac-toe.png" width="200">
-    <p>tic tac toe layout image</p>
+  <media its:translate="no" type="image" src="figures/layout-tic-tac-toe.png" width="200">
+    <p its:translate="yes">tic tac toe layout image</p>
   </media>
    </td>
    <td>
-  <media type="image" src="figures/layout-red-dragon.png" width="200">
-    <p>red dragon layout image</p>
+  <media its:translate="no" type="image" src="figures/layout-red-dragon.png" width="200">
+    <p its:translate="yes">red dragon layout image</p>
   </media>
     </td>
     <td>
-  <media type="image" src="figures/layout-pyramid-walls.png" width="200">
-    <p>pyramid walls layout image</p>
+  <media its:translate="no" type="image" src="figures/layout-pyramid-walls.png" width="200">
+    <p its:translate="yes">pyramid walls layout image</p>
   </media>
    </td>
   </tr>
@@ -99,13 +99,13 @@
 <table>
  <tr>
    <td>
-  <media type="image" src="figures/layout-conf-cross.png" width="200">
-    <p>confounding cross layout image</p>
+  <media its:translate="no" type="image" src="figures/layout-conf-cross.png" width="200">
+    <p its:translate="yes">confounding cross layout image</p>
   </media>
    </td>
    <td>
-  <media type="image" src="figures/layout-difficult.png" width="200">
-    <p>difficult layout image</p>
+  <media its:translate="no" type="image" src="figures/layout-difficult.png" width="200">
+    <p its:translate="yes">difficult layout image</p>
   </media>
     </td>
    </tr>


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