[glom] Examples: Remove multiple trans_set nodes.



commit 80dea69be070e283807e4dd85fd2d88a562fe38a
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Jan 25 21:48:18 2012 +0100

    Examples: Remove multiple trans_set nodes.
    
    	* examples/example_film_manager.glom:
    	* examples/example_lesson_planner.glom:
    	* examples/example_music_collection.glom:
    	* examples/example_project_manager.glom:
    	* examples/example_smallbusiness.glom:

 ChangeLog                              |   10 ++++++++++
 examples/example_film_manager.glom     |    5 +----
 examples/example_lesson_planner.glom   |    9 +--------
 examples/example_music_collection.glom |    9 +--------
 examples/example_project_manager.glom  |    9 +--------
 examples/example_smallbusiness.glom    |   11 ++---------
 6 files changed, 16 insertions(+), 37 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 22a1abe..dd10317 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-01-25  Murray Cumming  <murrayc murrayc com>
+
+	Examples: Remove multiple trans_set nodes.
+
+	* examples/example_film_manager.glom:
+	* examples/example_lesson_planner.glom:
+	* examples/example_music_collection.glom:
+	* examples/example_project_manager.glom:
+	* examples/example_smallbusiness.glom:
+
 1.21.5:
 
 2012-01-25  Murray Cumming  <murrayc murrayc com>
diff --git a/examples/example_film_manager.glom b/examples/example_film_manager.glom
index 4b645cd..77bd709 100644
--- a/examples/example_film_manager.glom
+++ b/examples/example_film_manager.glom
@@ -1,13 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <glom_document xmlns="http://glom.org/glom_document"; database_title="Openismus Film Manager" is_example="true" translation_original_locale="en" format_version="8" title="Openismus Film Manager">
-  <connection server="localhost" user="" database="glom_film_production_manager" self_hosted="true" port="5435" try_other_ports="false" hosting_mode="postgres_self"/>
-  <trans_set>
-    <trans loc="es" val="Gestor de pelÃculas Openismus"/>
-  </trans_set>
   <trans_set>
     <trans loc="es" val="Gestor de pelÃculas Openismus"/>
     <trans loc="sl" val="Upravljalnik filmov Openismus"/>
   </trans_set>
+  <connection server="localhost" user="" database="glom_film_production_manager" self_hosted="true" port="5435" try_other_ports="false" hosting_mode="postgres_self"/>
   <table name="accommodation" title="Accommodation">
     <example_rows/>
     <trans_set>
diff --git a/examples/example_lesson_planner.glom b/examples/example_lesson_planner.glom
index 9e03eb8..6b270b3 100644
--- a/examples/example_lesson_planner.glom
+++ b/examples/example_lesson_planner.glom
@@ -1,17 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <glom_document xmlns="http://glom.org/glom_document"; database_title="Lesson Planner" is_example="true" translation_original_locale="en" format_version="8" title="Lesson Planner">
-  <connection server="localhost" user="" database="glom_example_lessonplanner_v2" self_hosted="true" port="5433" try_other_ports="false" hosting_mode="postgres_self"/>
-  <trans_set>
-    <trans loc="es" val="Planificador de lecciones"/>
-  </trans_set>
-  <trans_set>
-    <trans loc="es" val="Planificador de lecciones"/>
-    <trans loc="sl" val="Planer pouka"/>
-  </trans_set>
   <trans_set>
     <trans loc="es" val="Planificador de lecciones"/>
     <trans loc="sl" val="Planer pouka"/>
   </trans_set>
+  <connection server="localhost" user="" database="glom_example_lessonplanner_v2" self_hosted="true" port="5433" try_other_ports="false" hosting_mode="postgres_self"/>
   <table name="invoice_lines" hidden="true">
     <example_rows>
       <example_row>
diff --git a/examples/example_music_collection.glom b/examples/example_music_collection.glom
index 3bcc8c4..856ff5b 100644
--- a/examples/example_music_collection.glom
+++ b/examples/example_music_collection.glom
@@ -1,17 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <glom_document xmlns="http://glom.org/glom_document"; translation_original_locale="en" database_title="Music Collection" is_example="true" format_version="8" title="Music Collection">
-  <connection server="localhost" database="glom_musiccollection211" port="5433" self_hosted="true" try_other_ports="false" hosting_mode="postgres_self"/>
-  <trans_set>
-    <trans loc="es" val="ColecciÃn de mÃsica"/>
-  </trans_set>
-  <trans_set>
-    <trans loc="es" val="ColecciÃn de mÃsica"/>
-    <trans loc="sl" val="Zbirka glasbe"/>
-  </trans_set>
   <trans_set>
     <trans loc="es" val="ColecciÃn de mÃsica"/>
     <trans loc="sl" val="Zbirka glasbe"/>
   </trans_set>
+  <connection server="localhost" database="glom_musiccollection211" port="5433" self_hosted="true" try_other_ports="false" hosting_mode="postgres_self"/>
   <table name="albums" overview_x="15" overview_y="9" title="Albums">
     <example_rows>
       <example_row>
diff --git a/examples/example_project_manager.glom b/examples/example_project_manager.glom
index df9b9c2..45477ac 100644
--- a/examples/example_project_manager.glom
+++ b/examples/example_project_manager.glom
@@ -1,17 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <glom_document xmlns="http://glom.org/glom_document"; database_title="Project Manager Example" is_example="true" translation_original_locale="en" format_version="8" title="Project Manager Example">
-  <connection server="localhost" user="" database="glom_example_project_manager_v3" self_hosted="true" port="5433" try_other_ports="false" hosting_mode="postgres_self"/>
-  <trans_set>
-    <trans loc="es" val="Ejemplo de gestor de proyectos"/>
-  </trans_set>
-  <trans_set>
-    <trans loc="es" val="Ejemplo de gestor de proyectos"/>
-    <trans loc="sl" val="Primer zbirke upravljalnika projektov"/>
-  </trans_set>
   <trans_set>
     <trans loc="es" val="Ejemplo de gestor de proyectos"/>
     <trans loc="sl" val="Primer zbirke upravljalnika projektov"/>
   </trans_set>
+  <connection server="localhost" user="" database="glom_example_project_manager_v3" self_hosted="true" port="5433" try_other_ports="false" hosting_mode="postgres_self"/>
   <table name="contacts" title="Contacts">
     <example_rows>
       <example_row>
diff --git a/examples/example_smallbusiness.glom b/examples/example_smallbusiness.glom
index b359698..09c5888 100644
--- a/examples/example_smallbusiness.glom
+++ b/examples/example_smallbusiness.glom
@@ -1,18 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <glom_document xmlns="http://glom.org/glom_document"; database_title="Small Business Example" is_example="true" translation_original_locale="en" format_version="8" title="Small Business Example">
-  <connection server="localhost" user="" database="glom_example_smallbusiness_v2" self_hosted="true" port="5433" try_other_ports="false" hosting_mode="postgres_self"/>
-  <startup_script/>
-  <trans_set>
-    <trans loc="es" val="Ejemplo de negocio pequeÃo"/>
-  </trans_set>
-  <trans_set>
-    <trans loc="es" val="Ejemplo de negocio pequeÃo"/>
-    <trans loc="sl" val="Primer zbirke za mala podjetja."/>
-  </trans_set>
   <trans_set>
     <trans loc="es" val="Ejemplo de negocio pequeÃo"/>
     <trans loc="sl" val="Primer zbirke za mala podjetja."/>
   </trans_set>
+  <connection server="localhost" user="" database="glom_example_smallbusiness_v2" self_hosted="true" port="5433" try_other_ports="false" hosting_mode="postgres_self"/>
+  <startup_script/>
   <table name="contacts" default="true" title="Contacts">
     <example_rows>
       <example_row>



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