Author: mrisaliti
Date: Sun Dec 19 13:50:59 2010
New Revision: 1050851

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

Modified:
    ofbiz/trunk/applications/manufacturing/config/ManufacturingUiLabels.xml
    
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml

Modified: 
ofbiz/trunk/applications/manufacturing/config/ManufacturingUiLabels.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/config/ManufacturingUiLabels.xml?rev=1050851&r1=1050850&r2=1050851&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/config/ManufacturingUiLabels.xml 
(original)
+++ ofbiz/trunk/applications/manufacturing/config/ManufacturingUiLabels.xml Sun 
Dec 19 13:50:59 2010
@@ -2249,15 +2249,15 @@
         <value xml:lang="zh_TW">材料</value>
     </property>
     <property key="ManufacturingMaterialsNotAvailable">
-        <value xml:lang="de">Materialien nicht im Lager vorhanden</value>
-        <value xml:lang="en">Materials Not Available in Warehouse</value>
-        <value xml:lang="es">Materiales no disponibles en almacén</value>
-        <value xml:lang="fr">Matériaux non disponibles dans 
l'entrepôt</value>
-        <value xml:lang="it">Materiali Non Disponibili a Magazzino</value>
-        <value xml:lang="pt_BR">Materiais não disponíveis no armazém</value>
-        <value 
xml:lang="th">ไม่มีข้อมูลในคลังสินค้า</value>
-        <value xml:lang="zh">材料在库房中不可用</value>
-        <value xml:lang="zh_TW">材料在庫房中不可用</value>
+        <value xml:lang="de">Materialien nicht im Lager vorhanden 
${productId}: ${parameters.quantityNotIssued}</value>
+        <value xml:lang="en">Materials Not Available in Warehouse 
${productId}: ${parameters.quantityNotIssued}</value>
+        <value xml:lang="es">Materiales no disponibles en almacén 
${productId}: ${parameters.quantityNotIssued}</value>
+        <value xml:lang="fr">Matériaux non disponibles dans l'entrepôt 
${productId}: ${parameters.quantityNotIssued}</value>
+        <value xml:lang="it">Materiali non disponibili a magazzino 
${productId}: ${parameters.quantityNotIssued}</value>
+        <value xml:lang="pt_BR">Materiais não disponíveis no armazém 
${productId}: ${parameters.quantityNotIssued}</value>
+        <value 
xml:lang="th">ไม่มีข้อมูลในคลังสินค้า
 ${productId}: ${parameters.quantityNotIssued}</value>
+        <value xml:lang="zh">材料在库房中不可用 ${productId}: 
${parameters.quantityNotIssued}</value>
+        <value xml:lang="zh_TW">材料在庫房中不可用 ${productId}: 
${parameters.quantityNotIssued}</value>
     </property>
     <property key="ManufacturingMaterialsRequiredByRunningTask">
         <value xml:lang="de">Materialien werden für aktuellen Arbeitsgang 
benötigt</value>

Modified: 
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml?rev=1050851&r1=1050850&r2=1050851&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
 (original)
+++ 
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
 Sun Dec 19 13:50:59 2010
@@ -157,8 +157,9 @@ under the License.
                         </or>
                     </condition>
                     <then>
-                        <add-error><fail-property 
property="ManufacturingMaterialsNotAvailable" 
resource="ManufacturingUiLabels"/></add-error>
-                        <add-error><fail-message message=" ${productId}: 
${parameters.quantityNotIssued}"/></add-error>
+                        <add-error>
+                            <fail-property 
property="ManufacturingMaterialsNotAvailable" resource="ManufacturingUiLabels"/>
+                        </add-error>
                     </then>
                 </if>
                 <check-errors/>


Reply via email to