You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2010/12/19 14:42:59 UTC

svn commit: r1050850 - in /ofbiz/trunk/applications/humanres: config/HumanResUiLabels.xml script/org/ofbiz/humanres/HumanResServices.xml

Author: mrisaliti
Date: Sun Dec 19 13:42:59 2010
New Revision: 1050850

URL: http://svn.apache.org/viewvc?rev=1050850&view=rev
Log:
Replace some fail-message to fail-property tag in humanres component (OFBIZ-1874)

Modified:
    ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml
    ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml

Modified: ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml?rev=1050850&r1=1050849&r2=1050850&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml (original)
+++ ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml Sun Dec 19 13:42:59 2010
@@ -2006,6 +2006,10 @@
         <value xml:lang="zh">会员技能</value>
         <value xml:lang="zh_TW">會員技能</value>
     </property>
+    <property key="HumanResPartySkillsAlreadyExists">
+        <value xml:lang="en">Record with the selected combination already exists.Please try with Other combination.</value>
+        <value xml:lang="it">Record con la combinazionazione selezionata esiste già.Perfavore provare con altre combinazioni.</value>
+    </property>
     <property key="HumanResPayGrade">
         <value xml:lang="de">Lohnstufen</value>
         <value xml:lang="en">Pay Grades</value>

Modified: ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml?rev=1050850&r1=1050849&r2=1050850&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml (original)
+++ ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml Sun Dec 19 13:42:59 2010
@@ -81,7 +81,7 @@
             </condition>
             <then>
                  <add-error>
-                    <fail-message message="Record with the selected combination already exists.Please try with Other combination."/>
+                    <fail-property resource="HumanResUiLabels" property="HumanResPartySkillsAlreadyExists"/>
                  </add-error>
                  <check-errors/>
             </then>