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 2014/09/05 12:11:54 UTC

svn commit: r1622672 - in /ofbiz/trunk/applications/product: config/ProductUiLabels.xml widget/catalog/ConfigScreens.xml

Author: jleroux
Date: Fri Sep  5 10:11:54 2014
New Revision: 1622672

URL: http://svn.apache.org/r1622672
Log:
A patch from  Julien NICOLAS for "Wrong label in Product Config Item" https://issues.apache.org/jira/browse/OFBIZ-5753

In the screen Product Config, when you want to add a componant to your config option, the label is wrong because it show : Add Configurations and not Add a component.

Modified:
    ofbiz/trunk/applications/product/config/ProductUiLabels.xml
    ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml

Modified: ofbiz/trunk/applications/product/config/ProductUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/config/ProductUiLabels.xml?rev=1622672&r1=1622671&r2=1622672&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/config/ProductUiLabels.xml (original)
+++ ofbiz/trunk/applications/product/config/ProductUiLabels.xml Fri Sep  5 10:11:54 2014
@@ -26,6 +26,14 @@
         <value xml:lang="vi">Thêm Đặc tính SP gia tăng này</value>
         <value xml:lang="zh">为当前产品添加新的产品特征</value>
     </property>
+    <property key="AddProductComponent">
+        <value xml:lang="en">Add Product Component</value>
+        <value xml:lang="es">Añadir componente</value>
+        <value xml:lang="fr">Ajouter un composant</value>
+        <value xml:lang="it">Aggiungi componente</value>
+        <value xml:lang="pt_BR">Adicionar componente de produto</value>
+        <value xml:lang="ro">Adauga Componente Produs</value>
+    </property>
     <property key="CatalogWebAnalytics">
         <value xml:lang="de">Web Analytik</value>
         <value xml:lang="en">Web Analytics</value>

Modified: ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml?rev=1622672&r1=1622671&r2=1622672&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml Fri Sep  5 10:11:54 2014
@@ -185,8 +185,8 @@ under the License.
                         <not><if-empty field="productId"/></not>
                     </condition>
                     <widgets>
-                        <screenlet title="${uiLabelMap.CommonEdit} ${uiLabelMap.ProductConfigs}">
-                            <link style="buttontext" text="${uiLabelMap.CommonNew} ${uiLabelMap.ProductConfigs}" target="EditProductConfigOptions">
+                        <screenlet title="${uiLabelMap.AddProductComponent}">
+                            <link style="buttontext" text="${uiLabelMap.AddProductComponent}" target="EditProductConfigOptions">
                                 <parameter param-name="configItemId"/>
                                 <parameter param-name="configOptionId"/>
                             </link>
@@ -194,8 +194,8 @@ under the License.
                         </screenlet>
                     </widgets>
                     <fail-widgets>
-                        <screenlet title="${uiLabelMap.CommonAddA} ${uiLabelMap.ProductConfigs}">
-                            <link style="buttontext" text="${uiLabelMap.CommonNew} ${uiLabelMap.ProductConfigs}" target="EditProductConfigOptions">
+                        <screenlet title="${uiLabelMap.AddProductComponent}">
+                            <link style="buttontext" text="${uiLabelMap.AddProductComponent}" target="EditProductConfigOptions">
                                 <parameter param-name="configItemId"/>
                                 <parameter param-name="configOptionId"/>
                             </link>