(OFBIZ-7990) Applied patch from jira issue
===================================== Add UI labels for success / error messages in ebay component ===================================== Thanks Tanmay for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759080 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user