svn commit: r826304 - /ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java

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

svn commit: r826304 - /ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java

jleroux@apache.org
Author: jleroux
Date: Sat Oct 17 20:35:02 2009
New Revision: 826304

URL: http://svn.apache.org/viewvc?rev=826304&view=rev
Log:
This was working, because of the way logical font names works in Java.
But could lead to ambiguities letting the wrong file name in xpos.properties.
Anyway symmetry is beautiful, in code as in other places.

Modified:
    ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java

Modified: ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java?rev=826304&r1=826303&r2=826304&view=diff
==============================================================================
--- ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java (original)
+++ ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java Sat Oct 17 20:35:02 2009
@@ -158,6 +158,8 @@
             }
             if (suffix.equals("zh")) { // TODO maybe needed for other languages using non Latin alphabet http://en.wikipedia.org/wiki/Alphabet#Types
                 UtilProperties.setPropertyValue(startupProperties, "StyleFile", "posstyles" + suffix + ".xml"); // For the moment only a Chinese StyleFile is provided
+            } else {
+                UtilProperties.setPropertyValue(startupProperties, "StyleFile", "posstyles.xml"); // Languages using Latin alphabet                
             }
             frame.setVisible(true);
             frame.getContentPane().add(this);