svn commit: r454213 - in /incubator/ofbiz/trunk/applications: content/ofbiz-component.xml ecommerce/data/DemoProductCategoriesI18nData.xml ecommerce/ofbiz-component.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r454213 - in /incubator/ofbiz/trunk/applications: content/ofbiz-component.xml ecommerce/data/DemoProductCategoriesI18nData.xml ecommerce/ofbiz-component.xml

jleroux@apache.org
Author: jleroux
Date: Sun Oct  8 14:14:42 2006
New Revision: 454213

URL: http://svn.apache.org/viewvc?view=rev&rev=454213
Log:
This patch definitely corrects the DemoProductCategoriesI18nData.xml loading problems (some data loaded from DemoConfigurator.xml was needed by DemoProductCategoriesI18nData.xml)

To test you only have to suppress demo categories descriptions.

The i10n is only done in italian and french for the moment. BTW, any adding in others languages will be appreciate of course...

In english I have added some "en" at end to differentiate from french and italian (I did not try to translate some words like widgets or gizmos ;o)



Enjoy at last ...

Modified:
    incubator/ofbiz/trunk/applications/content/ofbiz-component.xml
    incubator/ofbiz/trunk/applications/ecommerce/data/DemoProductCategoriesI18nData.xml
    incubator/ofbiz/trunk/applications/ecommerce/ofbiz-component.xml

Modified: incubator/ofbiz/trunk/applications/content/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/ofbiz-component.xml?view=diff&rev=454213&r1=454212&r2=454213
==============================================================================
--- incubator/ofbiz/trunk/applications/content/ofbiz-component.xml (original)
+++ incubator/ofbiz/trunk/applications/content/ofbiz-component.xml Sun Oct  8 14:14:42 2006
@@ -39,7 +39,6 @@
     <entity-resource type="data" reader-name="demo" loader="main" location="data/WebSitePublishPointData.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/CompDocData.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/ForumDemoData.xml"/>
-    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoCategoriesI18nData.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_contenttypes.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_email.xml"/>

Modified: incubator/ofbiz/trunk/applications/ecommerce/data/DemoProductCategoriesI18nData.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/data/DemoProductCategoriesI18nData.xml?view=diff&rev=454213&r1=454212&r2=454213
==============================================================================
--- incubator/ofbiz/trunk/applications/ecommerce/data/DemoProductCategoriesI18nData.xml (original)
+++ incubator/ofbiz/trunk/applications/ecommerce/data/DemoProductCategoriesI18nData.xml Sun Oct  8 14:14:42 2006
@@ -110,7 +110,7 @@
     <DataResource dataResourceId="DR2012DESCIT" dataResourceTypeId="ELECTRONIC_TEXT" localeString="it"/>  
     <DataResource dataResourceId="DR2012DESCEN" dataResourceTypeId="ELECTRONIC_TEXT" localeString="en"/>    
 
-    <ElectronicText dataResourceId="DR2012DESCFR" textData="Autre Mini Widgets"/>
+    <ElectronicText dataResourceId="DR2012DESCFR" textData="Autres Mini Widgets"/>
     <ElectronicText dataResourceId="DR2012DESCIT" textData="Altro Mini Widgets"/>
     <ElectronicText dataResourceId="DR2012DESCEN" textData="Other Mini Widgets"/>    
 

Modified: incubator/ofbiz/trunk/applications/ecommerce/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/ofbiz-component.xml?view=diff&rev=454213&r1=454212&r2=454213
==============================================================================
--- incubator/ofbiz/trunk/applications/ecommerce/ofbiz-component.xml (original)
+++ incubator/ofbiz/trunk/applications/ecommerce/ofbiz-component.xml Sun Oct  8 14:14:42 2006
@@ -24,7 +24,7 @@
     <classpath type="dir" location="config"/>
     <classpath type="dir" location="script"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoMerchant.xml"/>
-    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProduct.xml"/>
+    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProduct.xml"/>    
     <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProductImages.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoSurvey.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoRentalShipping.xml"/>
@@ -44,6 +44,7 @@
     <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoStandardCosting.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoPurchasing.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoStoreGiftCertificateSettings.xml"/>
+    <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProductCategoriesI18nData.xml"/>    
     <webapp name="ecommerce"
         title="ECommerce"
         server="default-server"