[glom] Film Manager example: Use English for Day/Night choices.



commit 511049e1234086e3eb9f6f90ea179615d3053b1f
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Dec 16 12:00:43 2011 +0100

    Film Manager example: Use English for Day/Night choices.
    
    	* examples/example_film_manager.glom: Use English for the custom choice
    	values. We need to allow these to be translated. See bug #666343

 ChangeLog                          |    7 ++++++
 examples/example_film_manager.glom |   42 ++++++++++++++++++------------------
 2 files changed, 28 insertions(+), 21 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d49c9e3..0a3fa88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-12-16  Murray Cumming  <murrayc murrayc com>
+
+	Film Manager example: Use English for Day/Night choices.
+
+	* examples/example_film_manager.glom: Use English for the custom choice 
+	values. We need to allow these to be translated. See bug #666343
+
 2011-12-14  Murray Cumming  <murrayc murrayc com>
 
 	Document: Added get_translation_available_locales().
diff --git a/examples/example_film_manager.glom b/examples/example_film_manager.glom
index f06b59a..438013b 100644
--- a/examples/example_film_manager.glom
+++ b/examples/example_film_manager.glom
@@ -3746,21 +3746,6 @@ Orientation=portrait
   <table name="scenes" default="true" title="Scenes">
     <example_rows>
       <example_row>
-        <value column="scene_id">1</value>
-        <value column="comments"/>
-        <value column="description"/>
-        <value column="location_id">1</value>
-        <value column="date">2009-12-11</value>
-        <value column="time"/>
-        <value column="minutes"/>
-        <value column="day_or_night">Nacht</value>
-        <value column="interior_or_exterior">Interior</value>
-        <value column="name"/>
-        <value column="overview_name">Tavern</value>
-        <value column="pages">3</value>
-        <value column="script_day"/>
-      </example_row>
-      <example_row>
         <value column="scene_id">0</value>
         <value column="comments"/>
         <value column="description"/>
@@ -3768,13 +3753,28 @@ Orientation=portrait
         <value column="date">2009-12-10</value>
         <value column="time"/>
         <value column="minutes">3</value>
-        <value column="day_or_night">Tag</value>
+        <value column="day_or_night">Day</value>
         <value column="interior_or_exterior">Exterior</value>
         <value column="name">Mexican Standoff</value>
         <value column="overview_name">Mexican Standoff</value>
         <value column="pages">4</value>
         <value column="script_day">21</value>
       </example_row>
+      <example_row>
+        <value column="scene_id">1</value>
+        <value column="comments"/>
+        <value column="description"/>
+        <value column="location_id">1</value>
+        <value column="date">2009-12-11</value>
+        <value column="time"/>
+        <value column="minutes"/>
+        <value column="day_or_night">Night</value>
+        <value column="interior_or_exterior">Interior</value>
+        <value column="name"/>
+        <value column="overview_name">Tavern</value>
+        <value column="pages">3</value>
+        <value column="script_day"/>
+      </example_row>
     </example_rows>
     <trans_set>
       <trans loc="de_DE" val="Szenen"/>
@@ -3834,11 +3834,11 @@ Orientation=portrait
       <field name="day_or_night" type="Text" title="Day/Night">
         <formatting choices_custom="true">
           <custom_choice_list>
-            <custom_choice value="Nacht"/>
-            <custom_choice value="Tag"/>
-            <custom_choice value="Morgens"/>
-            <custom_choice value="Abends"/>
-            <custom_choice value="Daemmerung"/>
+            <custom_choice value="Day"/>
+            <custom_choice value="Night"/>
+            <custom_choice value="Morning"/>
+            <custom_choice value="Evening"/>
+            <custom_choice value="Dawn"/>
           </custom_choice_list>
         </formatting>
         <trans_set>



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