You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/04/23 10:18:49 UTC

svn commit: r767845 - /ofbiz/trunk/framework/common/config/CommonUiLabels.xml

Author: jleroux
Date: Thu Apr 23 08:18:48 2009
New Revision: 767845

URL: http://svn.apache.org/viewvc?rev=767845&view=rev
Log:
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 "&#160;" 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 "&amp;#160;" and not "&#160;" 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">&amp;#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>