Author: jleroux
Date: Thu Apr 23 08:18:48 2009
New Revision: 767845
URL:
http://svn.apache.org/viewvc?rev=767845&view=revLog:
Some French Labels + a change Andrew suggested for CommonEmptyHeader. I commit it since it fix the problem at hand (" " codes floating all over the place)
But this is not as simple as the original issue is due to Labels Manager.
If you put a sole space (ie > < ) for CommonEmptyHeader, then if you do some modifications with Labels Manager in this file and then save the file you will get
<property key="CommonEmptyHeader">
<value xml:lang="en"/>
</property>
In order to cope with this I tried to write directly at SaveLabelsToXmlFile.saveLabelsToXmlFile[93] the String " " which should be ok. But I guess I would have to change the format passed to UtilXml.writeXmlDocument some lines below since else it write "&#160;" and not " " as intended. Not sure it's possible though. And I have no time to look at it right now.
And we will have to deal with that in a complete way since else we will find an even worst trouble later (as soon someone will use Labels Manager to save changes in this file)
Modified:
ofbiz/trunk/framework/common/config/CommonUiLabels.xml
Modified: ofbiz/trunk/framework/common/config/CommonUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/config/CommonUiLabels.xml?rev=767845&r1=767844&r2=767845&view=diff==============================================================================
--- ofbiz/trunk/framework/common/config/CommonUiLabels.xml (original)
+++ ofbiz/trunk/framework/common/config/CommonUiLabels.xml Thu Apr 23 08:18:48 2009
@@ -1997,7 +1997,7 @@
<value xml:lang="zh_CN">çµåé®ä»¶</value>
</property>
<property key="CommonEmptyHeader">
- <value xml:lang="en">&#160;</value>
+ <value xml:lang="en"> </value>
</property>
<property key="CommonEnabled">
<value xml:lang="ar">شغاÙ</value>
@@ -8035,6 +8035,7 @@
<property key="FormFieldTitle_rejectButton">
<value xml:lang="ar">إضاÙØ©</value>
<value xml:lang="en">Reject</value>
+ <value xml:lang="fr">Rejeter</value>
</property>
<property key="FormFieldTitle_removeButton">
<value xml:lang="ar">Ùزع</value>
@@ -8052,6 +8053,7 @@
</property>
<property key="FormFieldTitle_saveButton">
<value xml:lang="en">Save</value>
+ <value xml:lang="fr">Conserver</value>
</property>
<property key="FormFieldTitle_searchButton">
<value xml:lang="ar">اÙبØØ«</value>