svn commit: r1763701 - /ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1763701 - /ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java

jleroux@apache.org
Author: jleroux
Date: Fri Oct  7 08:57:47 2016
New Revision: 1763701

URL: http://svn.apache.org/viewvc?rev=1763701&view=rev
Log:
Fixed: The entity description labels are considered not used by the Label Manager
(OFBIZ-8154)

More used or useful labels

Modified:
    ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java

Modified: ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java?rev=1763701&r1=1763700&r2=1763701&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java (original)
+++ ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java Fri Oct  7 08:57:47 2016
@@ -141,7 +141,15 @@ public class LabelManagerFactory {
                                     || labelKey.contains(".portalPageName.")
                                     || labelKey.contains("ProductStoreGroup.productStoreGroupName.NA")
                                     || labelKey.contains("buildEbayConfig.")
+                                    || labelKey.contains("week.")
+                                    || labelKey.contains("second.")
+                                    || labelKey.contains("hour.")
+                                    || labelKey.contains("millisecond.")
+                                    || labelKey.contains("service.")
+                                    || labelKey.contains("check.")
                                     || (labelKey.length() == 2) // These are languages Ids
+                                    || labelKey.contains("pt_") // These are languages Ids
+                                    || labelKey.contains("en_") // These are languages Ids
                                     )) {
                         continue; // OFBIZ-8154 WIP
                     }