Author: deepak
Date: Sat Sep 3 12:11:21 2016
New Revision: 1759080
URL: http://svn.apache.org/viewvc?rev=1759080&view=rev
Log:
(OFBIZ-7990) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in ebay component
=====================================
Thanks Tanmay for your contribution.
Modified:
ofbiz/trunk/specialpurpose/ebay/config/EbayUiLabels.xml
ofbiz/trunk/specialpurpose/ebay/src/main/java/org/apache/ofbiz/ebay/EbayOrderServices.java
Modified: ofbiz/trunk/specialpurpose/ebay/config/EbayUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/config/EbayUiLabels.xml?rev=1759080&r1=1759079&r2=1759080&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/config/EbayUiLabels.xml (original)
+++ ofbiz/trunk/specialpurpose/ebay/config/EbayUiLabels.xml Sat Sep 3 12:11:21
2016
@@ -70,6 +70,9 @@
<value xml:lang="zh">eBayé
ç½®</value>
<value xml:lang="zh-TW">eBayé
ç½®</value>
</property>
+ <property
key="EbayConfigurationSettingsAreMissingForConnectingToEbayServer">
+ <value xml:lang="en">Configuration settings are missing for connecting
to eBay server.</value>
+ </property>
<property key="EbayEbayOrderIdOrTransactionId">
<value xml:lang="en">OrderID / TransactionID</value>
<value xml:lang="it">Numero Ordine / Numero Transazione</value>
Modified:
ofbiz/trunk/specialpurpose/ebay/src/main/java/org/apache/ofbiz/ebay/EbayOrderServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/src/main/java/org/apache/ofbiz/ebay/EbayOrderServices.java?rev=1759080&r1=1759079&r2=1759080&view=diff
==============================================================================
---
ofbiz/trunk/specialpurpose/ebay/src/main/java/org/apache/ofbiz/ebay/EbayOrderServices.java
(original)
+++
ofbiz/trunk/specialpurpose/ebay/src/main/java/org/apache/ofbiz/ebay/EbayOrderServices.java
Sat Sep 3 12:11:21 2016
@@ -79,7 +79,7 @@ public class EbayOrderServices {
try {
Map<String, Object> eBayConfigResult =
EbayHelper.buildEbayConfig(context, delegator);
if (UtilValidate.isEmpty(eBayConfigResult)) {
- String eBayConfigErrorMsg = "Configuration settings are
missing for connecting to eBay server.";
+ String eBayConfigErrorMsg =
UtilProperties.getMessage(resource,
"EbayConfigurationSettingsAreMissingForConnectingToEbayServer", locale);
return ServiceUtil.returnError(eBayConfigErrorMsg);
}